Learn Music Composition Intervals
Intervals in Music: How Composers Use Distance Between Notes
Intervals in music are the distances between two notes, measured by how many letter names they span (a 3rd, a 5th) and by their exact size in semitones (major, minor, perfect). Every melody is a chain of intervals, and every chord is a stack of them, so learning to hear and choose intervals is one of the quickest ways to take control of the emotional colour of your music.
In this guide you’ll learn how intervals are named, why some sound restful and others restless, and how to use steps and leaps deliberately when you write a melody. No advanced theory needed: if you can find middle C on a keyboard, you can follow along.
In this guide
- How to name any interval by its number and its quality
- Which intervals sound stable, which sound tense, and why it matters
- How steps and leaps shape a melody (with an original example)
- A quick exercise to train your ear and your pen
What is an interval?
An interval is simply the gap between two pitches. When the two notes sound one after the other, it is a melodic interval; when they sound together, it is a harmonic interval. A tune moving from C up to E and a pianist pressing C and E at the same time are using the same interval: a major 3rd.
If you have read our guide to pitch in music, you already know that every note has a precise height. Intervals are where those heights start to mean something. A single note on its own has no mood; two notes side by side immediately suggest calm, longing, brightness or unease.

How to name an interval
Every interval name has two parts: a number (how far apart the letters are) and a quality (the exact size). You need both, because C to E and C to E♭ are both 3rds, yet they sound very different.
Step 1: the number
- Write down the letter name of the lower note.
- Count up through the musical alphabet to the upper note, including both the first and last letters.
- The total is the interval number. C–D–E is three letters, so C up to E is a 3rd. C–D–E–F–G is five letters, so C up to G is a 5th.
- Ignore sharps and flats at this stage. C to G♯ and C to G♭ are still both 5ths.
Step 2: the quality
Now count the semitones (the distance from one key to the very next key on a piano, black or white). The quality tells you which version of the interval you have:
- Perfect applies to unisons, 4ths, 5ths and octaves. These have only one ‘normal’ size.
- Major and minor apply to 2nds, 3rds, 6ths and 7ths. The minor version is one semitone smaller than the major.
- Augmented means one semitone wider than perfect or major; diminished means one semitone narrower than perfect or minor.
A handy shortcut: in a major scale, every interval measured up from the key note is either major or perfect. So in C major, C to A is a major 6th and C to F is a perfect 4th. Lower the top note by a semitone and a major interval becomes minor (C to A♭ is a minor 6th).

Tip
The interval of six semitones (C to F♯ or C to G♭) is called the tritone, because it spans three whole tones. Depending on how it is spelt, it is an augmented 4th or a diminished 5th. It splits the octave exactly in half, which is part of why it sounds so unsettled.
Consonance and dissonance: the emotional colour of intervals
Some intervals sound settled and complete; others create friction that seems to ask for something to happen next. Musicians call these consonant and dissonant intervals. Dissonance isn’t ‘wrong’. It is the tension that makes music move, and resolving it is one of the most satisfying things a listener can hear.
- Very stable: unison, octave and perfect 5th. They feel solid but can sound bare on their own.
- Sweet and stable: major and minor 3rds and 6ths. These are the warm heart of most harmony.
- In between: the perfect 4th sounds open in a melody but slightly unresolved when it sits above the bass.
- Tense: 2nds, 7ths and the tritone. Use them to create longing, edge or forward pull, then let them settle.
In practice, the context matters as much as the interval itself. A major 7th held quietly in a lush chord sounds dreamy; the same interval played loudly on two trumpets sounds harsh. Treat the list above as a starting point for your ears, not a set of rules.
Steps and leaps: intervals in a melody
When you write a tune, the intervals between neighbouring notes are its building material. Moves of a 2nd are called steps; anything larger is a leap (3rds are sometimes called skips). Most memorable melodies use plenty of steps for smoothness, with occasional leaps for energy and character.

In the example above, the line climbs by step, jumps up a 4th to reach its highest note, then gently walks back down. That shape (a leap followed by movement in the opposite direction, mostly by step) is sometimes called a gap-fill. It works because a leap opens up a space in the listener’s ear, and stepwise notes in the other direction fill it back in.
How big should a leap be?
- 3rds and 4ths add shape without breaking the flow. Use them freely.
- 5ths, 6ths and octaves are dramatic. Save them for an important moment, such as the start of a theme or the approach to a climax.
- 7ths and the tritone are expressive but awkward to sing. Prepare them carefully and resolve them by step.
- Several leaps in a row in the same direction usually outline a chord. That can sound bold (think of a bugle call), but it quickly loses the singing quality of a stepwise line.
Inverting intervals
If you move the lower note of an interval up an octave (or the upper note down an octave), you get its inversion. Inversions follow two tidy patterns: the two numbers always add up to 9, and the quality flips. Major becomes minor, augmented becomes diminished, and perfect stays perfect.

This is useful for composers in two ways. First, it makes large intervals easy to work out: a minor 7th is just an inverted major 2nd. Second, it helps when you are spreading out chords or writing a bass line, because swapping a 3rd for a 6th keeps the same harmony while changing the spacing and the colour.
Common mistakes with intervals
- Counting only the gaps. C to E is a 3rd, not a 2nd. Always count both the starting and finishing letters.
- Ignoring the spelling. C to D♯ (augmented 2nd) and C to E♭ (minor 3rd) sound the same on a piano, but they behave differently in a key. Spell notes according to the scale you are in.
- Leaping without a reason. Big leaps in every bar make a melody sound restless and hard to remember. Let leaps mark special moments.
- Leaving tension hanging. A 7th or tritone that never resolves can sound like a mistake rather than a choice. Follow it with a step towards a stable note.
Try it yourself
Pick a key you are comfortable with and write a four-bar melody that uses mostly steps, includes exactly one leap of a 5th or larger, and fills that leap in by moving the other way. Under each pair of notes, write the interval name (for example, ‘M2’, ‘P5’, ‘m3’). Then play it and ask yourself: does the leap land on the moment you want to feel most important? Try moving it earlier or later and listen to how the whole phrase changes.
For an extra challenge, take a short idea from our guide to the musical motive and stretch one of its intervals (turn a 3rd into a 6th, say). Notice how one changed interval can transform the character of the whole motive.
Frequently asked questions
How many intervals are there in music?
Within a single octave there are thirteen intervals by size, from the unison (0 semitones) to the octave (12 semitones). Intervals larger than an octave, such as 9ths and 10ths, are called compound intervals and behave like their smaller equivalents an octave higher.
What is the difference between a major and a minor interval?
A minor interval is exactly one semitone smaller than the major interval with the same number. For example, C to E is a major 3rd (4 semitones) and C to E♭ is a minor 3rd (3 semitones).
Why are 4ths, 5ths and octaves called perfect?
They are the most acoustically pure intervals after the unison, with simple frequency ratios such as 2:1 for the octave and 3:2 for the 5th. They also stay the same type when inverted, which is why they don’t have major or minor versions.
Keep learning
- What Is Pitch in Music?
- What Are Diatonic Chords?
- Motivic Development: 8 Ways to Grow a Musical Idea
- All Music Composition guides
This series follows the craft-first approach to composition taught by composer Alan Belkin. For a deeper dive, watch his free Musical Composition and Applied Harmony video series on YouTube.
Hear these ideas in practice in the Miniature Piece Project, or study real scores in our piano sheet music.

