audio.cihat.dev

Equal temperament calculator

See every step of 12-tone or any other equal temperament in cents, ratios and hertz, beside the nearest pure interval.

Each step: size in cents, frequency ratio, frequency, and the nearest simple just ratio within 25 cents
StepCentsRatioHzNearest just ratioDifference (cents)Play

Ratio and cents converter

How to use it

  1. Leave the divisions at 12 for standard tuning, or try 19, 24, 31 or 53 to explore other equal temperaments.
  2. Set the starting frequency; the default is middle C, 261.6256 Hz at A4 = 440. Each row lists the step’s size, ratio and frequency.
  3. Compare each step with the nearest simple just ratio and play it against the starting note. Use the converter below for any ratio or cent value.

The equal temperament formula

An equal temperament divides the octave, a 2:1 frequency ratio, into n equal steps. Step k has the ratio 2^(k/n) and measures 1200 × k ÷ n cents. In 12-TET every semitone is 2^(1/12) ≈ 1.059463, or exactly 100 cents, so music can move to any key and sound the same.

The price is that no interval except the octave is pure. A just (pure) interval is a ratio of small whole numbers, such as 3:2 for a fifth or 5:4 for a major third, and the cents formula 1200 × log₂(ratio) shows how far each one lies from the tempered step.

IntervalJust ratioJust (cents)12-TET (cents)12-TET minus just
Minor third6:5315.64300−15.64
Major third5:4386.31400+13.69
Fourth4:3498.04500+1.96
Fifth3:2701.96700−1.96
Major sixth5:3884.36900+15.64
Octave2:1120012000

Other divisions

Some equal temperaments come closer to pure intervals than 12 does. 19-TET has a nearly pure minor third, 31-TET is close to quarter-comma meantone, and 53-TET matches both pure fifths and thirds to within about a cent and a half. 24-TET adds quarter tones. In Turkish makam theory the whole tone is commonly divided into nine commas, which is why 53 divisions of the octave come up in it.

Questions people ask

What is equal temperament?

A tuning in which the octave is split into equal frequency ratios. In 12-tone equal temperament each semitone is 2^(1/12), about 1.0595, and 100 cents.

How many cents is a perfect fifth?

In 12-TET exactly 700. A pure 3:2 fifth is 701.96 cents, so the tempered fifth is about 2 cents narrow.

How do I convert a ratio to cents?

Cents = 1200 × log₂(ratio). For 5:4, 1200 × log₂(1.25) ≈ 386.31 cents. The converter on this page does it both ways.

Why is equal temperament used on pianos?

It lets every key sound equally in tune, so a piece can be played in any key without retuning. The small impurity of each interval is the trade.

Is a piano tuned exactly to equal temperament?

Close, but its octaves are stretched slightly wider than 2:1 because stiff strings have sharp overtones. The exact amount depends on the instrument.