Frequency Ratio Calculator

Enter two frequencies in hertz. The calculator divides f2 by f1 and shows the raw ratio plus octaves as log₂(f2/f1). 880 Hz over 440 Hz is 2.0000, one octave. 660 Hz over 440 Hz is 1.5000, a just fifth 3:2. Unison 440 over 440 stays 1.0000. This is not semitones or cents.

Inputs

Enter the base frequency in the first field and the second frequency in the second field. The buttons insert those same two numbers. Octaves and the times figure are results.

Result

Enter both frequencies. The result shows up here.

Semitones from this pair: interval. A shift: Hz transposition. Cents: cents to semitones. Note hertz: frequency from A4. Wave: sound wavelength.

How it works

880 / 440 → 2.0000 and 1.0000 octave
f2880 Hz
f1440 Hz
ratio2.0000

Just intervals are small-number ratios: octave 2:1, fifth 3:2, fourth 4:3, major third 5:4, major second 9:8. The calculator shows the decimal quotient f2/f1, not a colon pair. 880/440 = 2.0000. 660/440 = 1.5000. 550/440 = 1.2500, that is 5:4.

The quotient f2/f1, for example 660/440 = 1.5000. A just fifth stays 1.5000 even though the tempered ratio is 2^(7/12) ≈ 1.4983. The octave count at a quotient of 1.5000 is 0.5850. When f1 is 440 Hz and f2 is 659.26 Hz, the quotient is 1.4983 and the octave count is 0.5833. If you want semitones and cents, open the interval page. There 440 and 660 give 7.02, not a flat 7.

Both frequencies must be positive. f2 may sit below f1: then the ratio is a fraction under 1. When f1 is 880 Hz and f2 is 440 Hz, the quotient is 0.5000, which is 440/880. The second frequency is 2.0000 times lower, and the octave count is -1.0000. When f1 is 330 Hz and f2 is 440 Hz, the quotient is 1.3333, close to a fourth 4:3, and the octave count is 0.4150.

The result has four decimal places so 5:4 (1.2500) and 9:8 (1.1250) do not flatten into a short 1.25. 495/440 = 1.1250, and the octave count is 0.1699. 550/440 = 1.2500, and the octave count is 0.3219. At 220 Hz and 880 Hz the quotient is 4.0000, so the octave count is 2.0000. At 200 Hz and 300 Hz the quotient is 1.5000 again and the octave count is 0.5850, the same fifth in other hertz.

Enter f1 as the denominator and f2 as the numerator, then Calculate. A comma and a period work in both fields. The calculator does not guess which note is the tonic: field order sets the direction.

A generator and an analyzer report hertz. This quotient tells you whether a pair sits near a just ratio before you lock the 12-TET grid. To shift by a known number of semitones, use transposition, not this quotient. Note hertz from A4, cents, and wavelength are on separate calculators.

The octave count is a direct reading of the quotient, because one octave means the frequency doubled. The formula is the base-2 logarithm of f2/f1. At 440 Hz and 880 Hz the quotient is 2.0000 and the octave count is 1.0000. At a matched 440 Hz the octave count is 0.0000. A negative octave count means f2 is lower.

Two bars on the drawing share one scale. The length of each bar follows one of the frequencies you enter. At 440 Hz and 880 Hz the second bar is twice as long, and the label shows the quotient 2.0000. The bars are not notes on a staff and they do not show semitones.

How to use

  1. Enter f1 as the base, for example 440 Hz.
  2. Enter f2, for example 660 Hz for a 3:2 fifth or 880 Hz for an octave.
  3. Click Calculate or choose a button. The quotient at 440 Hz and 880 Hz is 2.0000, and the octave count is 1.0000. For 440 Hz and 660 Hz the quotient is 1.5000 and the octave count is 0.5850. For a matched pair, 440 Hz and 440 Hz, the quotient is 1.0000 and the octave count is 0.0000.
  4. When f2 is lower, the quotient drops below 1. When f1 is 880 Hz and f2 is 440 Hz, the result is 0.5000, which is 2.0000 times lower and -1.0000 octave.
  5. For semitones from the same pair, open the interval page. There 440 and 660 are 7.02, not 1.5000. Note hertz, transposition, cents, and wavelength are on separate pages.

