Cents Difference Calculator
Calculate the difference in cents (hundredths of a semitone) between two frequencies. An essential tool for fine instrument tuning, microtonality and music study.
Cents
—
Measuring the gap between two frequencies
Two notes sound nearly identical and you need to say how far apart they are in musical terms, not in hertz. Hertz will not do it: two hertz is a noticeable gap near A440 and almost nothing up in the high register. Cents fix that, because the scale is logarithmic and the same perceived distance yields the same number anywhere. Type the two frequencies and read the difference below.
The formula is 1200 times the base-2 logarithm of f2 divided by f1. The 1200 comes from splitting the octave into 1200 parts, which makes each equal-tempered semitone worth exactly 100 cents. With 440 and 442 you get 7.851415 cents, a gap a trained ear will catch but nowhere near a semitone. Field order matters: if f2 is smaller than f1, the answer comes out negative.
Some anchors for reading the number: around 5 cents is where most listeners start hearing sustained notes as out of tune, a just major third sits 14 cents below the tempered one, and baroque pitch at 415 Hz is 101.27 cents away from 440, nearly a full semitone. Zero or negative frequencies show a dash. This is not a tuner, there is no microphone and no pitch detection, just the calculation, done in your browser.
Frequently asked questions
How many cents are in an octave?
Why is my result negative?
Can I tune an instrument by ear with this?
Related Tools
ISBN → Book Citation (manual)
Format book citation in APA, MLA, Chicago and ABNT from manual fields: author, year, title, edition, publisher and ISBN.
JSON ↔ XML Converter
Convert between JSON and XML preserving attributes via @attr and text via #text, with pretty-print of the resulting XML.
TSV → Markdown Table
Convert TSV (tab-separated) to a GFM Markdown table with configurable alignment (left, center, right).
Yards to Meters Converter
Convert yards to meters instantly (1 yard = 0.9144 m). Handy for translating football field measurements, fabric lengths and imperial distances.
Butter to Oil Converter
Convert butter to oil (and back) in your recipes, adjusting the amount in the right ratio. Adapt cakes and dishes to the ingredient you have at home.
JSONP to JSON Converter
Strips the callback wrapper of a JSONP response leaving only the JSON contained inside the parentheses.