Music Interval Calculator - Identify Note and Pitch Intervals
Music interval calculator that names any interval between two notes, including perfect, major, minor, augmented, and diminished qualities, plus semitones and frequency ratio.
Music Interval Calculator
Results
What Is Music Interval Calculator?
A music interval calculator names the distance between two notes, whether you are reading two piano keys, two fretboard notes, or two spelled note names, and reports the interval quality, semitone count, and frequency ratio.
- • Naming intervals for music theory homework: Pick two spelled notes, switch to note mode when accidentals appear, and read the full interval name including augmented or diminished qualities.
- • Comparing two piano keys or fretboard notes: Stay in pitch mode and the calculator reports the actual sound distance, so C# to C is one semitone and C# to Db is the same key, with a simple interval name.
- • Reading frequency and ratio data for arrangement decisions: Compare just-intonation ratios for perfect fourths, fifths, and octaves against the equal-tempered frequencies the calculator outputs in Hertz.
- • Building chord and scale vocabulary: Use the short symbol (P5, M3, m7) to describe chord stacks and keep the naming consistent across a score.
The calculator covers the twelve pitch classes from C through B, the seven octaves from C0 through B8 in scientific pitch notation, and intervals from unison through two octaves plus a fourth.
When the question shifts from naming the interval to estimating how long the piece plays, the music duration calculator turns the time signature, BPM, and measure count into minutes and mm:ss.
How Music Interval Calculator Works
The calculator converts each note to a MIDI note number, takes the difference, and looks it up in a twelve-step interval table to get the interval name, quality, and semitone count. Frequencies come from the same MIDI number using concert pitch A4 = 440 Hz.
- letter_offset: C=0, D=2, E=4, F=5, G=7, A=9, B=11. Letter position within one octave.
- accidental_offset: Natural=0, Sharp=+1, Flat=-1. In pitch mode it picks the sound (C# is one semitone above C); in note mode it also drives the augmented or diminished quality.
- octave: Scientific pitch notation octave from 0 to 8, where C4 is middle C.
- midi: MIDI note number. A4 is 69, every semitone adds 1, every octave adds 12.
- frequency_Hz: Pitch in Hertz. Built from A4 = 440 Hz with equal-tempered tuning where each semitone multiplies by 2^(1/12).
The twelve-step interval table maps semitone counts to interval names and short symbols. Unison, fourth, fifth, and octave use the perfect family. Second, third, sixth, and seventh use the major or minor family. Six semitones is the tritone, an augmented fourth or a diminished fifth. In note mode the letter distance decides which name applies, so C to C# becomes an augmented unison while C to Db becomes a minor second.
Perfect octave from C4 to C5
Pitch mode, C4, C5
midi1 = 60, midi2 = 72. Semitones = 12. Frequencies = 261.63 Hz and 523.25 Hz. Ratio = 2.0000.
Perfect octave, P8, 12 semitones, 6.00 tones, 261.63 Hz, 523.25 Hz, 2.0000 ratio.
An octave doubles the frequency.
Perfect fifth from C4 to G4
Pitch mode, C4, G4
midi1 = 60, midi2 = 67. Semitones = 7. Frequencies = 261.63 Hz and 392.00 Hz. Ratio = 1.4983.
Perfect fifth, P5, 7 semitones, 3.50 tones, 261.63 Hz, 392.00 Hz, 1.4983 ratio.
The equal-tempered fifth sits about 0.0017 below the 3:2 ratio of 1.5.
Augmented unison from C4 to C#4 in note mode
Note mode, C4 Natural, C4 Sharp
midi1 = 60, midi2 = 61. Semitones = 1. Frequencies = 261.63 Hz and 277.18 Hz. Ratio = 1.0595.
Augmented unison, A1, 1 semitone, 0.50 tones, 261.63 Hz, 277.18 Hz, 1.0595 ratio.
Pitch mode reads the same pair as a minor second because C# is one semitone above C.
Black-key minor second from C#4 to C4 in pitch mode
Pitch mode, C4 Sharp, C4 Natural
midi1 = 61, midi2 = 60. Semitones = 1. Frequencies = 277.18 Hz and 261.63 Hz. Ratio = 0.9439.
Minor second, m2, 1 semitone, 0.50 tones, 277.18 Hz, 261.63 Hz, 0.9439 ratio.
The black key C# sits one semitone above the white key C, so the calculator honors the accidental in pitch mode.
According to ISO 16:1975 (Acoustics — Standard tuning frequency), the frequency for the note A in the treble stave shall be 440 Hz, which is the value the calculator uses for A4 in the frequency formula.
Once the interval table makes sense, the chord transposer applies the same semitone math across a chord progression to keep chord qualities intact while shifting keys.
Key Concepts Explained
Four short ideas explain every interval the music interval calculator reports and how the numbers get built.
Semitones and Tones
A semitone is the smallest musical interval in Western tonal music, the distance between two adjacent piano keys. A tone equals two semitones.
Pitch Mode vs Note Mode
Pitch mode reads the actual piano or fretboard sound. Note mode adds the spelling, so C to C# is an augmented unison and C to Db is a minor second.
The Twelve-Step Interval Table
Unison (0), minor second (1), major second (2), minor third (3), major third (4), perfect fourth (5), tritone (6), perfect fifth (7), minor sixth (8), major sixth (9), minor seventh (10), major seventh (11), perfect octave (12).
Frequency and the 3:2 Ratio
Frequencies are computed from A4 = 440 Hz with equal temperament. A perfect fifth spans seven semitones for a ratio of 1.4983, close to the just-intonation 3:2 ratio of 1.5000.
Compound intervals between one and two octaves add seven to the underlying number. A major second plus an octave is a major ninth.
For wave math from a wavelength or period, the frequency calculator applies the same Hertz formula across light, sound, and radio.
How to Use This Calculator
Five short steps cover both modes.
- 1 Pick the mode that matches your question: Between pitches for piano or fretboard sounds with a simple name. Between notes for spelled note names with augmented or diminished qualities.
- 2 Pick note 1 letter, accidental, and octave: The letter is C through B, the accidental is Natural, Sharp, or Flat, and the octave is the scientific pitch notation number.
- 3 Pick note 2 letter, accidental, and octave: Note 2 can sit above or below note 1; the absolute distance keeps the result positive.
- 4 Read the interval name, symbol, and semitone count: The results panel reports the full interval name, the short symbol like P5 or M3, the semitone count, tone count, both frequencies, and the ratio.
- 5 Switch modes or change octaves to compare spellings: Try the same pair with Natural, Sharp, and Flat in note mode. Move up an octave to grow a simple interval into a compound interval.
For C4 to G4, leave both accidentals on Natural, read Perfect fifth with the P5 symbol, 7 semitones, 3.50 tones, 261.63 Hz and 392.00 Hz, and a 1.4983 ratio.
Benefits of Using This Calculator
A purpose-built music interval calculator keeps the MIDI math, the interval table, and the frequency formula in one place.
- • Names every common interval between two notes: Covers unison through two octaves plus a fourth with perfect, major, minor, augmented, diminished, and tritone qualities.
- • Reports the short symbol alongside the full name: Outputs P5, M3, m6, TT, and similar symbols.
- • Shows semitones, tones, and frequencies together: Reads the semitone count, tone count, both pitches in Hertz, and the ratio in one view.
- • Switches between pitch mode and note mode: Pitch mode honors the accidental with a simple name. Note mode adds the spelling for augmented or diminished names.
- • Uses the 440 Hz concert-pitch reference: Frequencies are computed from A4 = 440 Hz with equal-tempered tuning, matching the MIDI standard.
- • Covers compound intervals past one octave: Intervals above twelve semitones are reported as ninths, tenths, elevenths, and beyond.
For the underlying wave math, the harmonic wave equation calculator plots y(x,t) = A sin(kx - omega t + phi), the same waveform that produces a sustained note.
Factors That Affect Your Results
Three choices shape the interval you read, and three caveats tell you when the calculator is used at the edge of its design range.
Mode choice (pitch or note)
Pitch mode keeps the simple interval names and uses the actual piano or fretboard sound. Note mode uses the letter distance to add augmented or diminished qualities on top of the semitone count.
Accidental spelling in note mode
C to C# reports an augmented unison while C to Db reports a minor second in note mode, even though both pairs are one semitone apart on a piano. The spelling changes the quality.
Octave distance between the two notes
Same-letter pairs at the same octave read as a unison. Same-letter pairs one octave apart read as a perfect octave with a 2.0000 ratio.
- • The calculator assumes equal temperament. Just-intonation ratios such as the 3:2 perfect fifth show the small detuning from the equal-tempered ratio of 1.4983.
- • Microtonal intervals between standard semitones are not supported. Quarter tones fall outside the twelve-step interval table.
When a piece changes key mid-flow, the calculator reports a single interval between two notes and does not track key context.
Read the frequency ratio alongside the interval name to see how close the equal-tempered result is to the just-intonation target. The octave is exact at 2.0000, the perfect fifth is 0.0017 below 3:2.
According to the Open Music Theory chapter on equal divisions of the octave, twelve-tone equal temperament splits the octave into twelve equal semitones, so the equal-tempered perfect fifth lands at 2^(7/12) ≈ 1.4983 while the just-intonation perfect fifth keeps the simple 3:2 ratio of exactly 1.5000.
According to the Open Music Theory chapter on intervals, the basic interval qualities are perfect, major, minor, augmented, and diminished. Unisons, fourths, fifths, and octaves belong to the perfect family, while seconds, thirds, sixths, and sevenths belong to the major and minor family.
When frequency and wavelength combine into the speed of sound, the wave speed calculator solves speed = frequency times wavelength for any medium.
Frequently Asked Questions
Q: What is a music interval?
A: A music interval is the distance between two notes, described by counting letter steps and by counting semitones between the pitches. The calculator reports both with the interval quality.
Q: How do I find the interval between two notes?
A: Pick the mode, choose the letter, accidental, and octave for note 1, do the same for note 2, and read the interval name plus symbol in the results panel.
Q: What is the difference between a pitch interval and a note interval?
A: Pitch intervals describe two sounds with simple names, so the accidental picks the piano key or fret but the answer stays Minor second or Tritone. Note intervals describe two spelled notes, so C to C# is an augmented unison and C to Db is a minor second even though both cover one semitone.
Q: What is the smallest interval in music?
A: The smallest interval commonly used in Western tonal music is the semitone, one twelfth of an octave and the distance between two adjacent piano keys or frets.
Q: What is a tritone?
A: A tritone is six semitones and can be spelled as an augmented fourth (C to F#) or a diminished fifth (C to Gb). It sits halfway around the circle of fifths.
Q: How many semitones are in a perfect fifth?
A: A perfect fifth is seven semitones, which gives an equal-tempered frequency ratio of about 1.4983, close to the just-intonation 3:2 ratio of 1.5000.