Cents and Pitch Interval Calculator

Quick answer

The interval between two frequencies in cents is 1200 times the base-two log of the higher over the lower. From 440 to 466.16 Hz is 100 cents, one semitone. There are 1200 cents in an octave and 100 in an equal-tempered semitone. Enter two frequencies to see the interval.

Updated 2026-09-09By Shakeel MuzaffarReviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Music and Audio
The reference or lower frequency.
The frequency to compare against the first.
Interval
--
In semitones--
Frequency ratio--
In octaves--

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)

How to Use the Cents Interval Calculator

  1. Enter the first, reference frequency in hertz.
  2. Enter the second frequency to compare.
  3. Read the interval in cents, the standard fine unit of pitch.
  4. See the same interval in semitones, as a ratio and in octaves.
ResultWhat it means
IntervalThe distance between the pitches in cents.
In semitonesThe same interval in equal-tempered semitones.
Frequency ratioThe second frequency divided by the first.
In octavesThe interval expressed as a fraction of an octave.

A positive value means the second frequency is higher; a negative value means it is lower.

What Is a Cent?

A cent is the standard fine unit for measuring musical intervals. There are 1200 cents in an octave and 100 cents in an equal-tempered semitone, so a cent is a hundredth of a semitone, far smaller than most people can hear on its own.

Cents let musicians and tuners describe tiny differences in pitch precisely. Saying a note is 15 cents sharp is far clearer than trying to express the same thing as a fraction of a hertz. Because a cent is the same size relative to pitch anywhere on the scale, it gives tuners, instrument makers and software a single shared language for describing how close two notes really are, from the deepest bass to the highest treble.

How Does the Cents Calculation Work?

Formula: cents = 1200 x log2(f2 / f1)
  1. Divide the second frequency by the first to get their ratio.
  2. Take the base-two logarithm of that ratio.
  3. Multiply by 1200, the number of cents in an octave.
  4. Divide by 100 for the interval in semitones.

Because the scale is logarithmic, the same interval gives the same number of cents no matter where it sits on the frequency range, which is exactly how our ears perceive pitch rather than raw frequency gaps.

Cents Interval Example

Compare 440 hertz, concert A, with 466.16 hertz, the A sharp above it. The ratio is about 1.0595, and 1200 times the base-two log of that is almost exactly 100 cents, one semitone. Now compare 440 with 445: the interval is about 19.6 cents, meaning the second note is roughly a fifth of a semitone sharp, enough to sound noticeably out of tune. That gap of just five hertz barely looks like anything written down, yet in cents it is immediately obvious as a tuning error a careful listener would flag straight away.

What Affects the Interval in Cents

The Frequency Ratio

Cents depend only on the ratio of the two frequencies, not their absolute values, so 100 to 200 Hz is the same octave as 400 to 800.

Direction

If the second frequency is lower than the first, the interval is negative, showing a drop in pitch.

Tuning System

Equal temperament puts semitones at exactly 100 cents, while just intonation places some intervals a few cents away.

Reference Choice

Swapping which frequency is first flips the sign but keeps the size of the interval the same.

Intervals Compared in Cents

Common intervals have well-known cent values in equal temperament.

IntervalCentsSemitones
Semitone1001
Whole tone2002
Perfect fifth7007
Octave120012

A just perfect fifth is about 702 cents, two cents wider than the equal-tempered fifth, a difference trained ears can notice, and it is one reason some players prefer the sound of just intonation.

When to Use a Cents Calculator

Checking Tuning

Measure how far a note is from its target pitch, in the same units a tuner uses.

Comparing Temperaments

See how just or historical tunings differ from equal temperament, interval by interval.

Sound Design

Set precise detune amounts on oscillators, where cents are the standard control.

Common Cents Mistakes

1. Using Hertz Differences

A fixed hertz gap is a bigger interval at low pitches than high ones; cents fix this by using ratios.

2. Ignoring the Sign

A negative result simply means the second note is lower, not that anything is wrong.

3. Confusing Cents and Semitones

There are 100 cents in a semitone, so do not read 100 cents as 100 semitones.

4. Expecting Just and Equal to Match

Just intervals sit a few cents from equal-tempered ones, so small differences are expected.

Accuracy and Limitations

The cents formula is exact for any two frequencies, so the interval is precise. It measures pitch distance, not which notes are named.

What it calculates accurately

  • The interval in cents between two frequencies
  • The equivalent in semitones and octaves
  • The exact frequency ratio

What it does not do

  • Name the notes or the interval type
  • Decide which tuning system you are using
  • Account for overtones or timbre

How We Calculate the Result

Method
Cents equal 1200 times the base-two log of the ratio of the two frequencies; semitones are cents over 100.
Inputs used
Two frequencies in hertz.
Assumptions
1200 cents per octave; 100 cents per equal-tempered semitone.
Rounding
Cents to one decimal, semitones to two, ratio to four decimals.
Edge cases
Both frequencies must be above zero; a lower second frequency gives a negative interval.
Sources
See Sources below.
Last reviewed
2026-09-22.

Frequently Asked Questions

How do you calculate cents between two frequencies?

Cents equal 1200 times the base-two logarithm of the higher frequency divided by the lower. From 440 to 466.16 Hz is 100 cents.

How many cents are in a semitone?

There are 100 cents in an equal-tempered semitone, and 1200 cents in a full octave.

What is a cent in music?

A cent is a hundredth of a semitone, the standard fine unit for describing small differences in pitch and tuning.

How many cents can people hear?

Trained listeners can often notice differences of about 5 to 10 cents, while a difference under 3 cents is very hard to detect.

Why use cents instead of hertz?

A fixed hertz gap is a larger interval at low pitches than high ones. Cents use the ratio, so the same interval is the same value anywhere.

What is the cents value of a perfect fifth?

An equal-tempered perfect fifth is 700 cents. A pure, just fifth is about 702 cents, two cents wider.

Can the interval be negative?

Yes. If the second frequency is lower than the first, the interval is negative, showing a drop in pitch.

How do I detune an oscillator by cents?

Enter your base frequency and the detuned one to see the cents between them, or work backwards from the cents you want.

Is my data saved?

No. The calculator runs entirely in your browser and nothing you enter is stored or sent anywhere.

Sources

Related Calculators

Fine-tuning your pitch?

Explore all hobby calculators

For music and educational use. Cents measure pitch distance in equal-tempered terms; naming notes and intervals, and choosing a tuning system, are up to you. Spotted an error? Let us know.

Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.