RONTER AUDIO LAB · MUSIC THEORY UTILITY
Use this musical interval calculator to find the written interval between two notes. Choose each note, accidental and octave to calculate the interval name, quality, number, semitone distance, direction and inversion.
Visit Ronter Sound or explore more interactive tools for musicians.
Enter two written notes
Accidentals and note letters both matter. The calculator reads the notes as written rather than reducing them to pitch distance alone.
C to G spans five letter positions, so the interval number is a fifth. The pitches are seven semitones apart, making it a perfect fifth.
The staff is a visual reference for the selected written notes. Very high or low octave selections may extend beyond the central staff area.
Two measurements create the answer
A written musical interval has two important parts: its number and its quality. The number comes from the distance between the note letters. The quality depends on the actual pitch distance after sharps, flats and other accidentals are applied.
Select a letter, accidental and octave for the starting and target notes.
C–D–E–F–G contains five letter positions, so C to G is some kind of fifth.
Accidentals change the semitone distance without changing the interval number.
Letter distance and pitch distance combine to produce the complete interval name.
Do not count semitones alone
If the first note is C and the second is E, the letters C–D–E make the interval a third. C to E contains four semitones, so the complete name is major third.
Lower E to E♭ and the written distance is still a third because the letters have not changed. The pitch distance is now three semitones, producing a minor third.
This distinction becomes useful whenever notation and sounding pitch need to be understood together. For more hands-on music-learning utilities, browse audio tools for recording, mixing and ear training.

Same semitones, different written relationship
Counting piano keys or semitones is not always enough to identify a written interval correctly.
C to F uses four letter positions, so C–F♯ must be a type of fourth. C to G uses five, so C–G♭ must be a type of fifth. Their sounding distance is the same in equal temperament, but their written functions are different.
When you want to connect written pitch relationships with practical instrumental work, see instrument recording and the broader guide to blues and country recording .
Perfect family and major/minor family
Unisons, fourths, fifths and octaves belong to the perfect family. Seconds, thirds, sixths and sevenths belong to the major/minor family. Chromatic alteration can then expand or contract either type.
The reference form of the interval.
One semitone wider than perfect.
One semitone narrower than perfect.
The reference major form.
One semitone narrower than major.
Intervals can expand above major or contract below minor.

Pitch distance is one part of the calculation
The calculator also displays the absolute pitch distance between the selected notes in semitones. This makes it easy to compare interval spelling with chromatic distance.
These examples are reference spellings, not a rule that semitone count alone determines the name. The written letters still matter. Musicians interested in how musical relationships change once sound enters a mix can also experiment with the interactive online audio mixer.
Instant calculation in the browser
The musical interval calculator online works entirely in the page. Change either note and the result updates immediately, making it useful for checking notation, comparing enharmonic spellings or studying interval formulas.
The calculator does not automatically replace one written note with an enharmonic equivalent.
Different octave selections allow intervals larger than an octave to be calculated.
The selected octaves and written positions determine the direction from the first note to the second.
Simple intervals also show the interval created by inversion.
If you are developing your understanding before working on complete songs, the first-time recording studio guide offers another perspective on preparing musical material for a session.
Beyond the octave
Intervals do not stop at an octave. C4 to E5 spans ten letter positions when both endpoints are counted, making it a major tenth. Its simple equivalent is a major third.
Keeping the compound number is useful because it describes the actual written span instead of discarding the octave displacement.
For a practical look at how musical material becomes a finished production, explore song demo production or read how long vocal recording can take .

Turn the interval around
Inverting a simple interval moves one note by an octave so that the two notes exchange their relative positions. The interval numbers complement each other to nine.
A major interval becomes minor when inverted, and vice versa.
Perfect intervals remain perfect after inversion.
Augmented and diminished qualities exchange roles.

Relate distance to scale position
Solfege gives scale positions singable names, while interval calculation describes the distance between written pitches. The two approaches can reinforce each other when reading or hearing melodic movement.
The exact quality still depends on the scale, mode and pitch spelling, so solfege degree distance and a complete written interval name are related concepts rather than interchangeable labels.
If performance confidence is as important as theory practice, the guide to musician psychology and recording confidence covers another part of musical preparation.
A compact reference for written music
Enter the two written notes and compare your interval name with the calculated result.
Change F♯ to G♭ or another equivalent pitch and see how the interval number and quality respond.
Use octave controls to compare a tenth with a third or a twelfth with a fifth.
Compare the written interval with its semitone distance instead of treating those as the same measurement.
Change either note and calculate again
Compare interval numbers, qualities, semitones, compound intervals and inversions directly in the calculator.
Explore 168 free browser-based tools for musicians, singers, producers, engineers and creators. Open a category to find your next tool.