♪Music & Audio calculator

Frequency to Nearest Note and Cents Calculator

Find the closest note to a pitch and how many cents sharp or flat it is.

Enter frequency and reference pitch (a4) and get nearest note and cents off (+ sharp, − flat) instantly.

InFrequencyInReference pitch (A4)OutNearest noteOutCents off (+ sharp, − flat)OutFrequency of that note (Hz)
2 inputs4 resultsFree no signupPrivate in your browser

Frequency to Nearest Note and Cents Calculator

Fill in the values and the answer updates as you type.

Live
1 Your numbers
Hz
Hz
2 Your result

How the Frequency to Nearest Note and Cents Calculator works

MIDI value = 69 + 12 × log₂(frequency ÷ A4). The nearest whole number is the closest note, and the leftover fraction × 100 is the offset in cents (100 cents = 1 semitone). Tuners treat anything within about ±5 cents as in tune. Use it to check an instrument, a sample, or a synth oscillator. Example: with Frequency 432 Hz, and Reference pitch (A4) 440 Hz, the result is Nearest note = A4; Cents off (+ sharp, − flat) = -31.8; Frequency of that note (Hz) = 440.

Inputs and results

The Frequency to Nearest Note and Cents Calculator takes 2 inputs and gives 4 results.

What you enter

  • Frequency (Hz) — starts at 432.
  • Reference pitch (A4) (Hz) — starts at 440.

What you get

  • Nearest note
  • Cents off (+ sharp, − flat)
  • Frequency of that note (Hz)
  • MIDI note number

Example: Frequency to Nearest Note and Cents Calculator with the starting values

With frequency 432 Hz and reference pitch (a4) 440 Hz, the calculator returns:

Example results
Nearest noteA4
Cents off (+ sharp, − flat)-31.8
Frequency of that note (Hz)440
MIDI note number69

Change any value above and the results update straight away.

Frequency to Nearest Note and Cents Calculator FAQ

How do I use the Frequency to Nearest Note and Cents Calculator?

Enter frequency and reference pitch (a4) in the fields, then read nearest note, cents off (+ sharp, − flat), frequency of that note (hz) and midi note number in the result panel. The answer updates as you type, and you can press Calculate or Enter to refresh it. Use “Copy link” to share your exact numbers with someone else.

What does the Frequency to Nearest Note and Cents Calculator calculate?

Find the closest note to a pitch and how many cents sharp or flat it is. It returns nearest note, cents off (+ sharp, − flat), frequency of that note (hz) and midi note number from the 2 values you provide.

What values does the Frequency to Nearest Note and Cents Calculator start with?

It opens with frequency 432 Hz and reference pitch (a4) 440 Hz so you can see a working result straight away. Replace them with your own numbers, or press Reset to return to these starting values.

Is the Frequency to Nearest Note and Cents Calculator free and private?

Yes. It is free, needs no account, and runs in your browser, so nothing you type is sent to or stored on our servers. See the Privacy Policy for details.

Can I rely on the Frequency to Nearest Note and Cents Calculator for important decisions?

Treat the result as a well-rounded estimate. Real situations often have details a general calculator cannot know, so confirm important decisions with a qualified professional. See the Disclaimer for more.