Piano Note Frequency Calculator
Every key on a standard 88-key piano produces a unique pitch defined by its frequency in hertz (Hz). The international standard concert pitch, defined by ISO 16:1975, sets A4 (the A above middle C) at exactly 440 Hz. All other piano notes are derived from this reference using equal temperament: each semitone is exactly 2^(1/12) times the frequency of the semitone below it. This means each octave exactly doubles in frequency, and the 12 semitones within an octave are evenly spaced on a logarithmic scale. Piano keys are numbered 1 to 88, with key 1 being A0 (the lowest note at 27.50 Hz) and key 88 being C8 (the highest note at 4186.01 Hz). Key 49 is A4 at 440 Hz. The MIDI protocol numbers notes from 21 (A0, piano key 1) to 108 (C8, piano key 88), adding 20 to the piano key number. This calculator accepts either a piano key number (1 to 88) or a note name and octave (C0 through C8) and returns the frequency in Hz, the MIDI note number, and the acoustic wavelength at 343 m/s (approximately 20 degrees C). The octave 4 reference table below shows all 12 notes from C4 to B4, including middle C.
How piano note frequencies are calculated
The standard equal-temperament formula places A4 at exactly 440 Hz and derives every other note by multiplying or dividing by 2^(1/12) for each semitone step away from A4.
freq (Hz) = 440 x 2 ^ ((key_number - 49) / 12)
MIDI note = key_number + 20
wavelength (m) = 343 / freq
Where key_number is the piano key (1 = A0, 49 = A4, 88 = C8)
Worked example: piano key 40 (C4, middle C)
- Key number = 40; offset from A4 = 40 - 49 = -9 semitones
- freq = 440 x 2^(-9/12) = 440 x 2^(-0.75) = 440 x 0.5946 = 261.63 Hz
- MIDI = 40 + 20 = 60 (middle C in MIDI)
- Wavelength = 343 / 261.63 = 1.3112 m
Octave 4 reference table (keys 40 to 51: C4 to B4)
This octave includes middle C (C4, key 40) and concert A (A4, key 49 = 440 Hz).
| Key | Note | MIDI | Frequency (Hz) | Wavelength (m) |
|---|---|---|---|---|
| 40 | C4 | 60 | 261.63 | 1.3110 |
| 41 | C#4 | 61 | 277.18 | 1.2375 |
| 42 | D4 | 62 | 293.66 | 1.1680 |
| 43 | D#4 | 63 | 311.13 | 1.1024 |
| 44 | E4 | 64 | 329.63 | 1.0406 |
| 45 | F4 | 65 | 349.23 | 0.9822 |
| 46 | F#4 | 66 | 369.99 | 0.9270 |
| 47 | G4 | 67 | 392.00 | 0.8750 |
| 48 | G#4 | 68 | 415.30 | 0.8259 |
| 49 | A4 | 69 | 440.00 | 0.7795 |
| 50 | A#4 | 70 | 466.16 | 0.7358 |
| 51 | B4 | 71 | 493.88 | 0.6945 |
Source: ISO 16:1975, equal temperament, A4 = 440 Hz. Wavelength at 343 m/s (approx. 20 degrees C).
Piano note frequency: frequently asked questions
What is A440 and why is it the standard concert pitch?
A440 refers to the musical note A above middle C vibrating at exactly 440 Hz. It was adopted as the international standard concert pitch by ISO 16:1975 and has been widely used since the 1930s. Before standardisation, concert pitch varied widely by country and era, making it difficult for instrument makers and musicians to collaborate internationally. A440 provides a fixed reference point so that instruments manufactured and tuned independently will play in tune together. Some orchestras and early music ensembles use slightly different pitches (e.g., 442 Hz or 415 Hz), but A440 is the universal default.
What is equal temperament and how does it relate to note frequencies?
Equal temperament is the tuning system in which the octave is divided into 12 equal semitones, each a factor of 2^(1/12) apart in frequency. This means each semitone is approximately 1.0595 times the frequency of the one below it. Equal temperament makes it possible to play in any key on a fixed-pitch instrument like a piano without retuning, at the cost of slight detuning from pure harmonic intervals. The formula freq = 440 x 2^((n-49)/12), where n is the piano key number (A4 = key 49), gives the frequency of any key in equal temperament.
What is a MIDI note number and how does it relate to piano keys?
MIDI (Musical Instrument Digital Interface) is a protocol that represents notes as integers from 0 to 127. The MIDI note number for piano key n is n + 20, because piano key 1 (A0) corresponds to MIDI note 21. Middle C (C4) is piano key 40 and MIDI note 60. The highest piano key (C8, key 88) is MIDI note 108. MIDI note numbers are used in digital audio workstations, synthesizers, and notation software to specify pitches in a hardware-independent way.
What is the wavelength of a piano note?
The wavelength of a sound wave is the speed of sound divided by the frequency. At room temperature (approximately 20 degrees C), the speed of sound in air is about 343 m/s. Middle C (C4, approximately 261.63 Hz) has a wavelength of 343 / 261.63 = 1.31 metres. The lowest piano note (A0, 27.50 Hz) has a wavelength of about 12.47 metres, which is why bass frequencies are more difficult to absorb with acoustic treatment and require large rooms for accurate reproduction. The highest piano note (C8, 4186.01 Hz) has a wavelength of about 0.082 metres (8.2 cm).
Do transposing instruments change the concert pitch?
Transposing instruments are notated at a different pitch than they sound. A B-flat clarinet, for example, sounds a major second (2 semitones) lower than written. When a clarinet player reads a C, the instrument sounds B-flat. This means the written frequency in the part is different from the concert frequency. A pianist playing the same concert pitch as a B-flat clarinet reads their note 2 semitones lower in written pitch. This calculator shows concert pitch frequencies. For transposing instruments, add or subtract the appropriate semitone offset to find the written pitch corresponding to a given concert frequency.
Official sources
- ISO 16:1975 - Acoustics: standard tuning frequency (standard musical pitch): ISO.org.
- MIDI specification and note numbering: MIDI.org.
Reviewed by the CalculatorHub team, edited by James Graham, 14 June 2026. See our methodology. General information only.