Every musical note corresponds to a frequency of vibration. In twelve-tone equal temperament, the tuning used by pianos and most modern instruments, the octave is divided into twelve equal semitones, each a frequency ratio of 2^(1/12) ≈ 1.05946. Starting from the reference A4 = 440 Hz (set by ISO 16), every other note follows: A5 is 880 Hz, A3 220 Hz, and middle C (C4) about 261.63 Hz.
Notes are named in scientific pitch notation: letter, accidental and octave number, with each octave starting at C. The MIDI standard numbers the same notes from 0 to 127 with middle C = 60 and A4 = 69, which makes the formula especially simple. Enharmonic notes such as C♯ and D♭ share a key and a frequency in equal temperament.
The calculator also shows the wavelength of the sound in air (1.31 m for middle C at 343 m/s), the period of one vibration and the frequencies a semitone above and below. Change the reference to 442 Hz for many European orchestras or 432 Hz to compare alternative tunings.
How to use the Note Frequency Calculator
- Choose the note by
- Note
- Octave
- MIDI note number: Middle C (C4) = 60, A4 = 69.
- Reference pitch A4
- Speed of sound (for wavelength): 343 m/s in air at 20 °C.
Results update as you type, every field has its own unit menu, and everything is calculated in your browser.
How it works
The note name and octave are converted to a MIDI number (12 × (octave + 1) + semitone), or you can type the MIDI number directly. The number of semitones from A4 sets the frequency by powers of 2^(1/12); dividing the speed of sound by the frequency gives the wavelength.
Worked example
E4 is MIDI note 12 × (4 + 1) + 4 = 64, five semitones below A4. Its frequency is 440 × 2^(−5/12) = 440 × 0.749154 = 329.63 Hz, its period 3.034 ms and its wavelength in air 343 ÷ 329.63 = 1.041 m. Middle C (n = 60) is 440 × 2^(−9/12) = 261.63 Hz with a wavelength of 1.311 m.
Note frequencies (Hz, A4 = 440 Hz)
| Note | Octave 0 | Octave 1 | Octave 2 | Octave 3 | Octave 4 | Octave 5 | Octave 6 | Octave 7 | Octave 8 |
|---|---|---|---|---|---|---|---|---|---|
| C | 16.35 | 32.70 | 65.41 | 130.81 | 261.63 | 523.25 | 1046.50 | 2093.00 | 4186.01 |
| C♯/D♭ | 17.32 | 34.65 | 69.30 | 138.59 | 277.18 | 554.37 | 1108.73 | 2217.46 | 4434.92 |
| D | 18.35 | 36.71 | 73.42 | 146.83 | 293.66 | 587.33 | 1174.66 | 2349.32 | 4698.64 |
| D♯/E♭ | 19.45 | 38.89 | 77.78 | 155.56 | 311.13 | 622.25 | 1244.51 | 2489.02 | 4978.03 |
| E | 20.60 | 41.20 | 82.41 | 164.81 | 329.63 | 659.26 | 1318.51 | 2637.02 | 5274.04 |
| F | 21.83 | 43.65 | 87.31 | 174.61 | 349.23 | 698.46 | 1396.91 | 2793.83 | 5587.65 |
| F♯/G♭ | 23.12 | 46.25 | 92.50 | 185.00 | 369.99 | 739.99 | 1479.98 | 2959.96 | 5919.91 |
| G | 24.50 | 49.00 | 98.00 | 196.00 | 392.00 | 783.99 | 1567.98 | 3135.96 | 6271.93 |
| G♯/A♭ | 25.96 | 51.91 | 103.83 | 207.65 | 415.30 | 830.61 | 1661.22 | 3322.44 | 6644.88 |
| A | 27.50 | 55.00 | 110.00 | 220.00 | 440.00 | 880.00 | 1760.00 | 3520.00 | 7040.00 |
| A♯/B♭ | 29.14 | 58.27 | 116.54 | 233.08 | 466.16 | 932.33 | 1864.66 | 3729.31 | 7458.62 |
| B | 30.87 | 61.74 | 123.47 | 246.94 | 493.88 | 987.77 | 1975.53 | 3951.07 | 7902.13 |
Inputs explained
| Field | What to enter |
|---|---|
| Choose the note by | Choose one: Note name and octave, MIDI note number |
| Note | Choose one: C, C♯ / D♭, D, D♯ / E♭ … |
| Octave | Choose one: 0 (sub-contra), 1 (contra), 2 (great), 3 (small) … |
| MIDI note number | A number. Middle C (C4) = 60, A4 = 69. |
| Reference pitch A4 | In Hz |
| Speed of sound (for wavelength) | Units: m/s, ft/s, km/h. 343 m/s in air at 20 °C. |
What each result means
- Frequency = [Reference pitch A4]×2^(([MIDI note number] – 69)÷12)
- Note = mod([MIDI note number], 12)
- Octave = floor([MIDI note number]÷12) – 1
- Wavelength in air = [Speed of sound (for wavelength)]÷[Frequency]
- Period = 1000÷[Frequency]
- One semitone higher = [Frequency]×2^(1÷12)
- One semitone lower = [Frequency]÷2^(1÷12)
- Semitones from A4 = [MIDI note number] – 69
Formula
f = A4 × 2^((n − 69) ÷ 12) (n = MIDI note number, A4 = 69, middle C = 60)
n = 12 × (octave + 1) + semitone of the note (C = 0 … B = 11)
Wavelength λ = speed of sound ÷ f
Worked example
Inputs: Choose the note by: Note name and octave; Note: C; Octave: 4 (one-line); Reference pitch A4: 440 Hz; Speed of sound (for wavelength): 343 m/s.
Results: MIDI note number = 60; Frequency = 261.626 Hz; Note = C; Octave = 4; Wavelength in air = 1.311 m; Period = 3.8223 ms; One semitone higher = 277.183 Hz; One semitone lower = 246.942 Hz; Semitones from A4 = -9.
Key terms
- Equal temperament
- Tuning with twelve identical semitones per octave.
- Scientific pitch notation
- Note name plus octave number, with C4 as middle C.
- MIDI note number
- 0–127 numbering of notes; 60 = C4, 69 = A4.
- Concert pitch
- The reference tuning, usually A4 = 440 Hz.
- Wavelength
- Distance a sound wave travels during one vibration.
Frequently asked questions
What is the frequency of middle C?
About 261.63 Hz with A4 = 440 Hz (MIDI note 60).
What is the frequency of A4?
440 Hz by international standard (ISO 16); many orchestras tune to 442 or 443 Hz.
How do I calculate the frequency of a note?
f = 440 × 2^((n − 69) / 12), where n is the MIDI number. E4 (n = 64) gives 440 × 2^(−5/12) = 329.63 Hz.
What are the frequencies of a guitar’s open strings?
E2 82.41, A2 110.00, D3 146.83, G3 196.00, B3 246.94 and E4 329.63 Hz.
What is the lowest and highest note on a piano?
A0 = 27.5 Hz and C8 = 4,186.01 Hz.
Is C♯ the same frequency as D♭?
In equal temperament yes, both are 277.18 Hz in octave 4. In other tunings they can differ slightly.
What about 432 Hz tuning?
Set the reference to 432 Hz; every note becomes 1.8% (31.8 cents) lower.