Just Intonation Vs Equal Temperament
Calculator

Inputs

Just intonation ratio
1.25

Results

Just intonation ratio
1.25
Just intonation (cents)
386.313713
Equal temperament (cents)
400
Deviation (cents)
-13.686286

Music and audio results

Just intonation ratio1.25
Just intonation (cents)386.313713
Equal temperament (cents)400
Deviation (cents)-13.686286

formula-map diagram

Just intonation ratio
1.25
Just intonation (cents)
386.313713
Equal temperament (cents)
400
Deviation (cents)
-13.686286

Musical and acoustic relationship

Formula

cents = 1200 × log₂(p ÷ q)

= 1.25

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.just_ratio is 1.25.

More in Music and audio

See all →

Frequently asked questions

What does this calculator compare?+

It converts a just-intonation ratio p:q into cents with 1200 × log₂(p ÷ q), then compares it with the nearest whole number of equal-tempered semitones.

How do I enter a major third?+

Enter 5 as the numerator and 4 as the denominator, which is the default. Other intervals work the same way, for example 3:2 for a perfect fifth.

What does the deviation in cents mean?+

It is the just interval in cents minus the nearest equal-temperament value, which is a multiple of 100 cents. A positive result means the just interval is wider.

Why is the equal-temperament value always a multiple of 100?+

Because the calculator rounds the just interval to the nearest semitone and multiplies by 100 cents. Equal temperament has only whole-semitone steps in this comparison.

Does it work for any ratio?+

Both numbers must be greater than zero. Intervals within a semitone of the same step are matched to that step, so very large or very small ratios still give a result.