Skip to content
12notez

Cents and Semitones Explained

What a semitone and a cent are, the ratio and formula behind each, and how a speed change of 80 or 105 percent moves a song between keys.

·By Sudeep Jain

A semitone is the step between two neighboring piano keys, and a cent is one hundredth of that step. Twelve semitones, or 1200 cents, make an octave, which doubles the frequency. Cents measure how far a note sits from the one you meant, and a speed change on a recording moves its pitch by an amount you can calculate. The pitch changer has a slider for each unit, and this guide shows the arithmetic behind both.

How many cents are in a semitone and an octave?

In equal temperament, a semitone is 100 cents and an octave is 12 semitones, so 1200 cents. This is the tuning system most keyboards and software use today. Every semitone is the same size on a logarithmic scale. A fifth, seven semitones, is 700 cents.

How to transpose a song to your voice counts whole semitones. Cents come in when the shift is smaller than a step.

What is the frequency ratio of a semitone?

Each semitone multiplies the frequency by the twelfth root of 2, which is about 1.059463. Do it twelve times and you get exactly 2. For a shift of n semitones the ratio is 2 raised to the power n over 12.

  • One semitone up from A4 at 440 Hz: 440 times 1.059463 is 466.16 Hz.
  • Two semitones up: 2 to the power 2 over 12 is 1.122462, so 440 becomes 493.88 Hz.

The step is a ratio, not a fixed number of hertz. At 440 Hz a semitone is about 26 Hz wide. At 100 Hz it is about 6 Hz. The guide to A4 and note frequencies covers the 440 Hz reference.

What is the frequency ratio of a cent?

One cent multiplies the frequency by the 1200th root of 2, which is about 1.000578, a rise of 0.058 percent. For c cents the ratio is 2 raised to the power c over 1200.

  • 1 cent above 440 Hz is 440.25 Hz.
  • 50 cents above 440 Hz is 452.89 Hz, halfway between A4 and A sharp 4 on a logarithmic scale.

Like the semitone, a cent is a ratio. One cent is 0.25 Hz at 440 Hz and 0.06 Hz at 100 Hz.

How many cents sharp or flat is a note?

Take the measured frequency and the frequency of the note you expect. The distance in cents is 1200 times the base 2 logarithm of their ratio. A positive answer is sharp and a negative one is flat.

  • A tone measured at 450 Hz against A4 at 440 Hz: 1200 times log2 of 450 over 440 is 38.9, so about 39 cents sharp.
  • A low note at 100 Hz. The nearest note is G2, which is 98.00 Hz. The distance is 35.0, so 35 cents sharp.

The tone generator does this check for you. With Set the pitch by on Frequency, type a value into the Frequency box. Beside the large readout it prints the nearest note and its offset, such as Nearest note A4 (+39 cents) for 450 Hz. The box accepts decimals, and the +0.1 and -0.1 buttons nudge it by a tenth of a hertz. It plays one tone at a time, so you compare two pitches by playing one, changing the value and playing the other. You hear the gap in sequence, not the beating that two sources sounding together would give.

How small a pitch difference can people hear?

It depends on the person, the note and the sound. A figure often quoted for the smallest difference people can tell apart is about 5 to 6 cents. The threshold moves with frequency, loudness and tone quality, and adults reliably recognize differences as small as 25 cents. A single cent between two notes played one after the other is too small to hear.

Two notes sounding together reveal more. In harmony, very small pitch changes cause large changes in the beating and roughness of a chord, which is why a loop that sounds fine alone can sound off beside a piano at standard pitch. Treat 5 to 6 cents as the sharpest case and 25 cents as a gap most adults pick out reliably.

Why does changing speed change pitch by a number of cents?

Play a recording at a speed ratio r and every frequency is multiplied by r. The pitch change in cents is 1200 times log2 of r. In semitones it is 12 times log2 of r. These are the same formula as before with the speed ratio in place of the frequency ratio.

Three cases. Enter 100 as Sample's tempo and the new value as Project tempo in the sample pitch calculator and it gives these figures:

  • 80 percent speed: minus 386 cents, minus 3.86 semitones. The slowed reverb tool rounds that to minus 3.9 under the Speed slider when Keep pitch is off.
  • 105 percent speed: plus 84 cents, plus 0.84 semitones. The track runs 95.24 percent as long.
  • 96 percent speed: minus 71 cents, minus 0.71 semitones. The track runs 104.17 percent as long.

As a rule, each 1 percent of speed is about 17 cents near 100 percent, so 6 percent is almost exactly a semitone, at 101 cents.

The pitch changer's Speed (pitch kept) slider is different. It changes length and leaves pitch alone, so it never moves a track by cents. Changing pitch without changing speed explains the difference, and slowed reverb, nightcore and 8D audio explained covers the tool where pitch follows speed.

What does between keys mean?

A song is between keys when its pitch lands somewhere other than a whole number of semitones from the original. At 80 percent speed the shift is 386 cents. The nearest whole step is minus 4, which is 400 cents. So the song is 14 cents sharp of that key. An A major song comes out near F major.

At 105 percent the shift is plus 84 cents. The nearest step is plus 1, which is 16 cents above the result, so an A major song comes out near A sharp major, 16 cents flat. At 96 percent it comes out near G sharp major, 29 cents sharp.

The sample pitch calculator shows this on a line called New key when you set a key under Sample's key (optional). In the pitch changer, set Song key and Mode under Key helper (optional). Set Pitch to the whole semitones and Fine tune to the leftover cents. For the 80 percent case, with A and Major chosen, Pitch at -4 and Fine tune at +14 read New key: F major, with a note that the song sits 14 cents sharp of it. The key helper spells every black-key note as a sharp, so you see A#, not B flat. The key finder names a key from a recording but does not report cents.

How do you land exactly on a key?

Three ways.

  1. Choose a speed that gives a whole number of semitones. The speed for minus 4 semitones is 79.37 percent, minus 3 is 84.09 percent, and plus 1 is 105.95 percent. The slider moves in whole percents, so 79 is the closest to minus 4 and sits 8 cents flat of it.
  2. Pull the result onto the key with Fine tune. If the 80 percent track sits 14 cents sharp, load the slowed file in the pitch changer and set Fine tune to minus 14.
  3. Keep tempo and key apart. In the pitch changer, Pitch sets the key and Speed (pitch kept) sets the tempo, and neither moves the other.

How to match a sample to your project tempo shows the same trade for a loop, including tempos that land on whole semitones.

Checks and common mistakes

  • Cents are a ratio. 10 cents is a different number of hertz at 100 Hz and at 1000 Hz.
  • The Fine tune slider runs from -100 to +100 cents. Anything beyond that is a semitone, so use Pitch.
  • A 3 percent speed change is already about 51 cents, half a semitone. Check the figure before you call a change small.
  • Positive is sharp and negative is flat. A slowed track goes flat.

Sources

More guides