Formula

quotient = f2 / f1

octaves = log2(f2 / f1)

Both frequencies must be greater than zero. A quotient of 2 is one octave, and a quotient of 1 is a unison. Times higher equals the quotient. Times lower is the reciprocal, f1/f2.

The formula has no single author. It is the ordinary frequency ratio from just intonation, plus the octave count as a base-2 logarithm. The calculator does not compute semitones, cents, note hertz, transposition, or wavelength.

f1, f2, and the raw quotient

Ratio = f2 / f1. 880 over 440 is 2.0000, a pure octave, so the octave count is 1.0000. 660 over 440 is 1.5000, a just fifth. Unison 440 over 440 stays 1.0000.

f1
Denominator frequency, in hertz. 440 under f2 = 880 gives 2.0000. You cannot divide by zero hertz.
f2
Numerator frequency, in hertz. 660 over 440 is 1.5000. A lower f2 gives a quotient below 1.
Hz
Hertz on both fields. 660/440 and 300/200 give the same 1.5000. These are not semitones from 12 × log2.
octave
Quotient 2.0000. 880/440 or 440/220. Two octaves is 4.0000, as in 880/220. The octave count is log2 of the quotient: at 2.0000 it is 1.0000, and at 4.0000 it is 2.0000.
log2
The octave count, the base-2 logarithm of the quotient. At 2.0000 it is 1.0000. At 0.5000 it is -1.0000. This is not a semitone count.

Real-life examples

Example 1

At 440 Hz and 880 Hz the quotient is 2.0000. The second frequency is 2.0000 times higher, and the octave count is 1.0000.

Example 2

At 440 Hz and 660 Hz the quotient is 1.5000. The second frequency is 1.5000 times higher, and the octave count is 0.5850.

Example 3

At 330 Hz and 440 Hz the quotient is 1.3333. The second frequency is 1.3333 times higher, and the octave count is 0.4150.

Example 4

At 440 Hz and 550 Hz the quotient is 1.2500. The second frequency is 1.2500 times higher, and the octave count is 0.3219.

Example 5

At 440 Hz and 495 Hz the quotient is 1.1250. The second frequency is 1.1250 times higher, and the octave count is 0.1699.

Example 6

At 220 Hz and 880 Hz the quotient is 4.0000. The second frequency is 4.0000 times higher, and the octave count is 2.0000.

Example 7

At 440 Hz and 440 Hz the quotient is 1.0000. The two frequencies match, and the octave count is 0.0000.

Example 8

At 200 Hz and 300 Hz the quotient is 1.5000. The second frequency is 1.5000 times higher, and the octave count is 0.5850.

Example 9

At 880 Hz and 440 Hz the quotient is 0.5000. The second frequency is 2.0000 times lower, and the octave count is -1.0000.

Ways to use this calculator

  • You check whether two oscillators are near 3:2 before you lock temperament on the keyboard.
  • You compare a harmonic peak with the fundamental. A quotient of 2 is an octave, 1.5 is a fifth, and 1.25 is a major third.
  • You compare 4:3, which is 1.3333, with the pair 330 Hz and 440 Hz when you tune just, not on the MIDI grid.

Frequently asked questions

What is 880/440 and 660/440?

The quotient is 2.0000 and 1.5000. The first pair is one octave, because the base-2 logarithm of 2.0000 is 1.0000. The second is a just fifth 3:2, which is 0.5850 octaves. The calculator divides f2 by f1.

What quotient is a major third 5:4 and a second 9:8?

550/440 = 1.2500 and 495/440 = 1.1250. The calculator rounds the result to four decimal places. The octave counts are 0.3219 and 0.1699. This is a raw quotient, not semitones.

What is 330 Hz to 440 Hz?

