An octave is the one interval nobody argues about. Double the frequency and you have it, 2 to 1, as clean as arithmetic gets. A piano, as far as I can tell, almost never plays one.
The trouble is the wire. A piano string is steel, and steel resists bending. That stiffness pushes each overtone a little sharp of where the arithmetic puts it, and the higher overtones go sharper than the lower ones. A tuner setting an octave listens for the upper note to land on the lower note's second harmonic, which is already slightly high. So the upper note goes up to meet it. The next octave is tuned from that one, and the error doesn't cancel — it accumulates. By the ends of the keyboard the treble sits sharp and the bass flat of the textbook frequencies, by something like a third of a semitone. O. L. Railsback, a physics teacher, measured it across a set of pianos tuned by ear in 1938, and the curve carries his name.
What I like is that the stretch isn't a correction applied to the piano from outside. It comes out of the piano, and it differs by piano. A spinet has to use short, thick strings, which are stiff for their length, so its overtones run sharper and its octaves come out wider than a concert grand's. Two pianos, each tuned as well as it can be, are tuned to two different octaves.
So "in tune", on a piano, isn't agreement with a number. It is agreement with itself — every note set to the voice of the note below it, all the way up. The 2 to 1 octave is real. It just lives in the arithmetic, where nothing has to be made of steel.

