Piano Basics: A Beginner's Guide to the Keyboard
A full-size piano has 88 keys, middle C is the 40th, and the black keys come in groups of two and three that tell you where you are. Here is the whole layout.
Piano basics come down to five things you can learn in one sitting at the instrument: a full-size piano has 88 keys, low notes sit on the left and high notes on the right, the black keys come in groups of two and three that act as your map, the white keys repeat the letters A through G, and your fingers get numbered 1 through 5 starting at each thumb. Learn those five and you can find any note on the keyboard.
Sit down at your piano or keyboard and work through this with your hands. Reading it from the couch teaches you a fraction of what playing it does.
The keyboard at a glance
| Feature | Detail |
|---|---|
| Keys on a full-size piano | 88 |
| White keys | 52 |
| Black keys | 36 |
| Lowest note | A0, at 27.5 Hz |
| Highest note | C8, at 4,186 Hz |
| Range | A bit over seven octaves |
| Keys in one octave | 12 (7 white, 5 black) |
| Letters used | A, B, C, D, E, F, G |
| Middle C | C4, the 40th key, the 4th C from the left |
| Finger numbers | 1 at the thumb through 5 at the pinky |
How many keys does a piano have?
A full-size piano has 88 keys: 52 white and 36 black. They run from A0 at the bottom to C8 at the top, a span of seven octaves plus a minor third.
Piano makers settled on 88 in the late 1800s. That range covers all but a handful of the notes composers have written for the instrument, and it stops where the ear starts to lose the pitch: much below A0 the notes turn to rumble, and much above C8 they turn to ping.
Your keyboard at home may have fewer, and that costs you nothing at this stage. Few beginners reach past the middle four octaves in the first year.
| Keyboard size | Octaves | Where middle C sits | Good for |
|---|---|---|---|
| 25 keys | 2 | 2nd C from the left | Melody practice, travel |
| 49 keys | 4 | 3rd C from the left | A first controller or toy keyboard |
| 61 keys | 5 | 3rd C from the left | Most beginners, most pop and rock |
| 76 keys | 6 | 3rd C from the left | Intermediate players, most classical |
| 88 keys | 7+ | 4th C from the left | Everything, and weighted keys teach touch |
If you're choosing an instrument now, our guide to the best beginner pianos covers what weighted keys change and where the price jumps stop being worth it.
Left is low, right is high
Press a key at the far left of the keyboard, then one at the far right. The left one growls and the right one pings. Every key between them follows that order: pitch climbs as you move right.
There's a physical reason behind it. Lift the lid of a grand piano, or the top panel of an upright, and you'll see the strings change length across the instrument. The long, thick, copper-wound strings on the left vibrate fewer times per second and sound low. The short, thin ones on the right vibrate fast and sound high. Your digital piano has no strings, and its samples were recorded from an instrument that does.
Say it out loud while you play: left is low, right is high. That phrase saves you a second of hunting every time you read a note for the next few months.
The black keys are your map
Look along the keyboard and you'll see the black keys clump into a group of two, then a group of three, then two, then three, on and on. The pattern repeats every 12 keys, which is one octave.
That pattern is the reason you can find any note without labels or stickers. The white keys are identical strips of wood; the black key groups are the landmarks that tell you where you are.
Try this before you read on:
- Play every group of two black keys from the bottom of the keyboard to the top, using fingers 2 and 3 of your right hand.
- Come back down playing every group of three, using fingers 2, 3, and 4.
- Now doodle. Play any black keys you like, one hand or two, fast or slow. Repeat a pattern you enjoy and change it a little.
Whatever you played in step 3 sounded fine. The five black keys in an octave form a pentatonic scale, and pentatonic scales have no clashing pairs, so any combination of them lands somewhere musical. Composers use the same trick. That is a real piece of music you made on your first day, and the fact that the keyboard made it easy takes nothing away from it.
The white keys: A to G
The musical alphabet runs A, B, C, D, E, F, G, then starts over at A. Seven letters, repeating up the whole keyboard.
The letters run out at G because the pattern closes at the octave. Play any C and the next C above it: the higher one vibrates at double the frequency, your ear hears the same note in a higher register, and the naming starts fresh. Middle C at 261.63 Hz and the C above it at 523.25 Hz are the same letter for that reason.
Two landmarks anchor the rest:
- C sits to the left of every group of two black keys.
- F sits to the left of every group of three black keys.
Find those two and the others fall into place, since D and E fill in after C, and G, A, and B follow F.
Take the pointer finger of your right hand, start at the lowest key on your piano, and walk up the white keys saying each letter out loud. Students I teach do this at the start of every lesson for the first month. Naming a note out loud while your finger presses it ties the sound, the letter, and the location together faster than reading a chart does.
Where is middle C?
Middle C is C4, the 40th key on an 88-key piano and the fourth C from the left. On a full-size instrument it sits near the center, and on most acoustic pianos it lands within a key or two of the maker's name on the fallboard.
To find it on any keyboard: locate the group of two black keys closest to the center of the instrument, then take the white key to the left of that pair. That white key is middle C.
| Your keyboard | Middle C is the... | Also known as |
|---|---|---|
| 88 keys | 4th C from the left | Key 40, C4 |
| 76 keys | 3rd C from the left | C4 |
| 61 keys | 3rd C from the left | Key 25, C4 |
| 49 keys | 3rd C from the left | C4 |
The name comes from written music rather than from the keyboard. Middle C is the note that sits between the treble staff and the bass staff, on its own short ledger line below the treble and above the bass. It's the hinge between what your right hand reads and what your left hand reads.
What are the black keys called?
Every black key has two names, a sharp and a flat, and both are correct.
A sharp raises a note by one semitone, which is the distance to the very next key. A flat lowers it by one semitone. The black key between C and D is C sharp when you approach it from C, and D flat when you approach it from D. Same key, same sound, two names, chosen by which key the music is written in. Musicians call that pair of names enharmonic.
Written as symbols: C♯ and D♭, D♯ and E♭, F♯ and G♭, G♯ and A♭, A♯ and B♭. Five black keys, ten names.
You may have noticed there's no black key between B and C, or between E and F. Those two pairs of white keys already sit a semitone apart, so there's no room for a note between them. B sharp and C are the same key, and the gap in the pattern gives you the groups of two and three you're using to find your way.
The five fingers, by number
Piano music numbers your fingers rather than naming them. Both hands use the same numbering, starting at the thumb and working out.
| Finger | Number |
|---|---|
| Thumb | 1 |
| Pointer | 2 |
| Middle | 3 |
| Ring | 4 |
| Pinky | 5 |
Sheet music prints these numbers above or below the notes to tell you which finger to use, and following them matters more than beginners expect. The fingering printed in a piece is the one that leaves your hand in position for the notes that come next.
Tap the numbers on your lap while you say them out loud, both hands, until 4 comes as fast as 1. The ring finger is the one that hesitates, because it shares a tendon with the middle finger and it does the least work in daily life.
C position: your first hand position
C position is the starting hand shape for most beginner method books, and it puts ten fingers on ten white keys with nothing to reach for.

