1001Ferramentas
🎚️Converters

Cents Difference Calculator

Calculate the difference in cents (hundredths of a semitone) between two frequencies. An essential tool for fine instrument tuning, microtonality and music study.

Cents

Measuring the gap between two frequencies

Two notes sound nearly identical and you need to say how far apart they are in musical terms, not in hertz. Hertz will not do it: two hertz is a noticeable gap near A440 and almost nothing up in the high register. Cents fix that, because the scale is logarithmic and the same perceived distance yields the same number anywhere. Type the two frequencies and read the difference below.

The formula is 1200 times the base-2 logarithm of f2 divided by f1. The 1200 comes from splitting the octave into 1200 parts, which makes each equal-tempered semitone worth exactly 100 cents. With 440 and 442 you get 7.851415 cents, a gap a trained ear will catch but nowhere near a semitone. Field order matters: if f2 is smaller than f1, the answer comes out negative.

Some anchors for reading the number: around 5 cents is where most listeners start hearing sustained notes as out of tune, a just major third sits 14 cents below the tempered one, and baroque pitch at 415 Hz is 101.27 cents away from 440, nearly a full semitone. Zero or negative frequencies show a dash. This is not a tuner, there is no microphone and no pitch detection, just the calculation, done in your browser.

Frequently asked questions

How many cents are in an octave?
Exactly 1200. Doubling the frequency always gives 1200 cents, whether from 100 to 200 Hz or from 1000 to 2000 Hz.
Why is my result negative?
Because f2 is lower than f1. The sign shows the direction of the interval; swap the fields if you want the positive number.
Can I tune an instrument by ear with this?
Not directly. It compares two numbers, so you still need a tuner or a spectrum analyser to get the measured frequency.

Related Tools