Cents Deviation From Reference
Calculator

Inputs

Cents deviation
5.891896

Results

Cents deviation
5.891896
Frequency ratio
1.003409
In tune within 5 cents (1 = yes, 0 = no)
0

Music and audio results

Cents deviation5.891896
Frequency ratio1.003409
In tune within 5 cents (1 = yes, 0 = no)0

formula-map diagram

Cents deviation
5.891896
Frequency ratio
1.003409
In tune within 5 cents (1 = yes, 0 = no)
0

Musical and acoustic relationship

Formula

cents = 1200 × log₂(f ÷ f_ref)

= 5.8918969485677

Note

This result is a simplified model: it applies the displayed standard formula to the values you entered, assuming twelve-tone equal temperament, a speed of sound of 343 m/s in dry air at 20 °C, an ideal free field with no reflections or air absorption, purely resistive speaker loads and Sabine's diffuse-field assumption. Real rooms, instruments, codecs and amplifiers depart from these idealisations, so measure with proper instruments for critical work.

Example: with the default inputs, calculator.music.cents_deviation is 5.8918969485676875.

More in Music and audio

See all →

Frequently asked questions

How are cents calculated between two frequencies?+

The calculator uses cents = 1200 × log₂(measured ÷ reference). One octave, a frequency ratio of 2, equals 1200 cents, and one equal-tempered semitone equals 100 cents.

What does a positive or negative result mean?+

A positive result means the measured frequency is above the reference (sharp). A negative result means it is below the reference (flat).

What does the in-tune indicator mean?+

It shows 1 when the absolute deviation is 5 cents or less, and 0 otherwise. The 5-cent threshold is the one built into this calculator, not a universal standard.

Why do I also get a frequency ratio?+

The ratio is measured ÷ reference. It is the value the cents formula takes the logarithm of, so you can see the deviation both ways.

Does it work with any reference frequency?+

Yes. Both frequencies must be greater than zero, and the reference can be any value, for example 440 Hz or the frequency of another note.