Frequency to note converter
Type a frequency in hertz to get the nearest note, how many cents it is off, and the exact frequency of that note.
A4
±0 cents
- Nearest note, exactly
- –
- MIDI note number
- –
- Period
- –
- Wavelength in air (20 °C)
- –
- Semitone below
- –
- Semitone above
- –
How to use it
- Type the frequency in Hz. Change the reference only if you work at a pitch other than A4 = 440 Hz, such as 432 or 442.
- Read the note and octave, the offset in cents, the MIDI number, the period and the wavelength in air.
- Play the frequency, the exact note or both together; when they differ slightly you hear them beat.
The formula
Equal temperament divides the octave into twelve equal frequency ratios of 2^(1/12) ≈ 1.059463. The number of semitones from A4 is n = 12 × log₂(f ÷ 440). The nearest whole number is the note, and the remainder times 100 is the offset in cents. With MIDI numbering, where A4 is 69 and middle C (C4) is 60, the note number is 69 + n.
For example, 300 Hz is 12 × log₂(300 ÷ 440) ≈ −6.63 semitones from A4. The nearest note is seven semitones down, D4 at 293.66 Hz, and 300 Hz is about 37 cents sharp of it.
Period and wavelength
The period is how long one cycle lasts: 1 ÷ f seconds, so 440 Hz repeats every 2.273 ms. The wavelength is the speed of sound divided by the frequency. In air at 20 °C sound travels at about 343 m/s, so A4 is about 78 cm long and the lowest note on a piano, A0 at 27.5 Hz, about 12.5 m.
Related tools
Questions people ask
What note is 440 Hz?
A4, the A above middle C, which is the standard tuning reference.
How do I convert Hz to a note?
Work out 12 × log₂(f ÷ 440), round it to the nearest whole number, and count that many semitones up or down from A4. The calculator does this and shows the leftover in cents.
What note is 432 Hz?
At A4 = 440 Hz it is A4, 31.77 cents flat. If you set the reference to 432 it becomes exactly A4.
What is a cent?
A hundredth of an equal-tempered semitone, so an octave has 1200 cents. Cents are logarithmic: the same number of cents is the same musical distance at any pitch.
Which octave numbering does it use?
Scientific pitch notation, in which middle C is C4 and the octave number goes up at each C.
