Piano String Inharmonicity
and Stretched Octaves
A piano wire is not perfectly flexible. Its bending stiffness nudges upper partials sharp, changing the way octaves line up.
Inside the piano
Build a string
Measure the hidden stretch
Compare the wire's second partial with a perfectly harmonic octave (2 × the fundamental). Their frequency difference is the beat rate you would hear if the two tones sounded together.
Independent numerical checks
A pass means the two independent calculations agree within the stated numerical tolerance. The strength limit is illustrative, not a certified wire specification.
READ THE MODELThe science
Governing equation
The idealised wire is a uniform, taut Euler–Bernoulli string with small transverse displacement:
Here μ is linear density, T is tension, E is Young's modulus and I = πd⁴/64 is the second moment of area for a round wire.
Mode frequencies
For simply supported ends, the model uses kn = nπ/L and:
with f0 = (2L)⁻¹√(T/μ) and B = π²EI/(TL²). The partials are therefore not exact integer multiples.
Modal weighting
The displayed modal centroid is the squared-amplitude weighted mean, f̄ = Σ(Aₙ² fₙ) / ΣAₙ². It describes this model’s initial modal mixture, not a perceived pitch.
What is simplified
The speaking length is treated as fixed, the wire is uniform and circular, and both ends are ideal supports. Real bridges, agraffes, duplex segments, winding, wire taper, temperature and coupling to the soundboard alter the result.
What is illustrative
Steel density is set to 7,850 kg/m³ (textbook engineering value). The 2.6 GPa tensile limit is an illustrative break-risk threshold only; actual piano wire strength depends on grade, diameter, processing and defects. The break preset flags the threshold but does not solve fracture.
This is an educational ideal-string model. It is not a measurement of a particular piano and is not affiliated with any piano manufacturer.