Naar de inhoud
OneKitly

The Twelfth Root of Two Is Why a Piano Is Slightly Out of Tune

Gepubliceerd op 3-11-2026 · 3 min leestijd · Dagelijkse calculators

Lena Hoffmann

Lena Hoffmann — Redacteur wetenschap en onderwijs bij OneKitly

Wiskunde · Natuurkunde

Getoetst aan 2 bronnen

Profiel bekijken →
Kort gezegd

An nth root asks what number multiplied by itself n times gives the starting value, and the twelfth root of two is the most consequential one in music: 1.0594631. Multiply a note's frequency by it and you get the next key up; do that twelve times and you have doubled the frequency, which is one octave. The compromise is that seven steps give 1.498307 while a perfect fifth is exactly 1.5, so every fifth on a piano is flat by about two hundredths of a semitone. That tiny error is spread evenly across all twelve keys deliberately, which is what lets an instrument play in every key rather than only a few.

Advertentie

1.0594631 is the ratio between adjacent piano keys. Seven of them give 1.498307, not the 1.5 a perfect fifth wants — a deliberate compromise two cents wide.

The third is the interval that suffers

The fifth is off by a tenth of a per cent and almost nobody hears it. The major third is off by eight tenths of a per cent, seven times worse, and trained ears do hear it — the equal-tempered third beats audibly against a pure one, which is why unaccompanied choirs and string quartets drift towards pure intervals the moment nothing fixed-pitch is holding them in place. Instruments with fixed keys cannot do that, and the tuning they use is the outcome of accepting a persistent small ugliness in exchange for being able to change key without retuning.

Why the calculator says the cube root of 64 is 3.9999999999999996

Because it computes the root as a power — 64 raised to one third — and one third has no exact representation in binary. The tiny shortfall in the exponent produces a tiny shortfall in the answer, and the result is a number that differs from 4 in the sixteenth decimal place. The value is correct to the precision the machine has; it is the display that misleads by showing every digit. Software normally rounds these away, and the calculator's willingness to show the raw figure is a fair reminder that a screenful of decimals is a claim about the arithmetic and not about the world.

Equal temperament
Equal temperament against pure ratios
IntervalEqual temperamentPure ratio
Semitone (1 step)1.059463—
Major third (4 steps)1.2599211.25 (+0.79 %)
Fifth (7 steps)1.4983071.5 (−0.11 %)
Octave (12 steps)2 exactly2 (no error)

Uitgewerkt met onze eigen calculator

N-de-wortelcalculator

Gegeven

Getal
32
Wortel (n)
2

Resultaat

Resultaat
5,657

Deze cijfers komen uit de calculator hieronder, ze zijn niet met de hand ingetypt — ze worden opnieuw berekend telkens als de tool verandert.

Reken het door met je eigen cijfers →
Advertentie

Veelgestelde vragen

Why twelve steps and not some other number?
Because twelve happens to land unusually close to the simple ratios. Dividing an octave into twelve equal steps puts one of them within a tenth of a per cent of a perfect fifth, which no smaller division manages; five and seven steps do noticeably worse; nineteen and thirty-one improve the third but make the fifth worse, and only fifty-three beats twelve on both. Systems with those larger counts exist and have been built as instruments, but they demand keyboards nobody wants to learn. Twelve is the smallest division that is good enough, which is usually how a standard is chosen.
Can an nth root of a negative number be computed?
Only when n is odd. The cube root of −8 is −2, because a negative multiplied by itself three times stays negative; the square root of −8 has no real value, because any real number squared is positive. Calculators handle this inconsistently, and one that computes roots as powers will often refuse odd roots of negatives too, since the power form goes through logarithms that are undefined there. If you need the cube root of a negative, taking the root of the absolute value and restoring the sign afterwards is both correct and the standard workaround.

Artikelen die je misschien interesseren

Alle gidsen →

Vergelijkbare tools

Bronnen

Een fout in dit artikel gezien?