📚 Blog

Why A Piano Has 88 Keys?

Piano

Quick answer: A piano has 88 keys because that range, just over seven octaves from a low A to a high C, covers nearly all the music written for it. Early pianos had far fewer keys, and by the early 1900s 88 had become the standard. Notes much lower or higher than that range are hard to hear as clear pitches. The 88 keys are 52 white and 36 black.

How Many Keys Does A Piano Keyboard Have?

Most people know the musical notes as DO-RE-MI-FA-SO-LA-TI-DO, just from growing up with music around them. But that raises an obvious question: if there are only seven notes, why does a piano have 88 keys (a few rare concert grands even have more1), and why do most keyboards have 61?

The answer is that those notes form a block called an octave, and that block repeats all the way along the keyboard. Each octave is made up of 12 keys: the 7 white keys you already know plus 5 black keys. The octaves on the left of the piano are the lowest notes and the ones on the right are the highest.

Take a look at a picture of a piano keyboard and you'll spot these repeating blocks. From one DO (C) to the next DO on its right is a distance of one octave: DO-RE-MI-FA-SO-LA-TI-DO.

This can be a bit confusing at first. How is one C different from another, and why aren't there more notes? Our seven-note system was settled on because it's practical, and the notes simply repeat higher or lower in the same pattern. It's a convention. Each note corresponds to a specific frequency, measured in hertz, and every time you go up an octave the frequency doubles. So a low C has a low frequency and a high C has a much higher one. They share a name, but they're different sounds.

Even though they sound different, the distance between one C and another can always be measured in octaves. The same goes for a low TI (B) and a higher one.

In English-speaking countries, notes are usually named with letters instead of syllables: C, D, E, F, G, A, B. German and Nordic countries use letters too, with one twist: their B is called H.

So why 88 and not some other number? The piano didn't start out that way. The first pianos, built by Bartolomeo Cristofori in Italy around 1700, had a range of about four octaves, and makers kept adding keys through the 1700s and 1800s as composers asked for more2. For a while 85 keys was the norm, and by the early 1900s 88 keys had become the standard3.

Those 88 keys run from a low A at about 27.5 Hz to a high C at about 4,186 Hz. That lines up closely with the range in which our ears hear notes clearly enough to follow a melody, roughly 30 to 4,000 Hz4. Go much lower or higher and notes get hard to hear as clear pitches, so extra keys wouldn't add much to most music.

What Is The Difference Between Black And White Keys?

As I explained above, our usual system is built on 7 notes. These natural notes, DO-RE-MI-FA-SO-LA-TI, are the white keys. So are there no notes in between? There are, and those are the black keys.

You could measure the distance between notes in hertz, but musicians don't. They measure it in tones and semitones, and not all neighboring notes are the same distance apart. There's no note in between MI and FA (E and F), or between TI and DO (B and C). That's why you see two white keys side by side with no black key between them in those spots.

