Music Intervals Calculator
Instantly determine the musical interval between any two notes.
The calculation is based on the total number of semitones (half steps) between the two absolute pitches.
Visual representation of the selected notes on a piano keyboard.
| Semitones | Common Interval Name | Alternate Names |
|---|---|---|
| 0 | Perfect Unison | – |
| 1 | Minor Second | Augmented Unison |
| 2 | Major Second | Diminished Third |
| 3 | Minor Third | Augmented Second |
| 4 | Major Third | Diminished Fourth |
| 5 | Perfect Fourth | Augmented Third |
| 6 | Tritone | Augmented Fourth, Diminished Fifth |
| 7 | Perfect Fifth | Diminished Sixth |
| 8 | Minor Sixth | Augmented Fifth |
| 9 | Major Sixth | Diminished Seventh |
| 10 | Minor Seventh | Augmented Sixth |
| 11 | Major Seventh | Diminished Octave |
| 12 | Perfect Octave | – |
What is a Music Interval?
In music theory, an interval is simply the difference in pitch between two sounds. When you play two notes on a piano, the distance between them is called an interval. This concept is fundamental to music, forming the building blocks of melodies and harmonies. You can think of it as the ‘space’ between notes. Our music intervals calculator is designed to make identifying these spaces effortless.
Intervals can be described in two ways: melodic, where notes are played in sequence, or harmonic, where notes are played simultaneously. Understanding intervals is crucial for any musician, composer, or student. It helps in recognizing chord structures, building scales, and even training your ear. Many people mistakenly believe intervals are only about the number of steps on a staff, but it’s more nuanced; the quality (major, minor, perfect) is just as important. This music intervals calculator clarifies both the numeric value and the quality.
Music Interval Formula and Mathematical Explanation
The core of calculating a musical interval is determining the distance in semitones (the smallest interval in Western music, also known as a half-step). Every note in the chromatic scale is one semitone away from its neighbor. The amazing music intervals calculator automates this counting process for you.
The process is as follows:
- Convert each note to an absolute pitch value. This is often done using a system like MIDI numbers, where Middle C (C4) is 60. Each semitone up or down changes the value by 1. For instance, C#4 is 61, and B3 is 59. The formula is: `Absolute Pitch = (Octave + 1) * 12 + NoteValue`.
- Calculate the difference. Subtract the absolute pitch value of the start note from the end note. `Semitone_Difference = AbsolutePitch_End – AbsolutePitch_Start`.
- Map the difference to an interval name. A specific number of semitones corresponds to a specific interval name. For example, a difference of 7 semitones is always a Perfect Fifth.
| Variable | Meaning | Unit | Typical Range |
|---|---|---|---|
| Start Note | The lower of the two pitches. | Pitch Name (e.g., C, F#) | C, C#, D…B |
| End Note | The higher of the two pitches. | Pitch Name (e.g., E, Ab) | C, C#, D…B |
| Octave | The register of the note. | Integer | 0-8 |
| Semitones | The total number of half-steps between the notes. | Integer | 0 and up |
Practical Examples (Real-World Use Cases)
Example 1: The “Star Wars” Theme Opening
The iconic opening fanfare of the Star Wars theme uses a bold, heroic-sounding interval. Let’s find out what it is.
- Start Note: C4
- End Note: G4
Using the music intervals calculator, you would input these notes. The calculator determines the semitone distance is 7. This corresponds to a Perfect Fifth. This interval is known for its stable and powerful sound, which is why it’s so effective in creating a sense of adventure and grandeur. For a deeper dive, check out our guide on the Circle of Fifths Tool.
Example 2: Identifying a Minor Third in a Sad Song
Minor thirds are often associated with sad or melancholic emotions. Let’s analyze an interval from a somber melody.
- Start Note: A4
- End Note: C5
By entering A4 and C5 into the music intervals calculator, you find the difference is 3 semitones. This interval is a Minor Third. Understanding this helps explain why certain melodies evoke specific emotions and is a key part of songwriting and analysis. Learning about this is a great step towards using a Chord Identifier effectively.
How to Use This Music Intervals Calculator
Our music intervals calculator is designed for speed and accuracy. Follow these simple steps to find the interval between any two notes.
- Select the Start Note: Use the first dropdown menu to choose the base note of your interval (e.g., C, G#, Bb).
- Set the Start Octave: Enter the octave for your start note. Octave 4 is typically the middle of the piano.
- Select the End Note: Use the second dropdown menu to choose the top note of your interval.
- Set the End Octave: Enter the octave for your end note.
- Read the Results: The calculator instantly updates. The primary result shows the full interval name (e.g., “Major Sixth”). You’ll also see intermediate values like the semitone count, the simple name (e.g., “Sixth”), and its quality (e.g., “Major”).
The results from this music intervals calculator empower you to make informed decisions, whether you’re composing a new piece, transposing a song, or studying for a theory exam. For related learning, see our article on Music Theory Basics.
Key Factors That Affect Music Interval Results
The name and sound of an interval are determined by several precise factors. Our music intervals calculator considers all of these to give you an accurate result. Here are the key elements:
1. Number of Semitones
This is the most critical factor. The exact number of half-steps between two notes defines the interval’s size. For example, 4 semitones is a Major Third, while 3 semitones is a Minor Third.
2. Note Letter Names (A-G)
The number of letter names you count from the start to the end note (inclusive) gives the interval’s numeric value (e.g., a third, a fifth, a seventh). For instance, C to E is a third (C, D, E), and C to F is a fourth (C, D, E, F). This is why C to F# is an Augmented Fourth, not a Diminished Fifth, even though they contain the same number of semitones.
3. Interval Quality
Quality describes the specific “flavor” of an interval. The main qualities are Perfect (for unisons, fourths, fifths, octaves), Major, and Minor. Augmented (one semitone larger than perfect or major) and Diminished (one semitone smaller than perfect or minor) provide further detail. Exploring these is easier with Ear Training Exercises.
4. Enharmonic Equivalence
Some notes have different names but sound the same pitch on a piano (e.g., C# and Db). The spelling of the notes matters for interval naming. A music intervals calculator must differentiate between C-G# (Augmented Fifth) and C-Ab (Minor Sixth), as they have different theoretical functions despite sounding similar in isolation.
5. Simple vs. Compound Intervals
Intervals within one octave are “simple.” Intervals larger than an octave are “compound” (e.g., a Major Ninth is a compound Major Second). Our calculator provides the correct name for both. A Scale Generator often uses both simple and compound intervals.
6. Inversion
Flipping an interval upside down creates its inversion (e.g., C up to G is a Perfect Fifth; G up to C is a Perfect Fourth). The quality also changes in a predictable way (major becomes minor, augmented becomes diminished, but perfect stays perfect). Knowing inversions is key to understanding harmony. A Key Signature Finder can help determine the context in which these inversions occur.
Frequently Asked Questions (FAQ)
A minor interval is one semitone smaller than a major interval. For example, a Major Third (C-E) is 4 semitones, while a Minor Third (C-Eb) is 3 semitones. This small change has a significant impact on the emotional feel of the music.
Perfect intervals (unisons, fourths, fifths, and octaves) are so-named because their frequency ratios are based on simple integer fractions, giving them a very stable, consonant sound. They are the foundational pillars of harmony in Western music.
A tritone is an interval spanning six semitones. It can be written as an Augmented Fourth or a Diminished Fifth. Historically known as the “devil in music,” it has a very dissonant and unstable sound that often wants to resolve to a more stable interval.
Yes. If you enter two notes that are more than an octave apart, the music intervals calculator will correctly identify it as a compound interval, such as a Major Ninth (which is a compound Major Second) or a Perfect Eleventh.
Our calculator assumes an ascending interval. To calculate a descending interval, simply swap the start and end notes. For example, to find the interval down from C5 to E4, you would calculate the interval up from E4 to C5, which is a Minor Sixth.
While C# and Db are the same pitch on a piano (enharmonically equivalent), they have different functions in music theory. The name of the interval depends on the letter names. A to C# is a Major Third, but A to Db would be a Diminished Fourth. Our music intervals calculator respects these music theory rules.
An augmented interval is one semitone wider than a major or perfect interval. A diminished interval is one semitone narrower than a minor or perfect interval. These are less common but crucial for creating tension and color in music.
Absolutely. Recognizing intervals by ear is one of the most valuable skills a musician can develop. It allows you to figure out melodies and harmonies without needing sheet music. Using this music intervals calculator can help you train your brain to associate the names with the sounds.