GestureSynth.me

Music theory tool

Cents Difference Calculator

Compare two positive frequencies and see the signed pitch difference in cents and semitones.

cents difference calculator

Cents Difference Calculator Guide

Compare two positive frequencies and see the signed pitch difference in cents and semitones. Start with the values in the tool and compare the result against the worked case below. Each input is labeled with its unit or pitch convention so you can carry the result into a score or audio project.

The tool updates from the values you enter, and Reset restores its starting settings. Your entries are processed in this page. The tool does not need an account, camera access or microphone access.

Play the instrument ↑
Task
Cents Difference
Input
Enter or choose values above
Result
Calculated in the browser
Reference
Worked cases below

How the calculation works

Cents are a logarithmic measure of pitch distance. Divide the measured frequency by the reference and take the base-two logarithm of that ratio. Multiply by 1200 to get cents. Doubling the frequency therefore adds 1200 cents, and dividing it by two subtracts the same amount. A positive number means the measured frequency is higher than the reference.

Work through a first example

With reference 440 Hz and measured 442 Hz, the result is about +7.85 cents. Listen to the reference and measured tones separately, then switch their input positions. The magnitude should be the same and the sign reverses. The difference is not a fixed number of cents per hertz because the calculation depends on their ratio.

Compare a second set of inputs

Compare 440 and 880 Hz to obtain +1200 cents, exactly one octave. Compare 220 and 440 Hz in the same order and the distance is also +1200 cents despite the smaller gap in hertz. For a semitone above 440 Hz, use 440 times two to the power one twelfth, approximately 466.164 Hz.

Apply the result in a music project

When checking a note, establish its reference separately using the note frequency calculator. Then enter the measured frequency and decide how much of the difference is worth correcting. A small difference can be a reference-setting mismatch rather than a different MIDI note. Compare a steady region of the sound and keep the sign consistent when recording the result.

First find which frequency belongs in the reference field. If a tuner should compare an incoming pitch with 440 Hz, enter 440 there and put the measured pitch in the target field. To compare two alternate temperaments, use the same nominal note from both systems. A difference of a few hertz will matter more in a low register because cents express a frequency ratio. Playback gives a relative ear check, but does not measure your microphone or a recording.

Swap the two inputs after recording a result. The difference should keep its magnitude and reverse sign. This check catches the common mistake of copying the absolute value into a calibration sheet where direction matters. One cent is one hundredth of an equal-tempered semitone.

Check the input and its limits

Both inputs must be positive frequencies. Zero is not a pitch reference for a logarithmic ratio, and a negative frequency cannot be entered as a way to request a downward interval. Keep both inputs in hertz. The calculator does not determine a key, track a voice, or identify whether a discrepancy is an intended expressive bend.

Answers before you play

Cents Difference Calculator FAQ

How can I check the first result?

With reference 440 Hz and measured 442 Hz, the result is about +7.85 cents. Listen to the reference and measured tones separately, then switch their input positions. The magnitude should be the same and the sign reverses. The difference is not a fixed number of cents per hertz because the calculation depends on their ratio.

Do negative cents mean the input is invalid?

No. A negative result simply means the target frequency is lower than the reference. The two input frequencies must both be positive; the signed difference itself can be positive, zero or negative.

What should I check before using the result?

Both inputs must be positive frequencies. Zero is not a pitch reference for a logarithmic ratio, and a negative frequency cannot be entered as a way to request a downward interval. Keep both inputs in hertz. The calculator does not determine a key, track a voice, or identify whether a discrepancy is an intended expressive bend.

Do I have to grant camera or microphone permission?

No. Cents Difference Calculator works from the values or taps you provide on the page. If the tool includes playback, the Play button creates sound in the browser; playback does not record or send audio.