Learn

How many keys does a piano have?

How many keys does a piano have? A standard modern piano has 88: 52 white keys and 36 black keys, from A0 at the bottom to C8 at the top.

The number 88 above a whole piano keyboard of 88 keys, from A0 at the far left to C8 at the far right, with middle C lit.88A0C8

The short answer: 88

Those 88 keys span a little over seven octaves, from a low A that vibrates 27.5 times a second (27.5 Hz) to a high C at 4,186 Hz.

The whole piano: 88 keys, 52 white and 36 black, from A0 at the bottom to C8 at the top. Each C is labelled with its octave number, and middle C, C4, is lit.A0, the lowestC8, the highestC1C2C3C4middle CC5C6C7C8
All 88 keys, 52 white and 36 black. The octave number goes up by one at every C, so middle C is C4: the fourth C from the left.
Bars comparing the keys on a standard piano: 88 in all, 52 white and 36 black.All keys88White keys52Black keys36
88 keys: 52 white and 36 black. The black keys are the sharps and flats, in their groups of two and three.

How the 88 add up

Each key has a letter and an octave number, and the number goes up by one at every C, so middle C is C4. The piano starts on A, not C, so octave 0 has only three keys: A0, A♯0 and B0. Octaves 1 to 7 are complete, with 12 keys each, and octave 8 is a single key, C8. Three, plus seven twelves, plus one, makes 88.

The 88 keys grouped by octave number, which goes up by one at each C. Octave 0 has only 3 keys, A0, A sharp 0 and B0; octaves 1 to 7 have 12 keys each; octave 8 has a single key, C8. 3 plus 7 times 12 plus 1 makes 88.3012112212312412512612718Octave
Seven full octaves of 12 keys, plus 3 keys below and 1 above: 3 + 7 × 12 + 1 = 88. The number over each group is its keys; the number under it, its octave.

To find any of them fast, learn the black-key map, or print the free piano keyboard chart with every key labelled.

Pianos did not always have 88

Bartolomeo Cristofori invented the piano in Florence around 1700. A Medici inventory of that year lists an instrument of his with a range of four octaves. The oldest surviving piano, which he made in 1720 and which is now in the Metropolitan Museum of Art, has 54 keys.

Close-up of the keyboard of Cristofori's 1720 piano: pale wooden white keys and dark black keys in groups of two and three, set in a plain wooden case
The keyboard of Cristofori’s 1720 piano, the oldest that survives. It has 54 keys. Grand piano by Bartolomeo Cristofori. Bartolomeo Cristofori, 1720, The Metropolitan Museum of Art. Wikimedia Commons, CC0 1.0.

Pianos kept growing. Five octaves, 61 keys, was typical of the pianos Mozart and Haydn knew in the late 1700s, and by the middle of the 1800s many had seven octaves, 85 keys. Steinway’s Style 2 grand of 1868 was the company’s first model with 88 keys, and by the 1890s the 88-key keyboard had become the standard.

How the piano grew, in keys: 1700, 49 keys, Cristofori's, four octaves; 1720, 54 keys, Cristofori piano at the Met; Late 1700s, 61 keys, Five octaves, Mozart's time; Mid-1800s, 85 keys, Seven octaves; 1868, 88 keys, Steinway's first 88-key model.1700Cristofori’s, four octaves491720Cristofori piano at the Met54Late 1700sFive octaves, Mozart’s time61Mid-1800sSeven octaves851868Steinway’s first 88-key model88
The piano grew from about four octaves to 88 keys in under 200 years. By the 1890s, 88 was the standard.

Why stop at 88?

Because more keys would not sound like more music. Yamaha explains that the highest pitches the brain can tell apart are at most around 4,000 Hz, close to the top C. Extra keys at the bottom would add little more than a rumble, and extra keys at the top an unpleasant noise. At the low end, 27.5 Hz is already where our hearing has dropped off a long way.

Keyboards with fewer keys

Acoustic pianos and digital pianos have 88 keys, and a digital piano’s are weighted to feel like a piano’s. Portable keyboards often have 61 or 76 keys, and small MIDI controllers, which play sounds from a computer, come with 25, 49 or 61.

Common keyboard sizes drawn with keys the same width: 88 keys, pianos and digital pianos; 76 keys, keyboards; 61 keys, keyboards; 49 keys, midi controllers; 25 keys, midi controllers.88Pianos and digital pianos76Keyboards61Keyboards49MIDI controllers25MIDI controllers
Common sizes, with keys drawn the same width. Pianos and digital pianos have 88 keys; keyboards often 61 or 76; small controllers 49 or 25.

For a beginner, the first pieces use only a small part of any of these. The right hand of Mary Had a Little Lamb (Easy) plays just four keys: C4, D4, E4 and G4.

Explore all 88

  1. Play every C from the bottom to the top. There are eight, C1 to C8.
  2. Find the lowest key, A0, and the highest, C8, and play them one after the other.
  3. Find middle C: the fourth C from the left.
  4. Open Mary Had a Little Lamb (Easy) and play its first notes from middle C.
The first 4 bars of Mary Had a Little Lamb (Easy) in keyboard staffC3441234EDCDEEEDDDEGGCCGC
Open the full pieceThe first four bars of Mary Had a Little Lamb. The right hand starts on E4, two white keys above middle C.

From here, how to read piano notes takes you from the keys to the page.

Try these next

Picture credits

Sources

Every fact on this page was checked against these.