Skip to content
FiftyCalc Free calculators for all 50 states

Semitone Calculator

Test cases replayed : 2 of 2 match · Methodology · No outside source listed

Find how many semitones and cents separate two pitches, and the frequency any number of semitones above or below a note.

Result

Sample figures

Interval from f₁ to f₂ (semitones)—

Interval from f₁ to f₂ (cents) —

  • Frequency ratio f₂ / f₁—
  • Frequency n semitones from f₁ (Hz)—

Estimate for planning only, not tax, legal, financial or medical advice. This calculator uses the method explained on this page.

Semitone Calculator

Reference frequency f₁, in Hz: enter 0 or more. Prefilled example: 440.

Second frequency f₂, in Hz: enter 0 or more. Prefilled example: 523.25.

Semitones to move from f₁ (negative = down): enter a number. Prefilled example: 7.

How to use this calculator

Fill in the fields in this order; each step takes you to its field.

  1. Reference frequency f₁, in Hz: enter 0 or more.
  2. Second frequency f₂, in Hz: enter 0 or more.
  3. Semitones to move from f₁ (negative = down): enter a number.
  4. Read the result: Interval from f₁ to f₂ (semitones); the panel also shows Interval from f₁ to f₂ (cents), Frequency ratio f₂ / f₁ and Frequency n semitones from f₁ (Hz).

How this calculator works

In twelve-tone equal temperament the octave (frequency ratio 2) is split into 12 equal semitones, so one semitone is a ratio of 2^(1/12) ≈ 1.0595 and one cent is 1/100 of a semitone.

Semitones between two pitches = 12 × log₂(f₂ / f₁); cents = 1200 × log₂(f₂ / f₁). A pitch n semitones away = f₁ × 2^(n/12).

The 440 Hz default is only a starting value; type any reference pitch.

The formula

  1. S=12×log2⁡(f2f1)
Symbols used in the formula
SymbolMeaningUnit
f1Reference frequency f₁Hz
f2Second frequency f₂Hz
SInterval from f₁ to f₂ (semitones)

Worked example

Reference frequency f₁440 Hz
Second frequency f₂523.25 Hz
Semitones to move from f₁ (negative = down)7
Interval from f₁ to f₂ (cents)299.9963
Frequency n semitones from f₁ (Hz)659.2551
Frequency ratio f₂ / f₁1.1892
  1. S=12×log2⁡(523.25440)=2.99996

Interval from f₁ to f₂ (semitones) 3

Each step uses the unrounded value of the step before it; figures on this page are rounded for display.

Frequently asked questions

How many semitones are in an octave?

Twelve. An octave doubles the frequency, and each equal-tempered semitone multiplies it by the twelfth root of 2.

What is 7 semitones above 440 Hz?

About 659.2551 Hz (440 × 2^(7/12)), the equal-tempered fifth above it.

Related calculators