How to Convert Musical Notes to Frequency in Hertz

For twelve-tone equal temperament at A4=440 Hz, a note’s frequency is 440 × 2(m−69)/12, where m is its MIDI note number. You can also count signed semitone steps from A4 and use 440 × 2n/12.

The assumptions matter. A note letter without an octave is incomplete, and the same named pitch has a different target if the ensemble changes its reference. This calculation produces a theoretical tuning target, not a measurement of an instrument or singer.

Before calculating: identify the exact note

Use a letter, any sharp or flat, and an octave number. C4 is middle C in scientific pitch notation. B3 sits immediately below it. A2, A3 and A4 are three different pitches despite sharing the letter A.

Some software uses different octave labels. MIDI note number 60 identifies middle C independently of that display convention, and MIDI 69 identifies the common A440 reference.

Enharmonic pairs such as C#4 and Db4 share a frequency target in twelve-tone equal temperament. Their spelling still matters to musical notation. The calculation does not establish that they must be identical in every tuning tradition.

Method 1: count semitones from A4

  1. Set the reference frequency, normally 440 Hz for A4.
  2. Count chromatic semitone steps from A4 to the desired note.
  3. Make the number positive above A4 and negative below it.
  4. Divide the step count by twelve.
  5. Raise two to that power, then multiply by the reference.

For C5, count A4 to A#4, B4 and C5: three steps upward. The calculation is 440 × 23/12, approximately 523.25 Hz.

For C4, count nine steps downward from A4. The calculation is 440 × 2−9/12, approximately 261.63 Hz. A negative exponent lowers frequency; it does not make frequency negative.

Method 2: use a MIDI note number

Let m be the MIDI number and r the chosen A4 reference in hertz. Then f = r × 2(m−69)/12. This avoids repeatedly counting intervals once the note number is known.

A2 is MIDI 45. Its difference from 69 is −24, so 440 × 2−24/12 equals 110 Hz. E4 is MIDI 64, giving 440 × 2−5/12, approximately 329.63 Hz.

A calculated relationship can be extended mathematically, but standard MIDI note messages use integer note numbers from 0 through 127. Do not assume that an extreme note label outside that range can be sent as an ordinary MIDI note without another representation.

Example note-to-hertz table

Calculated values at A4 = 440 Hz
NoteMIDIFrequency
A02127.50 Hz
E24082.41 Hz
A245110.00 Hz
C348130.81 Hz
A357220.00 Hz
C460261.63 Hz
E464329.63 Hz
A469440.00 Hz
C572523.25 Hz
A581880.00 Hz

The complete musical frequency chart adds the other chromatic notes. Keep extra precision during calculation and round only the displayed result. Use the note to frequency converter to calculate another note at your selected A4 reference.

How to change the tuning reference

Replace 440 with the required A4 reference. At A432, A3 is 216 Hz, A4 is 432 Hz and A5 is 864 Hz. Every target on that equal-tempered grid scales by the ratio 432/440.

For example, C4 at A432 is approximately 256.87 Hz. It is not exactly 256 Hz, and choosing A432 does not make every note a whole-number frequency.

The A440 guide explains why reference tuning and temperament are separate choices. Use the reference agreed by the ensemble rather than changing it to make one reading appear centred.

Can you calculate notes between the keyboard keys?

Yes. A cents offset can be added to the exponent. If a target is c cents above a reference note of frequency f, use f × 2c/1200. Negative cents move downward.

For an illustrative A4 target 20 cents sharp, the calculation is 440 × 220/1200, about 445.11 Hz. This describes the chosen target; it does not mean a real singer has produced that exact value.

Microtonal music and expressive pitch movement may require more context than the nearest twelve-tone label. Keep the intended musical system visible rather than automatically rounding everything to an equal-tempered key.

Why a real instrument may differ from the table

The formula assumes an ideal equal-tempered grid. Real piano tuning may use stretch because stiff strings have inharmonic partials. Fretted instruments, breath pressure, temperature, performance technique and ensemble choices can also influence measured pitch.

A measured spectral peak can be a harmonic rather than the fundamental. If a voice singing near A3 has a strong peak at 440 Hz, calculating the A4 target does not prove the sung fundamental is A4.

For the measurement side, see interpreting pitch-detector results. Separate “what should this note be?” from “what frequency did this recording contain?”

What if you start with 660 Hz or 100 Hz?

That is the reverse problem. Use a logarithm to find the nearest note, then calculate its cents offset. At A440, 660 Hz is close to E5, while 100 Hz is close to G2. Neither frequency is exactly its rounded note target.

The frequency-to-note tutorial covers that method without confusing a measured value with a named tuning target.

When sharing a calculated target with another musician, include the octave, reference frequency and temperament together. A bare value labelled only “C” leaves several possible interpretations and makes otherwise correct calculations difficult to compare.

Frequently asked questions

Why does the formula use twelve?

Twelve-tone equal temperament divides an octave into twelve equal multiplicative steps. After twelve semitones, frequency doubles.

Can I add the same number of hertz for each semitone?

No. Equal semitones use equal ratios, not equal hertz differences. The absolute frequency gap grows as you move higher.

Is a two-decimal table perfectly accurate?

The displayed values are rounded theoretical targets. A real measurement has its own uncertainties, which are not removed by printing more decimals.

Does this formula work for just intonation?

Not as a complete description. Just intervals use chosen frequency ratios relative to a tonal context. You need the intended tuning system as well as a starting frequency.

Reference basis: UNSW Music Acoustics’ relationships among note names, MIDI numbers and frequency. Worked values are calculations, not tool measurements.

Scroll to Top