Set it up like this:
- Find middle C using the two-black-key group near the center.
- Put your right thumb, finger 1, on middle C.
- Lay fingers 2, 3, 4, and 5 on the next four white keys going right: D, E, F, G.
- Look down and left to the next group of two black keys, and find the C below middle C.
- Put your left pinky, finger 5, on that C.
- Lay fingers 4, 3, 2, and 1 on D, E, F, and G going right, which leaves your left thumb on the G below middle C.
Your hands are in C position. Check your setup against these before you play:
- Curve your fingers as though a small ball sits under your palm.
- Keep your wrists level with the backs of your hands.
- Set the bench so your forearms run level with the keys.
- Sit toward the front half of the bench with both feet flat on the floor.
Now use it. Walk up and down the five fingers of one hand. Skip around: 1, 3, 5, 3, 1. Say a finger number out loud and play it without looking. Press two keys at once with one hand, which gives you your first chord. Play both hands together and hear the octave between them.
A ten-minute first practice session
Short and daily beats long and occasional, because the hand-eye mapping you're building strengthens between sessions rather than during them.
| Minutes | What you do |
|---|---|
| 0-2 | Black key groups: twos up, threes down |
| 2-4 | Name white keys out loud, walking up from the bottom |
| 4-6 | Find every C, then every F, as fast as you can |
| 6-9 | C position: five-finger walks and skips, hands apart, then together |
| 9-10 | Doodle on the black keys and end on something you like |
Run that for a week and the keyboard stops looking like a wall of identical keys.
Five mistakes beginners make in the first week
- Flat fingers. Playing with straight, flat fingers costs you speed and control later. Curve them from day one.
- Sitting too low or too close. Your forearms should run level with the keys, with your elbows a touch in front of your body. A dining chair puts most adults too low.
- Stickers on every key. Letter stickers teach you to read stickers. Use the black key groups as your landmarks instead, and your eyes will transfer to any piano you sit at.
- Skipping the left hand. Beginners drill the melody hand and leave the other one behind, then hit a wall at their first two-hand piece. Give the left hand equal time from the start.
- Playing fast. Speed hides mistakes from your own ears. Play under tempo, hear each note land, and let the speed arrive on its own.
What to learn next
You now know the layout of the instrument. Next comes reading the notes on a staff, playing your first songs, and building a practice habit that survives week three.
- Our step-by-step guide to teaching yourself piano covers the whole path from here to your first pieces.
- If you want structure, we tested and ranked the best online piano lessons.
- Pianoforall suits self-teachers who want recognizable songs in the first weeks, and Simply Piano suits people who need a streak to keep them at the bench.
Frequently asked questions
How many keys does a piano have?
A full-size piano has 88 keys, made up of 52 white keys and 36 black keys. They span from A0 to C8, a little over seven octaves. Digital keyboards come in 25, 49, 61, 76, and 88-key sizes, and 61 keys is enough for a beginner's first year.
Where is middle C on a piano?
Middle C is the white key to the left of the two-black-key group nearest the center of the keyboard. On an 88-key piano it's the fourth C from the left and the 40th key overall. On a 61-key keyboard it's the third C from the left.
Why does the musical alphabet stop at G?
The seven letters cover one octave, and the pattern repeats after that. Pass G and reach the next A, and the frequency has doubled: your ear hears the same note in a higher register, so the naming starts over rather than continuing to H.
What are the black keys on a piano for?
The black keys play the sharps and flats, the notes that sit between the white keys a semitone away. They also work as a map: the alternating groups of two and three let you identify any white key without labels, since C sits left of every two-group and F sits left of every three-group.
Why are the black keys in groups of two and three?
The gaps mark the two places in each octave where white keys already sit a semitone apart, between B and C and between E and F. Those missing black keys break the pattern into a two and a three, which is what makes the keyboard readable at a glance.
Do I need 88 keys to learn piano?
No. A 61-key keyboard covers everything in this guide and most beginner repertoire. Weighted keys matter more than key count for a first instrument, because they build the finger strength and touch control that transfer to an acoustic piano.
What are the piano finger numbers?
Both hands number from the thumb outward: thumb 1, pointer 2, middle 3, ring 4, pinky 5. Sheet music prints these numbers next to notes to show which finger to use, and the printed fingering sets your hand up for the notes that follow.
What is C position on the piano?
C position places your right thumb on middle C with fingers 2 through 5 on D, E, F, and G, and your left pinky on the C an octave below with the remaining fingers on D, E, F, and G. Beginner method books use it because ten fingers cover ten keys with no reaching.
How long does it take to learn the piano keyboard layout?
Most beginners can find any named key within a week of daily five-minute drills, and stop having to think about it within a month. Naming keys out loud as you press them is the fastest route, because it ties the letter, the sound, and the position together.
Can I teach myself piano basics without a teacher?
Yes. The keyboard layout, finger numbers, and C position are all self-teachable from a guide like this one, and apps that listen to your playing catch many wrong notes. Book a lesson or two once you're playing pieces, so a teacher can check the technique habits you can't see yourself.
You're playing piano
Everything above took one sitting, and you've already improvised on the black keys and played your first chord in C position. That counts as playing, and this is where a good many working musicians started.
Keep the routine short and keep it daily. Say the letters out loud, use the black keys as your map, and give yourself room to goof around at the end of every session.
Comments ()