Semitone Calculator

Calculate the signed pitch difference between two frequencies in semitones and cents, or find a new frequency after a pitch shift.

Result
—

How to calculate

Take the base-2 logarithm of the frequency ratio and multiply by 12. Each semitone contains 100 cents. To apply a shift, multiply the starting frequency by two raised to the semitone change divided by 12.

Worked example

Use Find Semitones between two frequencies · First frequency (Hz) 440 · Second frequency (Hz) 880. The result is 12 semitones.

Input and result notes

A negative value lowers the pitch. Decimal intervals are supported. Doubling the frequency raises the pitch by one octave.

UNSW note frequency, MIDI number, and wavelength reference

Related calculators