Music Interval Calculator
Music interval instantly calculates results using advanced, interval notes, interval type. Use the calculator above for instant answers in your browser.
Welcome to the Music Interval Calculator, a precision tool designed for musicians, students, and producers who want to decode the distance between any two pitches instantly. By determining the exact semitones, tones, and interval classifications between notes, this calculator removes guesswork from music theory. Whether you are composing harmonies, analyzing chord structures, or studying ear training, this tool helps you understand the mathematical foundation of musical space.
How Musical Intervals Are Calculated
In Western music, pitch relationships are measured by semitones (half steps), which correspond to the distance between adjacent keys on a piano keyboard. The calculator determines the absolute distance between Note 1 and Note 2 by converting them into absolute semitone values including their octave positions: semitones = |(Note 2 + Octave 2 * 12) - (Note 1 + Octave 1 * 12)|. From this total, the tool computes whole tones by dividing semitones by two (tones = semitones / 2), separates out full octaves using integer division (octave_interv = floor(semitones / 12)), and finds the remaining fractional semitones using the modulo operator (remaining_interv = semitones % 12).
Worked Calculation Example
Let us find the interval between C4 (Note 1) and G4 (Note 2). On a standard chromatic scale where C is assigned a value of 0, C4 has a base value of 0 in octave 4, and G4 has a base value of 7 in octave 4. Applying our formula: semitones = |(7 + 4 * 12) - (0 + 4 * 12)| = |55 - 48| = 7 semitones. Next, we find the number of whole tones by dividing by two, giving us 3.5 tones. An interval spanning 7 semitones is classified musically as a perfect fifth, consisting of 0 full octave intervals and 7 remaining semitones.
Tips for Mastering Music Intervals
Always account for octave numbers when inputting notes, as changing an octave dramatically alters the compound nature of an interval. Remember that enharmonic equivalents (such as C-sharp and D-flat) sound identical but may have different theoretical names depending on the key signature. Practice singing or playing the calculated interval immediately after computing it to bridge the gap between visual theory and auditory recognition.
FAQs
What is an interval in music?
An interval is the pitch distance between two distinct notes. It can be sounded simultaneously to create harmonic intervals or successively to create melodic intervals. Intervals serve as the foundational building blocks for scales, chords, and melodies across all musical genres.
Why was the tritone an unacceptable interval in music?
The tritone, spanning exactly six semitones or three whole tones, was historically dubbed 'diabolus in musica' (the devil in music) during the medieval period. Because of its tense, highly unstable acoustic dissonance and lack of resolution, medieval church authorities and strict counterpoint rules heavily discouraged its use.
How do I determine the interval between two notes?
To determine an interval, count the letter name distance between the two notes to find the interval number (such as second, third, or fifth). Then, count the exact number of semitones between them on a keyboard to determine the quality, such as major, minor, augmented, or diminished.
What is the smallest interval in tonal music?
The smallest standard interval in Western tonal music is the semitone, represented by the distance between two immediately adjacent keys on a piano keyboard, such as from C to C-sharp. Microtonal music utilizes even smaller subdivisions, but standard Western theory treats the semitone as the fundamental stepping stone.
Formula verified against Peer-reviewed references — all calculations use deterministic, standards-based formulas.
Related calculators
Test grade
Instantly calculate test grade using gradepb, increment, limit a. Free, accurate other calculator with real-world examples.
Other
Download time
Instantly calculate download time using downloadspeed, downloadtime, filesize. Free, accurate other calculator with real-world examples.
Other
Minecraft stack
Instantly calculate minecraft stack using calculator mode, input items, input leftover items. Free, accurate other calculator with real-world examples.
Other
Minecraft circle
Instantly calculate minecraft circle using size, thickness, thicknessminus1. Free, accurate other calculator with real-world examples.
Other
KD (kill-to-death ratio)
Instantly calculate kd (kill-to-death ratio) using kda, kdratio, assist. Free, accurate other calculator with real-world examples.
Other