Music Interval Calculator

Music Interval Calculator

01 Choose your pitches

Scientific pitch notation: middle C = C4. Calculations use 12-tone equal temperament.

02 Your pitch distance
—
semitones
Choose your pitches, then calculate.
Cents—
Frequency ratio—
Direction—
——

The calculation will appear here.

Settings & measurement notes

A4 defaults to 440 Hz. One octave doubles frequency; one semitone is 1/12 of an octave. Interval names are common equal-tempered names; harmonic spelling may differ.

Ready when you are.

Related tools

Use the Music Interval Calculator to name the interval between two spelled notes or measure the distance between two frequencies. In note mode, the letter names determine the interval number and the accidentals help determine its quality. Frequency mode measures the physical pitch ratio without inventing a written spelling.

Calculate from two spelled notes

  1. Choose Two notes.
  2. Enter both note names with octaves, such as D4 and F#5.
  3. Keep the intended sharp or flat spelling.
  4. Calculate and read the interval name, direction and cents.
  5. Use reference playback when the frequencies fall within its supported range.

D4 to F#5 is an ascending major tenth, spanning sixteen semitones. A tenth is a compound interval: it extends beyond the octave. The octave numbers are essential because D4 to F#4 is a major third instead.

The calculator accepts a letter A–G, an optional single sharp or flat and an octave number. It does not interpret a chord symbol, key signature or an entire written score. Enter the actual pitch spelling needed for your question.

Why spelling changes the interval name

Count letters inclusively to find the number. C–D–E–F contains four letter positions, so C to F is a fourth. C–D–E–F–G contains five, so C to G is a fifth.

Chromatic distance then determines quality. C4 to F#4 and C4 to Gb4 both span six equal-tempered semitones, but they are an augmented fourth and a diminished fifth respectively.

NotesSemitonesSpelled name
C4 to F45Perfect fourth
C4 to F#46Augmented fourth
C4 to Gb46Diminished fifth
D4 to F#516Major tenth

This distinction matters when describing notation and harmonic relationships. A generic “tritone” describes the six-semitone distance, while the written notes explain whether its interval number is four or five.

Handle a compound example

F3 to C6 spans 31 semitones. Counting the written letter positions gives a nineteenth, and the quality is perfect. The interval can also be understood as two octaves plus a perfect fifth.

Keep the starting register in the calculation. F3 to C4 has the same pitch-class relationship but only seven semitones. Removing the octave numbers would lose the distinction between the simple fifth and the compound nineteenth.

For counting half steps without a spelling-sensitive name, the Semitone Calculator gives a more focused workflow.

Measure two frequencies

Choose Two frequencies when your inputs are numerical hertz readings. The interval in semitones is twelve times the base-two logarithm of the second frequency divided by the first. Multiplying semitones by 100 gives cents.

For 300 Hz to 600 Hz, the ratio is two and the distance is one octave, twelve semitones or 1,200 cents. Reversing those inputs gives a downward interval with the reciprocal ratio.

A frequency alone does not identify a written letter spelling. Frequency mode therefore uses common chromatic names rather than claiming to know whether a six-semitone span was written as an augmented fourth or diminished fifth.

Use transposition as a frequency calculation

Transpose mode starts from a frequency and applies a signed semitone shift. Positive values move upward and negative values downward. Fractional values support distances between ordinary equal-tempered notes.

This calculation does not alter a selected audio recording. It provides a destination frequency and distance. If your real task is to move a melody, preserve its interval relationships and consider the resulting singing range separately.

The Octave Calculator expresses similar shifts in octave units. The Vocal Range Calculator applies endpoint distances to a comfortable singing span.

Reference tuning and reliable input

The A4 setting can range from 400 to 480 Hz. It changes the frequencies assigned to named notes. It does not change the semitone distance between the same two written pitches.

Check that an entered frequency is positive and within the displayed field limits. After changing an input, calculate again before copying a result. Swap reverses the pitch order and direction; it is not the music-theory operation of interval inversion.

Copy preserves the calculated result. The tool performs arithmetic locally and does not require microphone input for these modes. Reference playback is available only for supported audible frequencies, not every numerical result.

Frequently asked questions

Why does the calculator need an octave number?

It distinguishes pitches such as C3 and C5 and makes compound intervals measurable. A letter pair without register information is insufficient for a unique distance.

Are six semitones always a diminished fifth?

No. Written spelling matters. C to Gb is a diminished fifth; C to F# is an augmented fourth in this equal-tempered calculation.

Can it identify an interval from a recording?

This page calculates from supplied notes or frequencies. Use the Note Detector to inspect a clear single-note recording before entering appropriate values here.

Does swapping notes invert the interval?

It reverses their order. Musical inversion usually moves one note by an octave and changes the interval relationship; that is a separate operation.

Does this use just intonation?

Named-note frequencies use twelve-tone equal temperament. Frequency inputs can represent another tuning, but the returned cents and semitones still describe their logarithmic distance.

Scroll to Top