Calculator: Pitch difference in cents

Enter the labelled inputs to calculate: Value (cent); Semitones; Coefficient.

Value (cent)
1200
Semitones
12
Coefficient
2

How the calculation works

c=1200log₂(f₂/f₁); n=12log₂(f₂/f₁)

Equal temperament uses twelve semitones per octave. Reference tuning is user supplied. BPM delay assumes quarter-note beats; dotted and triplet values follow the displayed ratios.

Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

Frequently asked questions

How is the result calculated?

c=1200log₂(f₂/f₁); n=12log₂(f₂/f₁)

What assumptions apply?

Equal temperament uses twelve semitones per octave. Reference tuning is user supplied. BPM delay assumes quarter-note beats; dotted and triplet values follow the displayed ratios.

How precise are the displayed results?

Numerical results show up to ten significant digits. Rounding does not improve the accuracy of the input measurements or the model. Values must satisfy the formula’s domain. Nonzero results too small or too large for reliable representation are rejected.

How we verified this calculator

The calculator is checked against 3 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
Frequency f₁ (Hz) = 440
Frequency f₂ (Hz) = 880
Value (cent): 1200
Semitones: 12
Coefficient: 2
2
Frequency f₁ (Hz) = 440
Frequency f₂ (Hz) = 466.16
Value (cent): 99.98603046
Semitones: 0.9998603046
Coefficient: 1.059454545
3
Frequency f₁ (Hz) = 300
Frequency f₂ (Hz) = 200
Value (cent): -701.9550009
Semitones: -7.019550009
Coefficient: 0.6666666667

How we test our calculators →

Also try:

Back to category →