Learn & Understand

Bach's Well-Tempered Clavier and the Centuries-Long Fight Over Tuning

In a hurry? Skip straight to the numbers.

Open the MIDI Note Frequency Calculator →

This calculator's formula - each semitone a fixed multiple of the twelfth root of 2 away from the last - describes equal temperament, the tuning system underlying essentially all modern Western instruments and every digital synthesizer. It wasn't always the obvious or only choice, and getting the whole music world to agree on both this mathematical system and a specific reference pitch took centuries.

The Problem Equal Temperament Was Designed to Solve

Before equal temperament became dominant, various "just intonation" tuning systems tuned musical intervals based on simple whole-number frequency ratios (like a perfect 3:2 ratio for a fifth), which produces exceptionally pure, resonant-sounding intervals - but only within a single key. Because these simple ratios don't divide evenly and consistently across all twelve possible starting notes, an instrument tuned in just intonation for one key sounds noticeably out of tune when music modulates into a different key, a real practical limitation as musical composition grew more harmonically adventurous.

Equal Temperament's Compromise: Slightly Imperfect Everywhere, Instead of Perfect Somewhere

Equal temperament solves this by dividing the octave into twelve mathematically identical steps - each a fixed ratio of the twelfth root of 2, exactly this calculator's own formula - meaning every interval is slightly "impure" compared to a pure just-intonation ratio, but by exactly the same small amount in every key, allowing instruments to modulate freely between any key without becoming progressively more out of tune in some keys than others. It's a deliberate, mathematically elegant compromise: giving up perfect purity everywhere in exchange for consistent, usable tuning everywhere.

Bach's Well-Tempered Clavier as a Landmark Demonstration

Johann Sebastian Bach's collection of preludes and fugues known as "The Well-Tempered Clavier," composed in the early-to-mid 18th century, is widely understood by music historians as a deliberate demonstration piece, showcasing music written and playable across all major and minor keys on a keyboard instrument tuned using a well-tempered (though not necessarily strictly mathematically equal, by some historical accounts) system - a landmark artistic argument for the practical and creative value of tuning systems that worked reasonably well across every key, rather than being optimized for purity in just one or two.

Tuning system tradeoffs
SystemAdvantageLimitation
Just intonationExceptionally pure, resonant intervals within one keySounds progressively out of tune in other keys
Equal temperament (this calculator's system)Consistent, usable tuning across every key equallyNo interval is perfectly pure in the pure just-intonation sense

Why A440 Itself Needed Separate Standardization

Even after equal temperament's mathematical framework became widely accepted, the actual reference pitch anchoring that framework - what frequency counts as "A" in the first place - varied considerably by region, era, and even individual orchestra for a very long time, with historical concert pitch drifting anywhere from noticeably lower to noticeably higher than today's standard across different times and places. It wasn't until the 20th century that international standards bodies formally adopted 440 Hz as the standard reference for concert pitch A - exactly the anchor point (MIDI note 69) this calculator's own formula is built around - finally giving orchestras, instrument manufacturers, and now digital instruments worldwide a single, agreed-upon reference to tune against.

Applying This to a Calculated MIDI Note Frequency

Every frequency this calculator computes rests on two separate historical resolutions layered together - equal temperament's mathematical compromise, worked out and popularized over centuries partly through pieces like Bach's Well-Tempered Clavier, and the 20th-century international standardization of A440 as the specific reference point that mathematical framework is anchored to.

Ready to Put This Into Practice?

Now that you understand how it works, plug in your own numbers and get an instant, accurate result.

Use the MIDI Note Frequency Calculator Now →