Octave Span From Frequency Ratio
Calculator
Results
- Interval (octaves)
- 4
- Interval (semitones)
- 48
- Frequency ratio
- 16
Music and audio results
| Interval (octaves) | 4 |
| Interval (semitones) | 48 |
| Frequency ratio | 16 |
formula-map diagram
- Interval (octaves)
- 4
- Interval (semitones)
- 48
- Frequency ratio
- 16
Musical and acoustic relationship
Formula
octaves = log₂(f₂ ÷ f₁)= 4
Note
This result is a simplified model: it applies the displayed standard formula to the values you entered, assuming twelve-tone equal temperament, a speed of sound of 343 m/s in dry air at 20 °C, an ideal free field with no reflections or air absorption, purely resistive speaker loads and Sabine's diffuse-field assumption. Real rooms, instruments, codecs and amplifiers depart from these idealisations, so measure with proper instruments for critical work.
Example: with the default inputs, calculator.music.octaves is 4.
More in Music and audio
See all →Frequently asked questions
How many octaves lie between two frequencies?+
Enter the lower and upper frequency in Hz. The calculator computes octaves = log₂(f₂ ÷ f₁). The defaults, 55 Hz and 880 Hz, give 4 octaves.
How are semitones calculated?+
The octave count is multiplied by 12, since one octave is 12 equal-tempered semitones. The result is exact, not rounded to a whole number.
Why is the answer not a whole number?+
The calculation is continuous. Only a frequency ratio that is an exact power of 2 gives a whole number of octaves; otherwise you get a fraction.
What does the frequency ratio result show?+
It is simply the upper frequency divided by the lower one, f₂ ÷ f₁. An octave corresponds to a ratio of 2.
What if I swap the two frequencies?+
The ratio becomes smaller than 1 and the octave and semitone values come out negative, meaning the second frequency is lower than the first.