Boneyard Tools

Cents Interval Calculator

Enter two frequencies in hertz and this tool reports the interval between them in cents, the pitch ratio (f2 divided by f1), and the equivalent number of semitones. There are 1200 cents in an octave and exactly 100 cents in an equal temperament semitone. It is handy for checking intonation, comparing tuning systems, or seeing how far a note has drifted from concert pitch.

How to use the cents calculator

  1. Type your reference pitch into the Frequency 1 field, in hertz.
  2. Type the pitch you are comparing into the Frequency 2 field, also in hertz.
  3. Read the Interval panel: the size in cents is shown in large type.
  4. Below it, check the semitone count and the pitch ratio for the same interval.
  5. Click Copy to grab the full result as a single line of text.

Examples

An octave (Frequency 2 is double Frequency 1)

440 Hz to 880 Hz
1200 cents, 12 semitones, ratio 2

A just perfect fifth (ratio 3 to 2)

220 Hz to 330 Hz
701.96 cents, 7.02 semitones, ratio 1.5

One equal temperament semitone above A4

440 Hz to 466.16 Hz
99.99 cents, ratio 1.0595

Frequently asked questions

How are cents calculated between two frequencies?

Cents equal 1200 times the base-two logarithm of the frequency ratio, written 1200 x log2(f2 / f1). Because an octave doubles frequency, log2(2) is 1 and the octave works out to exactly 1200 cents.

How many cents are in a semitone?

There are 100 cents in an equal temperament semitone, so twelve semitones fill the 1200 cent octave. The calculator divides the cents value by 100 and shows that semitone count next to the result.

What units do I enter, and does the tool round?

Enter both values in hertz. Decimals are fine, for example 466.16 Hz. The interval, semitones and ratio are displayed rounded to two or four places, which is why a nominal 100 cent semitone reads as 99.99.

What does a negative cents value mean?

A negative value means Frequency 2 is lower than Frequency 1, so the interval points downward. Its size is the same as the upward interval, only the sign flips. For example 880 Hz to 440 Hz gives minus 1200 cents.

Why use cents instead of a hertz difference?

A gap measured in hertz sounds much wider at low pitches than at high ones, because pitch is logarithmic. Cents describe the perceived interval size no matter where it sits on the keyboard, so intonation comparisons stay fair.

What is the pitch ratio the tool shows?

It is simply Frequency 2 divided by Frequency 1. A ratio of 2 is an octave, 1.5 is a just perfect fifth, and about 1.3333 is a just perfect fourth. Ratios are how tuning systems like just intonation are defined.

Why is a just fifth 701.96 cents and not 700?

700 cents is the equal temperament fifth, tuned so twelve fifths close the circle. The pure 3 to 2 ratio of a just fifth is slightly wider, about 701.96 cents, and that roughly two cent gap is the compromise behind equal temperament.

How precise is a cent, and how close should I tune?

A cent is one hundredth of a semitone and sits near the limit of what a trained ear can detect on sustained tones. Tuners commonly aim within a few cents of the target, and beats between two notes fade as the interval nears its pure ratio.

Does my data stay private?

Yes. The calculation runs entirely in your browser using the log2 formula, so the frequencies you type never leave your device and nothing is uploaded to a server.

Learn more

Related tools