Enter a frequency in hertz to find the nearest musical note, its octave, its MIDI number and the tuning offset in cents. Use the note input mode for the reverse calculation. The converter uses twelve-tone equal temperament and lets you set the A4 reference before calculating.
If you still need to measure a sound, use the pitch identifier for a single live tone or the audio file pitch detector to follow a local recording. This calculator works with the number or note you enter and needs no microphone access.
Convert Hz to a note
- Choose frequency input mode and type the measured value. The frequency field accepts 0.1 to 20,000 Hz.
- Set the A4 reference. Choose 440, 432 or 442 Hz from the presets, or enter a reference from 400 to 480 Hz.
- Choose sharps or flats for note labels and select Convert.
- Read the nearest note and cents offset together. Use Play reference at a comfortable device volume when the frequency falls in the available playback range.
For example, at A4 = 440 Hz, 440 Hz gives A4 and zero cents. Enter 445 Hz at the same reference and the result stays A4, about +19.56 cents. Change A4 to 442 Hz and the same 445 Hz input is about +11.71 cents from its nearest note. The input frequency stays constant throughout those comparisons.
How the conversion works
The converter maps the input frequency f onto a fractional MIDI number using 69 + 12 × log2(f / A4). It rounds the fractional value to find the nearest equal-tempered semitone. The difference between the fractional MIDI value and that semitone, multiplied by 100, gives the signed cents offset. An exact midpoint rounds to the higher note.
Octaves have a frequency ratio of two. That is why 220 Hz, 440 Hz and 880 Hz are A3, A4 and A5 under the same A4 reference. A semitone uses the smaller ratio of 21/12. Adding a fixed number of hertz at every note would produce different musical distances at different parts of the scale.
| Frequency | Nearest note | MIDI |
|---|---|---|
| 220 Hz | A3 | 57 |
| 261.625565 Hz | C4 | 60 |
| 440 Hz | A4 | 69 |
| 880 Hz | A5 | 81 |
Convert a note to frequency
Select the note input mode and enter a letter plus octave. Add an accidental when needed, as in F#4 or Bb3. The converter applies that note's distance from A4 and calculates its frequency under your tuning reference. C4 is middle C under the octave numbering used here. When another app calls the same piano key C3 or C5, compare the MIDI number or the frequency to resolve the label difference.
Changing sharps to flats can display the same frequency as F♯4 or G♭4. This follows the equal-tempered model. A partner, keyboard or recording made with a different tuning reference can give a different target frequency even when the displayed note name matches.
Use the right frequency for the comparison
If you found a number on the live spectrum, check whether that peak actually describes the note you heard. For a guitar note made up of several harmonics, the largest peak can lie above its fundamental. Converting that largest component alone may give a note an octave higher than expected. Measure a single isolated sound again if you are unsure which frequency to use.
The decimal places in a calculated value describe the model, while your microphone or tuner contributes its own measurement uncertainty. Round an exported result to suit the accuracy of your input. A note near a midpoint can move to the adjacent note when the input varies slightly, and the cents sign changes because the calculator now compares it against a new target.
Frequently asked questions
What musical note is 440 Hz?
It is A4 with the A4 tuning reference set to 440 Hz. The same input remains 440 Hz when you change reference settings, but its offset from the chosen reference can change.
What do positive and negative cents mean?
Positive means the input sits above the displayed nearest note. Negative means it sits below that note. Zero means the two frequencies agree under the chosen tuning.
Why is a MIDI number flagged as outside the standard range?
The mathematical scale extends past the 128 standard MIDI note numbers, which run from 0 to 127. The calculator can still report the mapped value for an allowed frequency, while marking out-of-range numbers. Reference playback is available between 20 and 8,000 Hz.