Piano notes

Every key of the 88-key piano with its name, octave, frequency and place on the staff.

Key labels
Black keys

C4

Middle C

Octave
4
Key number
40
MIDI number
60
Frequency
261.63Hz
A0B0C1D1E1F1G1A1B1C2D2E2F2G2A2B2C3D3E3F3G3A3B3C4D4E4F4G4A4B4C5D5E5F5G5A5B5C6D6E6F6G6A6B6C7D7E7F7G7A7B7C8A♯C♯D♯F♯G♯A♯C♯D♯F♯G♯A♯C♯D♯F♯G♯A♯C♯D♯F♯G♯A♯C♯D♯F♯G♯A♯C♯D♯F♯G♯A♯C♯D♯F♯G♯A♯

Play with your computer keys: A W S E D F T G Y H U J K is one octave from C4. Z and X change the octave.

Octave 4

Using the piano notes

  1. 1Click any key, or play from your computer keyboard.
  2. 2Read the note's name, octave, MIDI number and frequency.
  3. 3See where the note is written on the grand staff.

Related tools

How piano keys are named

The white keys use seven letter names, A B C D E F G, repeating up the keyboard. The black keys sit in alternating groups of two and three, and they make the pattern easy to read: C is always the white key just left of a group of two black keys, and F is just left of a group of three.

A black key takes its name from the white key on either side. The one between C and D is C♯ (C sharp) when you think of it as a raised C, or D♭ (D flat) as a lowered D. Both names mean the same key; which one is used depends on the key signature of the music. E to F and B to C have no black key between them because they are already a half step apart.

Finding middle C

Middle C is C4, the fourth C from the bottom of a full keyboard and key number 40 of 88. It sits close to the middle of the piano. On the grand staff it is the note on the short ledger line between the treble and bass staves, which is why it is the usual starting point for reading music. Notes from middle C up are generally written in the treble clef and notes below it in the bass clef. To see sharps and flats on the staff by key, try the key signatures chart.

Octaves and scientific pitch notation

Scientific pitch notation adds an octave number to each note name. The count starts again at every C, so the keyboard runs A0, B0, C1, and so on up to C8. Two notes with the same letter one octave apart differ by a factor of two in frequency: A3 is 220 Hz, A4 is 440 Hz and A5 is 880 Hz.

The piano is tuned in equal temperament, where each half step multiplies the frequency by the twelfth root of two, about 1.0595. With A4 at 440 Hz, the frequency of any key is 440 × 2^((n − 69) / 12), where n is its MIDI note number. MIDI numbers count half steps, with middle C as 60 and A4 as 69. Pianos are often stretch-tuned a little sharp in the top octaves and flat in the bass, so a real instrument can differ slightly from the table.

Piano note frequencies

All 88 keys in equal temperament with A4 at 440 Hz. Middle C is highlighted.

Frequency and MIDI number of all 88 piano keys
KeyNoteFrequency (Hz)MIDI
1A027.5021
2A♯0 / B♭029.1422
3B030.8723
4C132.7024
5C♯1 / D♭134.6525
6D136.7126
7D♯1 / E♭138.8927
8E141.2028
9F143.6529
10F♯1 / G♭146.2530
11G149.0031
12G♯1 / A♭151.9132
13A155.0033
14A♯1 / B♭158.2734
15B161.7435
16C265.4136
17C♯2 / D♭269.3037
18D273.4238
19D♯2 / E♭277.7839
20E282.4140
21F287.3141
22F♯2 / G♭292.5042
23G298.0043
24G♯2 / A♭2103.8344
25A2110.0045
26A♯2 / B♭2116.5446
27B2123.4747
28C3130.8148
29C♯3 / D♭3138.5949
30D3146.8350
31D♯3 / E♭3155.5651
32E3164.8152
33F3174.6153
34F♯3 / G♭3185.0054
35G3196.0055
36G♯3 / A♭3207.6556
37A3220.0057
38A♯3 / B♭3233.0858
39B3246.9459
40C4261.6360
41C♯4 / D♭4277.1861
42D4293.6662
43D♯4 / E♭4311.1363
44E4329.6364
45F4349.2365
46F♯4 / G♭4369.9966
47G4392.0067
48G♯4 / A♭4415.3068
49A4440.0069
50A♯4 / B♭4466.1670
51B4493.8871
52C5523.2572
53C♯5 / D♭5554.3773
54D5587.3374
55D♯5 / E♭5622.2575
56E5659.2676
57F5698.4677
58F♯5 / G♭5739.9978
59G5783.9979
60G♯5 / A♭5830.6180
61A5880.0081
62A♯5 / B♭5932.3382
63B5987.7783
64C61046.5084
65C♯6 / D♭61108.7385
66D61174.6686
67D♯6 / E♭61244.5187
68E61318.5188
69F61396.9189
70F♯6 / G♭61479.9890
71G61567.9891
72G♯6 / A♭61661.2292
73A61760.0093
74A♯6 / B♭61864.6694
75B61975.5395
76C72093.0096
77C♯7 / D♭72217.4697
78D72349.3298
79D♯7 / E♭72489.0299
80E72637.02100
81F72793.83101
82F♯7 / G♭72959.96102
83G73135.96103
84G♯7 / A♭73322.44104
85A73520.00105
86A♯7 / B♭73729.31106
87B73951.07107
88C84186.01108

Questions

How many keys does a piano have?

A standard piano has 88 keys: 52 white and 36 black. They run from A0, the lowest A, up to C8, covering just over seven octaves.

Where is middle C on the piano?

Middle C is C4, the fourth C from the left on an 88-key piano and the 40th key overall. It sits near the center of the keyboard and is written on the ledger line between the treble and bass staves.

What do the numbers after the note names mean?

They are octave numbers in scientific pitch notation. Each octave starts on C, so the B just below middle C is B3 and the C above it is C4.

What is the frequency of A4?

A4, the A above middle C, is tuned to 440 Hz in modern standard pitch. Every other note on the piano is calculated from it, so middle C is about 261.63 Hz.

Why is there no black key between E and F or B and C?

Those pairs are already a half step apart, the smallest step on the piano. Every other pair of neighboring white keys is a whole step apart, so a black key fits between them.

What are the lowest and highest notes on a piano?

The lowest key is A0 at 27.50 Hz and the highest is C8 at 4186.01 Hz.

© 2026 Every Music Tool. Free music tools that run in your browser.