Example 1
440 Hz and 880 Hz -> 12.00 semitones.
Enter two frequencies in hertz. The calculator finds the interval with k = 12 × log₂(f2/f1), plus cents and the ratio f2/f1. 440 and 880 Hz give exactly 12 semitones (an octave). 440 and 660 Hz, a just fifth 3:2, give about 7.02, not 7. The nearest equal-tempered interval name comes from that same pair.
Enter both frequencies. The result shows up here.
Raw quotient: frequency ratio. Cents from a tuner: cents converter. A hertz shift: transposition. Start from A4: note frequency.
In equal temperament the semitone count between two tones is twelve times the base-2 log of f2/f1. An octave, ratio 2, gives k = 12. A unison, f2 = f1, gives 0. Two octaves, 110 Hz to 440 Hz, give 24. That is the same grid that multiplies by 2^(k/12) on the transposition page.
A just fifth 3:2 does not land on 7. 660/440 = 1.5, and 12 × log2(1.5) ≈ 7.02 semitones, about 702 cents. The 12-TET fifth is 2^(7/12) and about 659.26 Hz from A4. The pair 440 and 659.26 returns 7.00. The gap of about 2 cents is what lets twelve fifths close the octaves.
When f2 sits below f1, k is negative. 880 Hz down to 440 Hz is minus 12, not a form mistake. 440 and 415.30 Hz give −1.00, a semitone down. Both frequencies must be positive: a log of zero or a negative has no place here.
Cents are semitones times 100. The cents result uses one decimal place, and the semitone result uses two. 440 and 466.16 Hz is 1.00 semitone, one hundred cents. This is not a microphone tuner. The calculator uses two entered numbers.
Enter f1, then f2, and click Calculate. A comma and a period both work in either field. If you want the raw quotient without a logarithm, open the frequency ratio calculator. If a tuner already gave cents, convert them on the cents calculator.
To go the other way, take k and a base on transposition: 440 Hz and k = 7 give 659.26 Hz. Or start from A4 on note frequency when the base should stay 440.
The calculator also shows the ratio f2/f1. At 440 Hz and 880 Hz that ratio is 2.00000. The interval name follows the semitones rounded to the nearest equal-tempered step. Twelve semitones is an octave, and seven semitones is a tempered fifth. When the second frequency is lower, the result stays negative and the direction is down.
k = 12 × log2(f2 / f1)
Cents = k × 100. Ratio = f2 / f1.
Both frequencies are greater than zero. Negative k is correct when f2 sits below f1. The name is the nearest equal-tempered step after rounding k. A cent is one hundredth of that semitone. Alexander John Ellis defined that unit in 1885.
Here k = 12 × log2(f2/f1). 440 and 880 are exactly 12 semitones. 440 and 660, a just fifth 3:2, is 7.02, not 7. Cents = k × 100. Ratio = f2/f1.
440 Hz and 880 Hz -> 12.00 semitones.
440 Hz and 660 Hz -> 7.02 semitones, not 7.
220 Hz and 440 Hz -> 12.00 semitones.
440 Hz and 440 Hz -> 0.00, the same pitch.
440 Hz and 466.16 Hz -> 1.00 semitone.
440 Hz and 415.30 Hz -> -1.00 semitone.
440 Hz and 659.26 Hz -> 7.00 semitones.
110 Hz and 440 Hz -> 24.00 semitones.
A clean 12.00, or 1200 cents, and the ratio is 2. That is an octave up. 220 to 440 also gives 12.00.
660/440 is a just fifth 3:2. In 12-TET a fifth is 2^(7/12), about 659.26 Hz. The gap is about 2 cents.
7.00 semitones and 700 cents. That is the grid fifth, not 3:2.
k comes out negative. 880 Hz to 440 Hz is minus 12. 440 and 415.30 Hz is −1.00.
1.00, one hundred cents. 466.16 Hz is A4 plus one semitone in 12-TET.
24.00 semitones, two octaves. 440/110 = 4, and 12 × log2(4) = 24.
Yes, 0.00 semitones and 0 cents. A unison, the log of 1.
On the frequency-ratio page. There 660/440 stays 1.5000.
Take k and a base on transposition. 440 and 7 give 659.26 Hz.
Yes. 466,16 and 466.16 are the same f2. Against 440 the result is 1.00.
The calculator rounds the semitone count to the nearest equal-tempered step and gives that step a name. Twelve semitones is an octave, and seven semitones is a tempered fifth. When the result does not land on a grid step, the name sits next to an offset in cents. Up or down follows the sign of the result.
Use k = 12 × log₂(f2/f1). At 440 Hz and 880 Hz: 12 × log₂(2) = 12.00. Cents are k × 100, and the ratio is f2/f1.
Exactly 12.00 — one octave up, the same as 440 to 880. The ratio is 2, and cents are 1200.
k = 12 × log₂(442/440) ≈ 0.0785 semitone, about 7.85 cents. That is a small concert-pitch drift, not a full semitone.
Here you enter two hertz values and get k from a logarithm. The cents converter divides ready tuner cents by 100 and does not ask for f1 or f2.
Transposition takes one f1 and a semitone count k, then finds new f2 = f1 × 2^(k/12). Here both frequencies are inputs, and k is the result.
Because a Hz pair rarely lands exactly on the 12-TET grid. 440 and 660 give ≈ 7.02. The interval name uses the nearest step after rounding k.
The interval on this page is a step of twelve-tone equal temperament. The cent is Alexander John Ellis’s unit from 1885. The 440 Hz example follows A440 concert pitch.
Page updated November 3, 2026.