Works on this device
Musical Note & Frequency Converter
Change a frequency into a note name, or a note into its frequency. The page also converts MIDI note numbers, works with cents, and makes a chart of note frequencies for any reference pitch.
Enter your values
Check these values
Your values are worked out in this browser. They are not sent to a server.
Your result will show here
Fill in the values, then choose Convert.
Your result
How it was worked out
How to use this converter
- Choose what you want to convert, for example Frequency (Hz) to note.
- Enter the frequency, the note or the MIDI note numbers. Write a note as a letter, then
#orbif needed, then the octave number:A4,F#3,Bb2. - Leave the reference pitch at 440 Hz, or type the value your group uses, such as 442, 432 or 415.
- Choose Convert. You can copy the result, print it, or download it as a CSV file.
The formulas
- The page uses equal temperament with 12 notes in each octave. Every semitone step multiplies the frequency by the twelfth root of 2 (about 1.05946).
- Note to frequency: f = A4 × 2^((n − 69) ÷ 12). Here n is the MIDI note number, and A4 is note 69.
- Frequency to note: n = 69 + 12 × log2(f ÷ A4). The nearest whole number is the note.
- Cents: 1200 × log2(f1 ÷ f2). One semitone is 100 cents and one octave is 1200 cents.
- MIDI note number: (octave + 1) × 12 + place in the octave, where C is 0 and B is 11.
- Wavelength = speed of sound ÷ frequency. You can change the speed of sound under More options.
- Octave numbers follow scientific pitch notation. C4 is middle C, and the octave number goes up at each C.
Worked example
A tone of 450 Hz with A4 = 440 Hz: n = 69 + 12 × log2(450 ÷ 440) = 69.39. The nearest whole number is 69, so the note is A4. The tone is 1200 × log2(450 ÷ 440) = 38.91 cents higher than A4.
Middle C (C4) is note 60. Its frequency is 440 × 2^((60 − 69) ÷ 12) = 261.626 Hz. With a speed of sound of 343 m/s, its wavelength is 343 ÷ 261.626 = 1.311 m. With A4 = 432 Hz, the same note is 256.869 Hz.
Raising 440 Hz by 10 cents gives 440 × 2^(10 ÷ 1200) = 442.549 Hz.
Limits you should know
- Only equal temperament is used. Notes in just intonation and other tuning systems have slightly different frequencies.
- The page converts numbers and note names that you type. It does not listen to sound and it does not read or write MIDI files, audio files or sheet music.
- Some makers of MIDI gear name note 60 "C3" or "C5". This page names it C4.
- A real piano is tuned with slightly wider octaves than this formula gives, so its highest and lowest notes can differ by some cents.
- The speed of sound changes with temperature and with the material. The wavelength is only as good as the speed you enter.