Boneyard Tools

Musical Note to Frequency Calculator

This tool converts between musical notes and frequencies in equal temperament. In Note to Hz mode you pick a note and octave to see its pitch in hertz, and in Hz to note mode you enter a frequency to find the nearest note plus how many cents sharp or flat it is. The A4 tuning reference defaults to 440 Hz but you can change it to 432, 415 or any pitch you like.

How to use the note frequency calculator

  1. Use the toggle to pick Note to Hz or Hz to note.
  2. In Note to Hz mode, choose a note name and an octave, for example A and 4.
  3. In Hz to note mode, type a frequency in hertz to get the nearest note and cents offset.
  4. Change the A4 tuning box if you tune away from the standard 440 Hz.
  5. Click Copy to save the result, including the A4 reference used.

Examples

A above middle C (Note to Hz)

note A, octave 4, A4 = 440
440 Hz

Middle C (Note to Hz)

note C, octave 4, A4 = 440
261.63 Hz

A slightly sharp pitch (Hz to note)

450 Hz, A4 = 440
A4, +38.905773 cents

Frequently asked questions

How is a note frequency calculated?

Each note maps to a MIDI number n = 12 times (octave + 1) plus its semitone index. The frequency is f = A4 times 2 to the power (n minus 69) over 12, where A4 is MIDI 69 and the tuning reference.

What is equal temperament?

Equal temperament splits the octave into twelve identical steps, so each semitone is the twelfth root of two, about 1.05946, apart in frequency. It is the tuning used by pianos and most modern instruments because every key sounds equally in tune.

Why would I change A4 from 440 Hz?

440 Hz is the modern standard, but some musicians prefer 432 Hz, and baroque ensembles often tune to 415 Hz. Set the A4 box and every note or frequency is recalculated against the new reference.

What are cents?

Cents measure how far a frequency sits from the nearest equal-tempered note, with 100 cents to a semitone. A reading of +39 cents means the pitch is about two fifths of a semitone sharp of the note shown.

Which octave is middle C in?

Middle C is C4 in scientific pitch notation, at 261.63 Hz when A4 is 440 Hz. The A directly above it is A4 at 440 Hz, and the C an octave up is C5 at 523.25 Hz.

Can I enter flats like Db or Bb?

The Note to Hz dropdown lists notes with sharps, but the engine also understands flat spellings such as Db, Eb, Gb, Ab and Bb, treating each as the same pitch as its enharmonic sharp.

What octave range does it cover?

The octave selector runs from 0 to 8, spanning C0 at about 16.35 Hz up to B8. In Hz to note mode you can paste any positive frequency and it will report the nearest note even outside that range.

Does the cents value round?

The cents figure is computed to six decimal places, so 450 Hz reads as +38.905773 cents rather than a rounded +39. That precision helps when checking the tuning of a recorded or measured pitch.

Is anything uploaded when I convert?

No. Both conversions run entirely in your browser, so the notes and frequencies you enter stay on your device.

Learn more

Related tools