Music & audio
Musical interval calculator
Compare two notes in semitones, octaves and frequency ratio.
A clear answer. Here’s how.
Uses chromatic pitch distance in twelve-tone equal temperament. Reports signed semitones, absolute octave-plus-semitone distance and frequency ratio. Interval labels describe semitone distance; enharmonic spelling can give a different diatonic interval name. Notes require octaves and must lie in MIDI range 0–127.
See a worked example
Worked example
A fixed demonstration, separate from the values you enter above.
- First note
- C4
- Second note
- G4
Example result
- Signed semitones
- 7
- Chromatic interval
- Perfect fifth
- Direction
- Ascending
- Frequency ratio (second / first)
- 1.49830707688