UTILS.
Private by default
♪

Note ↔ Frequency

Convert a musical note to its frequency and find the nearest note for any frequency.

Your files stay on this device

Files are processed in your browser, never uploaded. The site downloads code and assets to run the tools. No accounts or trackers.

Use Download to save this tool as one HTML file for offline use.

Privacy →
— output appears here —
— output appears here —

About this tool

Convert a musical note to its frequency, or a frequency back to the nearest note with a cents offset. Both directions update as you type and run in your browser.

The tool uses twelve-tone equal temperament with A4 fixed at 440 Hz, so each semitone is a factor of the twelfth root of two. Type a note in the first box as a letter A-G, an optional sharp or flat, and an octave number, for example A4, C#5, Bb3 or c-1 (case does not matter, and the symbols ♯ and ♭ also work). The frequency is shown in hertz rounded to two decimals. Middle C is C4, about 261.63 Hz.

In the second box enter a frequency in hertz. The result is the closest note name plus the offset in cents, where 100 cents is one semitone, so it always falls between -50 and +50. A frequency that sits right on a note shows only the name. Notes in the output always use sharps, so a flat note you type, such as Bb3, comes back as A#3 when going from frequency to note.

Only numeric positive frequencies are accepted, and the reference pitch cannot be changed, so baroque 415 Hz or 432 Hz tunings are not covered. Nothing is uploaded.

Frequently asked questions

What tuning reference is used?
Standard concert pitch with A4 = 440 Hz and twelve equal semitones per octave (12-TET). It cannot be changed in the tool.
What does the cents value mean?
It shows how far the frequency is from the nearest note: 100 cents equal one semitone. A small positive number means slightly sharp, negative means slightly flat.
What note formats can I type?
A letter A to G, an optional # or b (or ♯ and ♭), then an octave number such as 4 or -1. Examples: A4, C#5, Bb3.
Why does a flat note come back as a sharp?
The frequency-to-note direction always names notes with sharps, so Bb3 and A#3 are the same pitch but are displayed as A#3.

More tools