Let me explain the black keys with an example. The black key between FA and SO is a note in its own right, and it has two names: F sharp (written F#) or G flat (written Gb). Both names describe exactly the same note with the same frequency. The distance from a white key to the black key right next to it is always a half step (a semitone). And the distance between two white keys with a black key in between is a whole tone, or 2 semitones.

This part is a little more abstract, but F sharp means "F raised by a semitone", and G flat means "G lowered by a semitone". Whichever way you look at it, you land on the same black key between them.

Virtual vs. Real Piano Keyboard

So far we've covered what a piano keyboard looks like and what each key is. Now you'll probably want to try out some sounds, on either a real or a virtual keyboard.

If you don't have an electronic keyboard yet, a piano simulator app is fine for your first experiments. A tablet is the most comfortable option, because its touchscreen is the closest thing to a keyboard, and the iPad in particular has GarageBand. It has a fairly simple, intuitive piano, it's free and it includes lots of other instruments too.

On Android, Perfect Piano is quite good, even in the free version.

Touchscreen simulators are fine for a first taste, but they're very limited for actually learning the piano. Where they're useful is trying out chords and hearing how they sound.

A piano keyboard is a keyboard that tries to imitate an acoustic piano as closely as possible. The most important things are that it has at least 61 keys and that the keys are touch-sensitive, meaning they respond to how hard you press them. And if the keys are weighted, they'll feel even closer to a real piano.

Those features are very important in playing the piano with expression and nuance. These days, there are keyboards and digital pianos that imitate acoustic pianos very well, so you can learn perfectly well on one and save a lot of money.

If you're thinking of buying a digital piano or keyboard, have a look at my keyboard guide, where I go through the different types, sizes and dimensions available and everything they let you do, including composing your own music.

To start, a 61-key keyboard is a good option. I wouldn't go for fewer than 61 keys, because you'll outgrow it quickly and it'll hold you back later. Yamaha, for example, makes keyboards at good prices.

Keep in mind, too, that new technology has opened up a whole new world when it comes to learning the piano, even if you want to be self-taught.

61-key keyboard vs 88-key digital piano
61-key keyboard 88-key digital piano
Keys Usually touch-sensitive, not weighted Weighted, to feel like an acoustic piano
Sounds Hundreds of tones and features to play with Fewer sounds, focused on a realistic piano
Usually called Keyboard Digital piano
Best for A first instrument, or adults playing modern styles Kids who may go on to study classical piano

Is A 61-Key Or 88-Key Keyboard Better?

First, one thing needs to be clear: acoustic pianos have weighted keys. Every traditional acoustic piano has a weighted keyboard, and that's a big part of answering this question.

The second thing to understand is that there are lots of different kinds of piano players. Some only play classical, some love jazz, and others are music production and electronic music geeks. All of them count as keyboard players or pianists.

Put those two points together and you get the answer I think is most honest: it depends on what kind of music you want to make and how you want to make it.

Portability: Playing Live Or Just Practicing At Home

If you're an adult learner, you can start with either 61 or 88 keys, but I'd make it a portable one. Being able to move it around matters, because when you start the piano as an adult it really helps to find other people to play with, and that keeps you motivated.

If you're buying a keyboard for a child, on the other hand, it's reasonable to assume they might go on to study classical music, maybe even at a conservatory. In that case, I'd make sure the keyboard has 88 weighted keys from the very start. As a pianist who started with classical training at 9, I really believe that early technique matters. For an adult who just wants to play modern styles, the weighted keys may not be such a big deal.

How Are 61-Key Keyboards Different From 88-Key Keyboards?

61-key keyboards usually just have touch-sensitive keys. That's not the same as weighted keys: it simply means a note plays louder or softer depending on how hard you press. Digital pianos and 88-key keyboards usually have weighted keys as well, to imitate an acoustic piano.

There's another important difference. 61-key pianos are usually designed to have many tones and features for playing around with sounds, layering them and so on, which is why they often come with hundreds of different sounds. 88-key instruments tend to have fewer sounds and focus on being as close to an acoustic piano as possible, in materials, touch and so on.

As you've probably worked out by now, 88-key instruments are what people usually call digital pianos, and the rest are just called keyboards. Within those you'll find further categories, like home or arranger keyboards, synthesizers, workstations and even controllers (which have no built-in sounds at all).

When it comes to price, both keyboards and digital pianos come in every price range and style. Some keyboards have more functions than a spaceship, and some digital pianos are seriously impressive instruments.

So think back to what I said at the start about the kind of music you want to play. That'll tell you which keyboard you need, and it'll also help you check whether your teacher's approach fits what you actually want to do.

Frequently Asked Questions

How many white and black keys does a piano have?

A standard piano has 88 keys: 52 white and 36 black. They form repeating octaves of 12 keys each, 7 white and 5 black, running from the lowest notes on the left to the highest on the right. The lowest key is an A and the highest is a C.

Do all pianos have 88 keys?

Nearly all modern acoustic pianos do. Older pianos often had fewer keys (85 was common for a while), and keyboards come in many sizes, with 61 keys being very common. A few rare concert grands even have extra keys in the bass. For learning, I wouldn't go below 61 keys.

Can you learn piano on a 61-key keyboard?

Yes. A 61-key keyboard with touch-sensitive keys is a good place to start and covers most beginner music. You will eventually miss the extra range and the weighted keys of a real piano, especially for classical pieces, so plan to move up to 88 keys if you get serious.

Why is there no black key between E and F?

Because E and F, and B and C, are only a semitone apart, so there is no note in between. Everywhere else, neighboring white keys are a whole tone apart, and the black key between them plays the note halfway. That is why each black key has two names, like F sharp or G flat.

Sources

  1. Bösendorfer. (n.d.). Concert Grand 290 Imperial. ↩

  2. Shaw Roberts, M. (2025, March 27). Why does a piano have 88 keys?. Classic FM. ↩

  3. Johnson, C. (2012, July 2). The 85-key Steinway. M. Steinert & Sons. ↩

  4. Oxenham, A. J. (2012). Pitch perception. The Journal of Neuroscience, 32(39), 13335–13338. ↩