Semitone Calculator
Test cases replayed : 2 of 2 match · Methodology · No outside source listed
Find how many semitones and cents separate two pitches, and the frequency any number of semitones above or below a note.
Result
Interval from f₁ to f₂ (semitones)
Interval from f₁ to f₂ (cents)
- Frequency ratio f₂ / f₁
- Frequency n semitones from f₁ (Hz)
Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.
This browser did not allow copying. The sentence is in the box below, already selected: copy it with your keyboard or the menu.
How to use this calculator
Fill in the fields in this order; each step takes you to its field.
- Reference frequency f₁, in Hz: enter 0 or more.
- Second frequency f₂, in Hz: enter 0 or more.
- Semitones to move from f₁ (negative = down): enter a number.
- Read the result: Interval from f₁ to f₂ (semitones); the panel also shows Interval from f₁ to f₂ (cents), Frequency ratio f₂ / f₁ and Frequency n semitones from f₁ (Hz).
How this calculator works
In twelve-tone equal temperament the octave (frequency ratio 2) is split into 12 equal semitones, so one semitone is a ratio of 2^(1/12) ≈ 1.0595 and one cent is 1/100 of a semitone.
Semitones between two pitches = 12 × log₂(f₂ / f₁); cents = 1200 × log₂(f₂ / f₁). A pitch n semitones away = f₁ × 2^(n/12).
The 440 Hz default is only a starting value; type any reference pitch.
The formula
| Symbol | Meaning | Unit |
|---|---|---|
| Reference frequency f₁ | Hz | |
| Second frequency f₂ | Hz | |
| Interval from f₁ to f₂ (semitones) |
Worked example
| Reference frequency f₁ | 440 Hz |
|---|---|
| Second frequency f₂ | 523.25 Hz |
| Semitones to move from f₁ (negative = down) | 7 |
| Interval from f₁ to f₂ (cents) | 299.9963 |
|---|---|
| Frequency n semitones from f₁ (Hz) | 659.2551 |
| Frequency ratio f₂ / f₁ | 1.1892 |
Interval from f₁ to f₂ (semitones) 3
Each step uses the unrounded value of the step before it; figures on this page are rounded for display.
Frequently asked questions
How many semitones are in an octave?
Twelve. An octave doubles the frequency, and each equal-tempered semitone multiplies it by the twelfth root of 2.
What is 7 semitones above 440 Hz?
About 659.2551 Hz (440 × 2^(7/12)), the equal-tempered fifth above it.