Frequency to MIDI Note

You Might Also Need

Frequency to MIDI Note names the note nearest a measured frequency and says how far off it is, in cents and as a fractional note number. It is the tool for making sense of a pitch reading.

What is Frequency to MIDI Note?

Enter a frequency and the panel gives the nearest note, its note number, the offset in cents and the exact fractional position.

The inputs and the four results:

  • A frequency field from a tenth of a hertz to twenty five thousand, defaulting to four hundred and fifty.
  • A tuning reference slider for the note A4 from four hundred and fifteen to four hundred and sixty six hertz.
  • A nearest note name and its whole note number.
  • A signed offset in cents, highlighted when the reading is within five cents of the note.
  • The exact fractional note number, to two decimal places, which is the position between notes that a synthesizer would need.

The calculation is the inverse of the note-number conversion. A frequency is measured, the reference is applied to bring it into the standard relationship, and the logarithm of the ratio to the reference is taken in base two and scaled by twelve, since there are twelve equal semitones in an octave. The integer part of that result names the nearest note and the fraction is how far the pitch sits between notes; multiplying the fraction by a hundred gives cents, a hundred of which make a semitone. The cents figure is the one that matters for tuning, because it is the same proportional distance at every pitch: a reading twenty cents sharp is a fifth of the way to the next note whether the note is low or high, whereas the same number of hertz would be a wide interval in the bass and a negligible one at the top. That is why the panel highlights a reading within five cents, which is roughly the point at which a sustained tone starts to sound out of tune to a listener. The reference slider matters because it changes what counts as the note. A reading taken from an instrument tuned to an older pitch will report a different note and offset if the reference is left at the modern figure, so the honest reading requires the reference to match the material. Every result here is derived from arithmetic on the number entered rather than from any audio, and it is exact.

What it does not cover:

  • No pitch detection, so the frequency has to come from a tuner or a meter.
  • Equal temperament only, so a differently tempered instrument reads as a series of detunings.
  • No ambiguity resolution, so a pitch close to midway between two notes is reported as whichever is nearer.
  • Nothing about vibrato or a pitch that moves over time.
  • No instrument transposition for written notes.
  • Nothing is uploaded, and no history is kept.

Use it when a measured frequency has to become a note name and a tuning error, which is how a strobe reading or a spectrum peak is usually interpreted. When the direction is a note number that has to become a frequency, the MIDI note to frequency tool does that, and when the input is a note name rather than a number, the note frequency calculator accepts names as written.

How to use Frequency to MIDI Note

  1. Enter the measured frequency in hertz.
  2. Set the tuning reference to match the instrument or recording.
  3. Read the nearest note and the signed offset in cents.
  4. Use the fractional note number if the pitch has to be placed in software.

When to use Frequency to MIDI Note vs related tools

Frequency to MIDI Note is the interpretation step for any pitch measurement, turning a number in hertz into a note and a tuning error. MIDI Note to Frequency converts the other way from a note number. Note Frequency Calculator combines both directions and also accepts written note names, and Guitar Tuner or Instrument Tuner produce the frequency reading in the first place.

Privacy & Security

This tool runs entirely in your browser — no data ever leaves your device. There is no server round-trip, no upload, no logging, and no account required. Your input is processed locally using client-side JavaScript and is never stored, transmitted, or accessible to anyone else. When you close the tab, everything disappears.

Frequently asked questions about Frequency to MIDI Note