Note Interval Calculator






Note Interval Calculator | Calculate Musical Distances & Frequencies


Note Interval Calculator

Calculate musical intervals, frequency ratios, and semitones precisely.


Select the starting pitch class.


Standard piano range (0-8). Middle C is C4.
Please enter a valid octave (0-8).


Select the ending pitch class.


Standard piano range (0-8).
Please enter a valid octave (0-8).


Perfect 5th

7 Semitones

Frequency Ratio
1.4983
Distance in Cents
700
Frequency Difference
130.81 Hz

Formula: Interval Ratio = 2(semitones / 12). Reference A4 = 440Hz.

Figure 1: Comparative frequency visualization of the selected notes.


Detailed breakdown of note physics and MIDI data.
Metric First Note Second Note Difference

Complete Guide to the Note Interval Calculator

What is a Note Interval Calculator?

A Note Interval Calculator is a specialized tool used by musicians, sound engineers, and producers to determine the exact musical distance between two distinct pitches. In music theory, an “interval” is the difference in pitch between two sounds. This calculator quantifies that difference in terms of semitones, cents, and frequency ratios.

Understanding note intervals is crucial for composing harmonies, tuning instruments, and analyzing musical structures. Whether you are checking the distance between a root note and its fifth, or calculating the complex ratio of a tritone, a Note Interval Calculator provides precise mathematical data that goes beyond simple ear training.

Common misconceptions include thinking that intervals are only relevant for chords. In reality, melodic intervals (notes played sequentially) define the emotional character of a melody. Furthermore, many assume interval ratios are always clean integers (like 3:2), but in modern Equal Temperament tuning, they are irrational numbers derived from the 12th root of 2.

Note Interval Formula and Mathematical Explanation

The physics behind the Note Interval Calculator relies on the logarithmic nature of pitch perception. In the standard 12-Tone Equal Temperament (12-TET) system, the frequency of a note is calculated exponentially relative to a reference pitch (usually A4 = 440 Hz).

The Frequency Formula

To find the frequency ($f$) of any note relative to A4:

f = 440 × 2(n / 12)

Where n is the number of semitones away from A4. Positive values are higher in pitch; negative values are lower.

Calculating the Interval Ratio

Once you have the frequencies of two notes ($f_1$ and $f_2$), the interval ratio is simply:

Ratio = f_2 / f_1 = 2(Δ / 12)

Where Δ (delta) is the difference in semitones between the two notes.

Variables Definition

Variable Meaning Unit Typical Range
f Frequency Hertz (Hz) 20 Hz – 20,000 Hz
n / Δ Semitone Distance Integer 0 – 88 (piano range)
¢ (Cents) Microtonal Distance Cents 0 – 1200 per octave

Practical Examples (Real-World Use Cases)

Example 1: The Perfect Fifth

Let’s use the Note Interval Calculator to analyze the distance between C4 (Middle C) and G4.

  • Input: Note 1 = C, Octave 4; Note 2 = G, Octave 4.
  • Semitones: The distance is 7 semitones.
  • Ratio Calculation: 2(7/12) ≈ 1.4983.
  • Interpretation: This is a “Perfect 5th”. In Just Intonation, this would be exactly 1.5 (3:2 ratio), but in Equal Temperament, it is slightly flat (by about 2 cents). This interval is the bedrock of Western harmony.

Example 2: The Octave Relationship

Consider the interval between A3 and A4.

  • Input: Note 1 = A, Octave 3; Note 2 = A, Octave 4.
  • Semitones: 12 semitones.
  • Ratio Calculation: 2(12/12) = 21 = 2.0.
  • Interpretation: The frequency of A4 (440 Hz) is exactly double that of A3 (220 Hz). This 2:1 ratio is perceived by the human ear as the “same” note, just higher.

How to Use This Note Interval Calculator

  1. Select the First Note: Choose the note name (e.g., C, F#) and the octave (e.g., 4 for middle octave) for your starting pitch.
  2. Select the Second Note: Choose the target note and octave. The calculator allows you to compare notes across different octaves.
  3. Read the Primary Result: The highlighted box shows the standard musical name (e.g., Major 3rd) and the semitone count.
  4. Analyze the Metrics: Look at the “Cents” to understand microtonal tuning or the “Frequency Ratio” for physics calculations.
  5. Visualize: Check the chart to see the relative frequency heights of the two notes.

Use the “Copy Results” button to quickly save the data for your session notes or production logs.

Key Factors That Affect Note Interval Results

When using a Note Interval Calculator, several acoustic and theoretical factors influence the output:

  • Tuning System: This calculator uses 12-Tone Equal Temperament (12-TET). In other systems like Pythagorean or Just Intonation, the frequency ratios for the same interval name (e.g., Major 3rd) would be mathematically different.
  • Enharmonic Equivalents: Notes like C# and Db are treated as identical (same frequency) in this calculator. However, in strict music theory on a staff, a “Diminished 4th” and a “Major 3rd” look different despite sounding the same.
  • Octave Displacement: Compound intervals (intervals larger than an octave, like a 9th) are calculated as the total semitone distance. The harmonic function often remains similar to the simple interval (a 9th functions like a 2nd).
  • Reference Pitch: Standard concert pitch is A4 = 440Hz. If an orchestra tunes to A4 = 442Hz, the absolute frequencies change, though the ratio between notes remains constant.
  • Inharmonicity: On physical instruments like pianos, strings behave stiffly, causing higher harmonics to run sharp. A theoretical calculator assumes ideal mathematical strings, not physical wire stiffness.
  • Psychoacoustics: While the calculator gives a precise ratio, human perception of intervals can vary based on volume (pitch-intensity effect) and context within a chord progression.

Frequently Asked Questions (FAQ)

What is the unit “cent” in the calculator results?

A cent is a logarithmic unit of measure used for musical intervals. There are 100 cents in one semitone and 1200 cents in an octave. It allows for extremely precise tuning measurement.

Why is the frequency ratio for a Perfect 5th not exactly 1.5?

In Equal Temperament, semitones are equally spaced logarithmic steps. A Perfect 5th is 7 steps, so $2^{7/12} \approx 1.4983$. The “pure” 3:2 ratio (1.5) exists in Just Intonation but causes tuning issues in other keys.

Can I calculate intervals for notes lower than C0?

This Note Interval Calculator restricts inputs to octaves 0-8 (standard MIDI/Piano range) to ensure relevance. Frequencies below 20Hz (approx E0) are generally not audible as pitch.

Does this work for guitar tuning?

Yes. For example, to check the interval between strings, input E2 and A2. You will see a Perfect 4th (5 semitones), which is standard guitar tuning.

What is a tritone?

A tritone is an interval of exactly 6 semitones (half an octave). It is known for its dissonant sound and has a frequency ratio of approximately 1.414 ($\sqrt{2}$).

How do I calculate a minor third?

A minor third is 3 semitones. For example, input A4 and C5 into the calculator to see the relationship.

Is semitone the smallest interval?

In Western 12-tone music, yes. However, many cultures use microtones (intervals smaller than a semitone). The “Cents” value helps measure these micro-distances.

How does the calculator handle negative intervals?

If Note 2 is lower than Note 1, the calculator determines the absolute distance in semitones but may indicate a negative frequency difference. The interval name (e.g., Major 3rd) refers to the magnitude of distance.


Leave a Comment