ratio to cents converter
Ratio to Cents Converter guide
Use integer or decimal ratio terms to compare a just interval, oscillator ratio, or a measured frequency relationship against a tempered scale.
Play the instrument ↑- Worked example
- A pure fifth has a 3:2 ratio, or about 701.955 cents.
Formula and units
Divide the numerator by the denominator, then multiply its base-two logarithm by 1,200. A ratio above one is positive, a ratio below one is negative, and equal terms give zero cents.
Worked examples
A pure fifth has a 3:2 ratio, or about 701.955 cents. A tempered fifth is 700 cents. Their difference is about 1.955 cents, with the pure fifth slightly wider.
A pure major third at 5:4 is about 386.314 cents, roughly 13.686 cents narrower than the 400-cent tempered major third. Reversing the ratio reverses the sign of the cents value.
Keep the order tied to the comparison
If comparing a target pitch with a reference pitch, place the target in the numerator. This makes a lower target show negative cents. A system may describe a descending fifth as 2:3, while the ascending counterpart uses 3:2. Both magnitudes match because the ratios are reciprocals.
Multiplying the numerator and denominator by the same nonzero number does not change the result. For example, 6:4 and 3:2 describe the same interval. Work with a ratio form that fits the source, and avoid rounding just before subtracting two nearby pitch values.
Combine intervals or compare tuning systems
Successive frequency ratios multiply. Their cents values add because logarithms turn a product into a sum. A pure fifth followed by a pure fourth uses 3:2 times 4:3, which simplifies to 2:1. The two cents values add to the 1,200-cent octave.
Cents give two tuning systems a shared comparison scale but do not force pitches into the twelve-tone system. An unequal temperament can have quite different cents for intervals that share a musical label. Compare the actual ratio and direction before naming the musical interval.
Compare a small set of tuning references
Enter 2 over 1 to verify one octave, and 1 over 2 to verify an octave downward. Both have the same magnitude with opposite sign. Then enter equal values, such as 7 over 7. That represents no frequency difference. These checks help establish whether a ratio was entered as target over reference or in the opposite order.
To compute a pure fourth, enter 4 over 3. It gives approximately 498.045 cents. Add that to the pure fifth’s 701.955 cents to check the octave relationship. This is a convenient validation for spreadsheet formulas that use logarithms with a general base rather than an explicit base-two operation.
A whole tone in one just tuning can be 9:8, about 203.91 cents, or 10:9, about 182.404 cents. Both are near a tempered whole tone but they differ by the 81:80 syntonic comma, approximately 21.506 cents. Divide the two ratios to get that comma instead of subtracting rounded values. The comparison illustrates why a musical name may not specify a unique cents value without a tuning convention.
A frequency ratio may be labeled without a colon, such as 1.4983. Enter that value against one. Before assessing a few cents of difference, confirm the original digits are precise enough. Displaying six decimal places on the calculation does not create accuracy beyond the ratio you measured or copied.
Inputs and assumptions
The tool calculates from the values in the form. Keep the reference and units visible when copying the result to session notes. The displayed precision describes the arithmetic and may exceed what your meter, source file or score can support.
Frequency Ratio Calculator → · GestureSynth music theory tools →
Answers before you play
Common questions
What happens to ratios bigger than an octave?
The calculator reports the full signed interval, without folding it into one octave. A 4:1 ratio is two octaves and produces 2,400 cents. Subtract whole octaves yourself if the goal is pitch-class comparison.
Why are negative ratio inputs rejected?
A frequency relationship uses positive magnitudes. A descending pitch uses a ratio between zero and one. Negative cents arise from the logarithm of that positive fraction, so a minus sign is unnecessary on either ratio input.
Can I enter frequencies as the terms?
Yes, if both use the same unit and fit the supported numeric range. The units cancel. The separate frequency ratio checker is useful when your main task is comparing two actual pitches in hertz.
What if my input is already a decimal ratio?
Enter the ratio as the numerator and one as the denominator. For example, 1.25 and one give the same result as 5:4. Retain enough digits if distinguishing very close tunings.