When f1 is 330 Hz and f2 is 440 Hz, the quotient is 1.3333, close to a fourth 4:3. Exact 4/3 is 1.3333 at this four-decimal rounding. The octave count is 0.4150.

Do 440 and 440 give 1?

Yes, 1.0000. A unison. Direction disappears because the numerator and the denominator match. The octave count is 0.0000.

What if the second frequency is lower?

The quotient drops below 1. When f1 is 880 Hz and f2 is 440 Hz, the result is 0.5000. The second frequency is 2.0000 times lower, and the octave count is -1.0000.

Why is this not 7 semitones at 440 and 660?

The calculator shows the quotient 1.5000 and an octave count of 0.5850, because octaves are the base-2 logarithm of the quotient. It does not multiply that logarithm by 12, so it does not report semitones or cents. Those 7.02 semitones are on the interval page.

What is 220 Hz to 880 Hz?

When f1 is 220 Hz and f2 is 880 Hz, the quotient is 4.0000. That is two octaves, so the octave count is 2.0000. Each octave multiplies frequency by 2.

Do 200 and 300 Hz also give 1.5?

Yes. When f1 is 200 Hz and f2 is 300 Hz, the quotient is 1.5000 and the octave count is 0.5850. Same fifth 3:2, different hertz. The quotient does not depend on how high the pair sits.

What ratio is a tempered fifth from 440?

When f1 is 440 Hz and f2 is 659.26 Hz, the quotient is 1.4983, not 1.5000. The octave count is 0.5833. The gap is intentional in 12-TET. Here the raw quotient stays.

Does a comma in 261.63 work in both fields?

Yes. 261,63 and 261.63 are the same f. A comma and a period are the same hertz. The calculator does not compute a wavelength from that pair.

Where do octaves and the times figure come from if the form has two fields?

Octaves are the base-2 logarithm of the quotient, and the times figure says how many times one frequency is higher or lower. At 440 Hz and 880 Hz the quotient is 2.0000, the second frequency is 2.0000 times higher, and the octave count is 1.0000. There is no third field.

What does the drawing next to the result show?

Two bars on one scale. Length follows f1 and f2. At 440 Hz and 880 Hz the second bar is twice as long, and the label shows the quotient 2.0000. The drawing is not a staff and it does not show semitones.

How do I calculate the ratio of two frequencies?

Divide the second frequency by the first: ratio = f2 ÷ f1. At 880 Hz and 440 Hz: 880 ÷ 440 = 2.0000. Octaves are log₂(2) = 1.0000.

What is the ratio of a just fifth 3:2?

1.5000. The pair 660 Hz and 440 Hz gives exactly 660 ÷ 440 = 1.5000. Octaves are log₂(1.5) ≈ 0.5850.

What ratio is a just fourth 4:3?

4 ÷ 3 ≈ 1.3333. With f1 = 330 Hz and f2 = 440 Hz the calculator shows 1.3333 and about 0.4150 octaves.

How is this different from the semitone calculator?

Here the result is the raw quotient f2/f1. The semitone calculator finds k = 12 × log₂(f2/f1) and cents. The same 440 and 660 pair is 1.5000 here and ≈ 7.02 semitones there.

What does a result below 1 mean?

f2 sits below f1. At 440 Hz over 880 Hz the ratio is 0.5000 — the second frequency is twice as low, and octaves are −1.0000.

Why does 659.26 Hz over 440 Hz not equal 1.5000?

659.26 Hz is the 12-TET fifth (2^(7/12) × 440). The quotient is ≈ 1.4983. Just 3:2 is 660/440 = 1.5000 — that gap is about two cents on the interval page.

At 440 Hz and 880 Hz the quotient is 2.0000, which is 1.0000 octave.

Knowledge sources

The quotient f2/f1 is the ordinary frequency ratio from just intonation. The octave count is the base-2 logarithm of that quotient. The 440 Hz and 880 Hz example follows A440 concert pitch.

Page updated November 3, 2026.