Music TheoryPrintFree music theory tools and printable worksheets

Free online tool

Note Frequency Calculator: Hz, MIDI and Piano Key Numbers

Convert note names to Hz, MIDI and piano key numbers (A4 adjustable), find the nearest note and cents for any frequency, and print all 88 key frequencies.

A4 = 440.00 Hz · MIDI 69 · key 49 · wavelength 0.780 m

Type in any box and the others follow. Entering a frequency finds the nearest note and how many cents sharp or flat it is.

Piano key frequencies: all 88 keys

Equal temperament, A4 = 440 Hz. Wavelength is for sound in air at 20 °C (343 m/s).

KeyNoteMIDIFrequency (Hz)Wavelength (m)
1A02127.5012.5
2A#0 / Bb02229.1411.8
3B02330.8711.1
4C12432.7010.5
5C#1 / Db12534.659.90
6D12636.719.34
7D#1 / Eb12738.898.82
8E12841.208.32
9F12943.657.86
10F#1 / Gb13046.257.42
11G13149.007.00
12G#1 / Ab13251.916.61
13A13355.006.24
14A#1 / Bb13458.275.89
15B13561.745.56
16C23665.415.24
17C#2 / Db23769.304.95
18D23873.424.67
19D#2 / Eb23977.784.41
20E24082.414.16
21F24187.313.93
22F#2 / Gb24292.503.71
23G24398.003.50
24G#2 / Ab244103.833.30
25A245110.003.12
26A#2 / Bb246116.542.94
27B247123.472.78
28C348130.812.62
29C#3 / Db349138.592.47
30D350146.832.34
31D#3 / Eb351155.562.20
32E352164.812.08
33F353174.611.96
34F#3 / Gb354185.001.85
35G355196.001.75
36G#3 / Ab356207.651.65
37A357220.001.56
38A#3 / Bb358233.081.47
39B359246.941.39
40C460261.631.31
41C#4 / Db461277.181.24
42D462293.661.17
43D#4 / Eb463311.131.10
44E464329.631.04
45F465349.230.982
46F#4 / Gb466369.990.927
47G467392.000.875
48G#4 / Ab468415.300.826
49A469440.000.780
50A#4 / Bb470466.160.736
51B471493.880.694
52C572523.250.656
53C#5 / Db573554.370.619
54D574587.330.584
55D#5 / Eb575622.250.551
56E576659.260.520
57F577698.460.491
58F#5 / Gb578739.990.464
59G579783.990.438
60G#5 / Ab580830.610.413
61A581880.000.390
62A#5 / Bb582932.330.368
63B583987.770.347
64C6841046.500.328
65C#6 / Db6851108.730.309
66D6861174.660.292
67D#6 / Eb6871244.510.276
68E6881318.510.260
69F6891396.910.246
70F#6 / Gb6901479.980.232
71G6911567.980.219
72G#6 / Ab6921661.220.206
73A6931760.000.195
74A#6 / Bb6941864.660.184
75B6951975.530.174
76C7962093.000.164
77C#7 / Db7972217.460.155
78D7982349.320.146
79D#7 / Eb7992489.020.138
80E71002637.020.130
81F71012793.830.123
82F#7 / Gb71022959.960.116
83G71033135.960.109
84G#7 / Ab71043322.440.103
85A71053520.000.0974
86A#7 / Bb71063729.310.0920
87B71073951.070.0868
88C81084186.010.0819

About the Note Frequency Calculator

The Note Frequency Calculator converts a note name, such as Bb3 or C#5, into its frequency in hertz (Hz). It also works in reverse: enter a frequency and it finds the nearest note and how many cents away it is. For each note it shows the MIDI number and the piano key number. It runs free in your web browser, with no sign-up.

You can set the reference pitch for A4 to 440 Hz, the modern standard known as A440, or choose another tuning from the menu, such as 432 Hz. The tool also prints a note frequency chart covering all 88 piano keys.

Whether you are checking an A440 piano tuning, learning how piano keys map to pitch, or comparing tuning standards, the same controls apply.

How to use the Note Frequency Calculator

  1. Choose the reference pitch for A4. Pick 440 Hz (standard) for the modern A440 tuning, pick another option such as 432 Hz or 415 Hz (Baroque), or choose Custom… and enter a value in Custom A4 in Hz.
  2. Type a note such as Bb3 or C#5 into the Note box. The Frequency (Hz), MIDI number and Piano key (A0 = 1 … C8 = 88) boxes update at once. You can also start from any of those three boxes, and the others will follow.
  3. For a frequency that falls between two notes, read the nearest note and the Cents offset. To detune a note on purpose, type a value into Cents offset.
  4. Press ▶ Hear it to play the pitch, or press Print table to print the 88-key frequency chart.

