Technically speaking, pianos tuned to coventional 12-tone equal temperament aren’t actually in perfect tune. A new video from MinutePhysics explains the math behind this musical oddity, and why in the case of pianos, close enough is good enough.
For more about imperfect piano tuning, check out this helpful reddit thread and this Wikipedia article about piano key frequencies.