Between Hertz and Notes
Every musical note has a frequency, measured in hertz (Hz). This calculator translates between the two in both directions, using equal temperament and the A4 reference you choose.
Note, Cents, Frequency and MIDI Number
- Hz to note: the nearest note with its octave, how many cents the frequency lies above or below it, the exact frequency of that note and its MIDI number.
- Note to Hz: the frequency of any note from C0 to B8.
- Sound: a Play button next to each result, so you can hear the tone.
- Tuning reference: A4 is 440 Hz by default; you can set it anywhere from 400 to 480 Hz, for example to 432 or 442.
How Is a Note Calculated from a Frequency?
In equal temperament, each semitone multiplies the frequency by the twelfth root of 2 (about 1.0595), and an octave doubles it. Starting from A4 = 440 Hz, the number of semitones between a frequency f and A4 is 12 × log2(f / 440). The nearest whole number gives the note; the remainder, multiplied by 100, gives the cents. One semitone is 100 cents, so +50 cents is exactly halfway to the next note. To find the pitch of a voice or a recording first, read Hz to Note.