The printed table lists each key with its Key, MIDI and Wavelength (m) values alongside its frequency. You can keep a copy of the table without entering each note again.

The most useful tip is to set the Reference pitch A4 before you read any values, because every frequency depends on it. Two other habits help: read the cents value for in-between frequencies, and try different spellings of the same note.

Spellings do not change the result. B#3, C4 and D𝄫4 all give 261.63 Hz at A4 = 440 Hz, so use whichever name matches your music.

A cents value shows how far a pitch sits from the note. +12 means 12 hundredths of a semitone above the note shown.

How do you convert a note to a frequency?#

Modern pianos are tuned in 12-tone equal temperament. The octave is split into 12 equal steps, so each semitone multiplies the frequency by the twelfth root of 2, about 1.059463. Going up one octave (12 semitones) doubles the frequency, and going down halves it. With A4 at 440 Hz, A3 is therefore 220 Hz and A5 is 880 Hz.

Scientific pitch notation writes a letter followed by an octave number. The octave number changes at C, not at A, so middle C is C4 and the A above it is A4. The calculator uses MIDI numbers, where C4 is 60 and A4 is 69. For any note, MIDI = 12 × (octave + 1) + semitones above C. A piano key number is the MIDI number minus 20, so A0 is key 1, A4 is key 49 and C8 is key 88.

The frequency of the note with MIDI number n is f = 440 × 2^((n − 69) / 12). The same formula with a different reference pitch gives the other tunings in the menu: replace 440 with 432, 442 and so on. Enharmonic spellings share a pitch in equal temperament. C♯4 and D♭4 are the same key, and B♯3 is the same pitch as C4.

To go the other way, a frequency f gives a fractional MIDI number of 69 + 12 × log₂(f / 440). Round that to get the nearest note. The remainder, multiplied by 100, is the offset in cents. A cent is one hundredth of an equal-tempered semitone, so there are 1200 cents in an octave. The distance in cents between two frequencies f₁ and f₂ is 1200 × log₂(f₂ / f₁). A reading of +12 cents means the pitch is 12 hundredths of a semitone above the note shown. This is the calculation a chromatic tuner performs.

What are A440 and 432 Hz tuning?#

A440 and 432 Hz are two choices for the frequency of A4, the A above middle C. A440 sets A4 to 440 Hz, the modern standard. 432 Hz sets it to 432 Hz, a little lower, so every other note shifts down with it.

Each note’s frequency is calculated from A4 with the same formula, with 432 replacing 440. Going up one octave doubles the frequency, so with 432 Hz, A3 is 216 Hz and A5 is 864 Hz.

In the calculator, choose 440 Hz (standard) or 432 Hz under Reference pitch A4, or enter your own value with Custom….

Frequently asked questions

What is the frequency of middle C?

Middle C is C4, MIDI 60 and piano key 40. With A4 set to 440 Hz, it has a frequency of 261.63 Hz. Enharmonic spellings such as B♯3 give the same value.

What are the lowest and highest piano key frequencies?

The lowest key, A0, is 27.50 Hz, and the highest, C8, is 4186.01 Hz, both with A4 at 440 Hz. Those 88 keys span just over seven and a quarter octaves.

Why are the table values rounded to two decimals?

Equal-tempered frequencies are powers of 2^(1/12), so their decimal digits never end. Two decimals are finer than any ear or tuner can tell apart.

How is the wavelength of a note worked out?

The wavelength in air is λ = v / f, where v is 343 m/s, the speed of sound at about 20 °C. The speed of sound changes with temperature, so the values shift slightly in a warm or cold room. A0 has a wavelength of about 12.5 m, and C8 about 8 cm.

Is B#3 the same frequency as C4?

Yes. In equal temperament, B♯3, C4 and D𝄫4 are the same pitch, 261.63 Hz at A4 = 440 Hz. The calculator accepts any of these spellings in the Note box.

Is it free and does it need an account?

Yes. The Note Frequency Calculator is free, and you do not need to sign up or create an account. Nothing you enter is uploaded, because the tool runs in your browser.

Can I use it on a phone?

Yes. Because the tool runs in the web browser, any phone with a browser can open it, and there is nothing to install. Open the page as you would any website. If a control is hard to reach on a small screen, try turning your phone sideways.