Equal temperament is a tuning system that splits an octave into twelve \((12)\)
"equally spaced out" semitones. The frequency, or pitch, of any tone is thus just as much
higher-
or lower-
sounding than either of its two neighboring semitones as any other tone in the scale would be to
a neighboring tone thereof. In other words, the
proportional distance between any pair of neighboring pitches (such as A4 and
B4) is exactly the same as that of any other pair of pitches (say B3 and
C3).
This measure of pitchwise distance is found by taking the base frequency and multiplying it by the twelfth root of two
\((
\sqrt[12]{2}
)\) to find the pitch of the next higher note in the scale. The advantage of
equal tempered scales is that every scale can be transposed to any other scale without changing
the harmonic proportions of any pair of notes. Equal temperament
thus makes every scale have the same proportional distances between its notes as any other
scale, unlike other
tuning systems such as Pythagorean temperament. This makes key transitions in music less pointed
or pronounced and allows for seamless transposition. This article shows
how to calculate the frequencies of an equal tempered twelve-note scale.
First we must set the frequency for the foundational note in the scale. Let's start with A4, the first A above middle C, and fix its pitch at 440 Hz.
\[ A_4 = 440 \text{ Hz} \]"Hz" is short for "Hertz", and this means that the actual sound wave of A4 goes through one "cycle" (oscillation) 440 times per second. Here "cycle" means that the sound wave starts out at equilibrium, reaches its peak amplitude, goes back down to equilibrium, drops to its trough amplitude, and then goes back up to equilibrium again. That would be one whole "cycle", and at 440 Hz, the tone goes through 440 of those cycles per second. Recall that "amplitude" is how high (and low) the wave drops from its initial starting point (equilibrium), and "frequency" is how rapidly, that is, how many times per second, a sound wave goes through a full up and down cycle (oscillation) per second. Amplitude also tells how loud or soft the pitch is, and frequency tells how high-pitched or low-pitched it is. For example, blowing a high-pitched whistle sounds a tone of both high amplitude and high frequency, whereas striking the lowest key on a piano sounds a tone of both low amplitude and low frequency. Note that amplitude means power, energy, loudness, and that frequency means pitch.
The octave interval is calculated by doubling (or halving) the base pitch frequency.
\[ \begin{aligned} \text{if } A_4 &= 440 \text{ Hz} \\ \\ \text{and } 440 \text{ Hz} \cdot 2 &= 880 \text{ Hz} \\ \\ \text{then } A_5 &= 880 \text{ Hz} \end{aligned} \]Likewise, to find the frequency of A3 (an octave below A4), the frequency of A4 is halved.
\[ \begin{aligned} \text{if } A_4 &= 440 \text{ Hz} \\ \\ \text{and } 440 \text{ Hz} \div 2 &= 220 \text{ Hz} \\ \\ \text{then } A_3 &= 220 \text{ Hz} \end{aligned} \]Let's find out the exact frequencies in Hertz of each of the twelve notes between A4 and A5. We already know that the frequencies of those twelve notes lie between 440 Hz and 880 Hz. For A♯4 and B♭4, the next note above A4, we must multiply the frequency of A4 by the twelfth root of two (\( \sqrt[12]{2} \)). However, it may be easier to think in terms of fractional exponents. The twelfth root of two is the same as two raised to the one-over-twelfth power.
\[ \sqrt[12]{2} = 2^{1/12} \]So the frequency of each note in the scale is simply \( 2^{\frac{1}{12}} \) times higher than the note it comes after.
\[ \begin{aligned} \text{if } A_4 &= 440 \text{ Hz} \\ \\ \text{and } 440 \text{ Hz} \cdot 2^{1/12} &\approx 466.163 \text{ Hz} \\ \\ \text{then } A\sharp_4/B\flat_4 &\approx 466.163 \text{ Hz} \end{aligned} \]The frequency of A♯4/B♭4 is only approximate because the twelfth root of two is irrational. It cannot be written down either as a whole number or as a rational number (one that can be written as a fraction), so multiplying it by any other number also makes for an irrational number.
\[ \sqrt[12]{2} = 2^{1/12} \approx 1.059463094\text{…} \]In reality, the series of digits after the decimal point (known as the mantissa) could go on for ever and ever. Here we approximate the value to three digits of precision, which should be more than enough for most applications.
At this point, we have calculated the frequencies of three out of twelve notes in the scale: A4, A♯4/B♭4, and A5.
\[ \boxed{ \begin{array}{|c|c c|} \hline A_4 & 440\phantom{.000} & \text{Hz} \\ \hline A^\sharp_4 / B^\flat_4 & 466.163 & \text{Hz} \\ \hline A_5 & 880\phantom{.000} & \text{Hz} \\ \hline \end{array} } \]Now it seems there are two ways to calculate the next note. The first way is to change the base frequency to that of A4/B4, which is approximately 466.163, and multiply the same by the twelfth root of two, just like we did with A4. \[ \begin{aligned} \text{if } A^\sharp_4 / B^\flat_4 &\approx 466.163 \text{ Hz} \\ \\ \text{and } 466.163 \text{ Hz} \cdot 2^{1/12} &\approx 494.379 \text{ Hz} \\ \\ \text{then } B_4 &\approx 494.379 \text{ Hz} \end{aligned} \]
However, this way an already rounded number is multiplied by an approximation of the twelfth root of two, another rounded number. So we are dealing with two rounded numbers and losing precision. This loss of precision only accumulates as one goes up the scale, changing the base frequency of the multiplicand to a rounded number for every note. Instead, it is better to keep multiplying the base frequency, 440, (A4) by increasing twelth powers of two. So for the next note at a whole tone interval, the base frequency is multiplied by two to the two-over-twelfth power, and we raise the numerator of the fraction base-two power by one for every additional semitone of separation from the base note.
\[ \begin{aligned} \text{if } A_4 &= 440 \text{ Hz} \\ \\ \text{and } 440 \text{ Hz} \cdot 2^{2/12} &\approx 493.883 \text{ Hz} \\ \\ \text{then } B_4 &\approx 493.883 \text{ Hz} \end{aligned} \]We can keep use the base frequency to calculate the frequency of all the notes in the octave at once.
\[ \boxed{ \begin{array}{|c|r@{}c@{}l c|} \hline A_4 & 440 & \cdot & 2^{0/12} & = 440\phantom{.000}\ \text{Hz} \\ \hline A^\sharp_4 / B^\flat_4 & 440 & \cdot & 2^{1/12} & \approx 466.163\ \text{Hz} \\ \hline B_5 & 440 & \cdot & 2^{2/12} & \approx 493.883\ \text{Hz} \\ \hline C_5 & 440 & \cdot & 2^{3/12} & \approx 523.251\ \text{Hz} \\ \hline C^\sharp_5 / D^\flat_5 & 440 & \cdot & 2^{4/12} & \approx 554.365\ \text{Hz} \\ \hline D_5 & 440 & \cdot & 2^{5/12} & \approx 587.330\ \text{Hz} \\ \hline D^\sharp_5 / E^\flat_5 & 440 & \cdot & 2^{6/12} & \approx 622.254\ \text{Hz} \\ \hline E_5 & 440 & \cdot & 2^{7/12} & \approx 659.255\ \text{Hz} \\ \hline F_5 & 440 & \cdot & 2^{8/12} & \approx 698.456\ \text{Hz} \\ \hline F^\sharp_5 / G^\flat_5 & 440 & \cdot & 2^{9/12} & \approx 739.989\ \text{Hz} \\ \hline G_5 & 440 & \cdot & 2^{10/12} & \approx 783.991\ \text{Hz} \\ \hline G^\sharp_5 / A^\flat_5 & 440 & \cdot & 2^{11/12} & \approx 830.609\ \text{Hz} \\ \hline A_5 & 440 & \cdot & 2^{12/12} & = 880\phantom{.000}\ \text{Hz} \\ \hline \end{array} } \]Of course, most of the exponents can be reduced and simplified, though this makes no difference in the calculations.
\[ \begin{aligned} 2^{0/12} &= 2^{0} = 1 \\ \\ 2^{2/12} &= 2^{1/6} \\ \\ 2^{3/12} &= 2^{1/4} \\ \\ 2^{4/12} &= 2^{1/3} \\ \\ 2^{6/12} &= 2^{1/2} \\ \\ 2^{8/12} &= 2^{2/3} \\ \\ 2^{9/12} &= 2^{3/4} \\ \\ 2^{10/12} &= 2^{5/6} \\ \\ 2^{12/12} &= 2^{1} = 2 \\ \\ \end{aligned} \]So a simplified chart shows as follows.
\[ \boxed{ \begin{array}{|c|r@{}c@{}l c|} \hline A_4 & 440 & \cdot & 1 & = 440\phantom{.000}\ \text{Hz} \\ \hline A^\sharp_4 / B^\flat_4 & 440 & \cdot & 2^{1/12} & \approx 466.163\ \text{Hz} \\ \hline B_5 & 440 & \cdot & 2^{1/6} & \approx 493.883\ \text{Hz} \\ \hline C_5 & 440 & \cdot & 2^{1/4} & \approx 523.251\ \text{Hz} \\ \hline C^\sharp_5 / D^\flat_5 & 440 & \cdot & 2^{4/12} & \approx 554.365\ \text{Hz} \\ \hline D_5 & 440 & \cdot & 2^{5/12} & \approx 587.330\ \text{Hz} \\ \hline D^\sharp_5 / E^\flat_5 & 440 & \cdot & 2^{1/2} & \approx 622.254\ \text{Hz} \\ \hline E_5 & 440 & \cdot & 2^{7/12} & \approx 659.255\ \text{Hz} \\ \hline F_5 & 440 & \cdot & 2^{2/3} & \approx 698.456\ \text{Hz} \\ \hline F^\sharp_5 / G^\flat_5 & 440 & \cdot & 2^{3/4} & \approx 739.989\ \text{Hz} \\ \hline G_5 & 440 & \cdot & 2^{5/6} & \approx 783.991\ \text{Hz} \\ \hline G^\sharp_5 / A^\flat_5 & 440 & \cdot & 2^{11/12} & \approx 830.609\ \text{Hz} \\ \hline A_5 & 440 & \cdot & 2 & = 880\phantom{.000}\ \text{Hz} \\ \hline \end{array} } \]Now to keep going we would take A5 at 880 Hz and start over by multiplying it by increasing twelfth powers of two until we got to A6 at 1760 Hz, and so on. To get the pitches of all the notes of the piano this way, we can just start with A0 at 27.5 Hz, the lowest note on a piano.
Alternatively, one could also begin with a base pitch multiplicand and just keep adding on to the numerator in the twelfth power of two multiplier, without ever changing the base.
\[ \text{if } A_4 = 440 \text{ Hz} \] \[ \text{then} \] \[ \begin{aligned} A^\sharp_5/B^\flat_5 &= 440 \cdot 2^{13/12} \text{ Hz} \\ B_5 &= 440 \cdot 2^{14/12} \text{ Hz} \\ C_5 &= 440 \cdot 2^{15/12} \text{ Hz} \\ C^\sharp_5/D^\flat_5 &= 440 \cdot 2^{16/12} \text{ Hz} \\ D_5 &= 440 \cdot 2^{17/12} \text{ Hz} \\ D^\sharp_5/E^\flat_5 &= 440 \cdot 2^{18/12} \text{ Hz} \\ E_5 &= 440 \cdot 2^{19/12} \text{ Hz} \end{aligned} \] \[ \text{and so on...} \]Thus the formula can be generalized to find the frequency of any note \( x \) semitones above a base frequency by multiplying the base frequency \( f_0 \) by two raised to the power of \( x \) twelfths.
\[ f(x) = f_0 \cdot 2^{x/12} \]And going in the other direction, to find the frequency of a note \( x \) semitones below a base frequency, the base frequency \( f_0 \) is multiplied by two raised to the power of negative \( x \) twelfths.
\[ f(x) = f_0 \cdot 2^{-x/12} \]