Skip to content
 Play Music, Express Yourself, Be Happy! 

SAX TEACHER UK

The Piano Keyboard Explained

By SaxTeacher UK13 min read
SaxTeacher UK — author photo

A re you thinking about taking piano lessons? Have you taken your first lesson and want to practice your understanding of the piano keyboard layout? Or are you a parent looking to support their child's piano practice? Then look no further! This page is for you. This guide explains the keyboard from the ground up in plain UK terms: exactly how many keys a piano has, why there are white keys and black keys, what every key is called, and how the whole layout repeats in neat blocks called octaves. We label a full keyboard so you can read any note by sight, explain the tell-tale groups of two and three black keys, and show how the sizes of electronic keyboards compare to a full piano. There is an interactive labelled keyboard you can click and hear, and a free printable PDF to prop on your music stand.

Find C First

The most important first step in orietating yourself on a keyboard is learning to spot C instantly. Each C can be found just to the left of a group of two black keys. C is your landmark, your reference point - every other note is simply counted from it — so learn where C is before anything else.

Where to Start

New to this? Read the direct answer and the note-names section, then play with the interactive keyboard below. Don’t worry about sharps and flats until the seven white-key letters feel obvious — that foundation comes first.

Newsletter

Get Free Sheet Music & Tips

Tips, tutorials & new posts delivered to your inbox. No spam, unsubscribe any time.

We’ll only email you new transcriptions and tutorials, and you can unsubscribe any time. See our Privacy Policy.

The piano keyboard explained — how many keys a piano has and what the white and black keys are called, labelled with note names. SaxTeacher UK tutorials.

How Many Keys Are on a Piano?

The direct answer, then the detail

Quick answer

A standard, full-size piano has 88 keys52 white keys and 36 black keys. Those 88 keys span just over seven octaves, from the lowest note A0 up to the highest C8. Smaller electronic keyboards commonly have 76, 61, 49, 37 or 25 keys, but 88 is the standard for a full acoustic or digital piano.

88Total keys
52White keys
36Black keys
7+Octaves

So if you have ever wondered how many keys are on a piano, the headline number is 88. They are not all the same colour or size, though: 52 of them are the long white keys you mostly play, and 36 are the shorter, raised black keys tucked between them. Add those together — 52 plus 36 — and you reach the full count of 88.

That number was not always fixed. Pianos in Mozart’s time had only around 60 keys, and for much of the nineteenth century 85 keys was common. By the late 1800s makers settled on 88 keys running from A0 to C8, and it has been the standard ever since. The reason is practical: 88 keys cover almost everything ever written for the instrument, while staying inside the range where the ear can still tell one pitch clearly from the next. Go much lower and the notes start to sound muddy; much higher and they become an indistinct ping — so 88 keys the most useful number determined by hundreds of years of piano evolution!

🎹 The Quick CountWhite keys (52) + black keys (36) = 88 keys in total. Within each octave there are 7 white keys and 5 black keys — 12 keys per octave — and a full piano holds a little over seven of those octaves end to end.

The Piano Keyboard Layout

Why the rows of keys are not as random as they look

People often search for the “piano keypad” — it is a common way to describe the long row of keys, though musicians simply call it the keyboard. Whatever you call it, its layout is built from one short pattern repeated over and over. Look at any piano and you will see the black keys are not spread out evenly: they cluster into alternating groups of two and groups of three, separated by small gaps. That grouping is the key to reading the whole instrument.

That repeating block — two black keys, then three black keys, with white keys woven around them — is one octave, and it contains all twelve different notes before everything begins again. Because the pattern is identical in every octave, you only ever have to learn it once. Find your bearings inside one group of black keys and you can navigate the entire keyboard, from the lowest rumble to the highest sparkle.

The white keys carry the natural notes — the plain letter names A to G — and the black keys carry the sharps and flats between them. The gaps where black keys are missing (between B and C, and between E and F) are just as important as the black keys themselves, because those gaps are landmarks your eye and fingers learn to feel. Over time your brain will build a map of this pattern, and all of the shapes this pattern can generate.

Piano Keys Labelled: The Note Names

Every white and black key named, with the pattern marked

Here is one octave of the keyboard with every piano key labelled. The white keys use only seven letters — A, B, C, D, E, F and G — and once you reach G the names start again at A, climbing the whole keyboard. Each black key takes its name from the white keys on either side, which is why it has two names (more on that below). Notice the landmark in red: every C sits immediately to the left of a group of two black keys.

group of 2 group of 3 C D E F G A B C C♯D♭ D♯E♭ F♯G♭ G♯A♭ A♯B♭
One octave labelled — seven white naturals (A–G) and five black sharps/flats. Every C is the white key just left of the two-black-key group.

To name any white key, the method is always the same. First find C (left of the two black keys), then walk up the alphabet: C, D, E, F, G, A, B, and back to C. Because the white keys are simply the musical alphabet on repeat, you never need more than those seven letters — they are the same notes that the circle of fifths organises into keys and the scales guide arranges into the patterns you practise. The black keys fill in the steps between, and we name those next.

Finding Middle C

The most important single note to locate is middle C. It is simply the C nearest the centre of the keyboard — on an acoustic piano, usually the C closest to the brand name or the lock. Counting from the bottom, it is the fourth C up, which is why it is written C4 in scientific pitch notation. Middle C is the note that sits roughly where the right hand and left hand meet, and almost every beginner method starts here because it anchors everything else on the page and on the keys. It is also the note where the treble and bass clefs join when you read music on the stave.

The Black Keys: Sharps & Flats

Why each black key has two names

There are five black keys in every octave, and each one is named in relation to the white keys beside it. A black key is the sharp (♯) of the white key just below it, and the flat (♭) of the white key just above it. The black key between C and D is therefore both C sharp and D flat — one key, two names. Notes that sound the same but are spelled differently like this are called enharmonic equivalents, and which name you use depends on the key of the music.

The five black keys, from the group of two through the group of three, are: C♯/D♭, D♯/E♭, then a gap, then F♯/G♭, G♯/A♭ and A♯/B♭. Notice there is no black key between B and C, or between E and F — those white keys sit directly side by side. That is not a mistake or a missing key; those two pairs are naturally only a half-step apart, so no note fits between them.

The five black keys in each octaveSharp · Flat
Black keySharp nameFlat nameSits betweenIn the group of
1C♯ (C sharp)D♭ (D flat)C and DTwo
2D♯ (D sharp)E♭ (E flat)D and ETwo
3F♯ (F sharp)G♭ (G flat)F and GThree
4G♯ (G sharp)A♭ (A flat)G and AThree
5A♯ (A sharp)B♭ (B flat)A and BThree

If you are not yet sure when a black key should be called a sharp and when it should be called a flat, that choice is governed by the key signature — and the clearest map of how keys, sharps and flats fit together is the circle of fifths.

Octaves & the Repeating Pattern

Why the same notes appear again and again

An octave is the distance from one note to the next note of the same name — for example, from one C up to the next C. Within that span there are twelve notes in total: the 7 white keys plus the 5 black keys. After the twelfth, the pattern resets and the names repeat. This is why the keyboard looks like the same block printed over and over: it is the same block, transposed higher or lower.

Two notes an octave apart sound strikingly alike — the higher one is exactly double the frequency of the lower — which is why we give them the same letter. The C above middle C vibrates at twice the rate of middle C, the C below at half. To tell these same-named notes apart, we add a number: middle C is C4, the C an octave higher is C5, the one below is C3, and so on. The lowest note on a full piano is A0 and the highest is C8, which is how those 88 keys add up to a little over seven octaves.

This repeating structure is the entire logic of the keyboard. Learn the twelve notes inside a single octave — their names, their colours, the two-then-three black-key shape — and you have, in effect, learned the whole instrument, because every other octave is an identical copy at a different pitch.

How Many Keys on a Keyboard? (Sizes)

From a full 88-key piano down to a 25-key mini

A full piano has 88 keys, but electronic keyboards come in several smaller sizes. They all share the identical note layout — same white-and-black pattern, same names — so anything you learn on one transfers straight to another; a smaller keyboard simply gives you fewer octaves to play with. Here are the common sizes and what each is best for.

Common keyboard & piano sizesKeys · octaves
KeysRange (approx.)OctavesBest for
88A0 – C87+ octavesFull piano — classical, graded exams, serious study
76around 6 octaves6+ octavesStage pianos — most repertoire, more portable
73around 6 octaves6 octavesStage & electric pianos — gigging musicians
61C2 – C75 octavesPopular starter keyboard — affordable, covers most beginner music
49C2 – C64 octavesCompact keyboards & MIDI controllers — producing, small spaces
37around 3 octaves3 octavesMini keyboards — young children, melodies, travel
252 octaves2 octavesMIDI mini-controllers — studio use, very limited for playing
🎹 Which Size Should a Beginner Buy?If you intend to study piano properly or take graded exams, choose 88 weighted keys so technique transfers to any acoustic piano. If budget or space is tight, a 61-key keyboard is a sensible, affordable starting point — just plan to move up to 88 once you are committed. Avoid 25- and 37-key models for actual piano study; they are really controllers and song-sketching tools.

Whatever the size, the note-reading skill is the same. If you would like structured help getting started, piano lessons are available in person in South East London and online.

Interactive Labelled Keyboard

Click any key to hear it and see its name

Use the keyboard below to put the theory into your ears and fingers. Click or tap any key to hear the note and see its name and octave appear above. Switch the labels between plain note names and full sharp/flat names, turn on Octave pattern to colour the two- and three-black-key groups and mark every C, or highlight middle C to see exactly where it sits.

Interactive — click a key to hear it

Labelled Piano Keyboard

C4 Middle C · white key (natural)
Labels
Highlights

Tip: the keyboard scrolls sideways on smaller screens — it runs from C3 up to C6, with middle C (C4) near the left.

Once the names feel familiar, the natural next step is to start joining them into patterns. The scales guide shows how these same keys form the major and minor scales, the circle of fifths shows how those scales relate to one another, and our interactive piano chord finder lets you see and hear any chord built from those same keys.

How to Memorise the Notes

Turning the layout into instant recognition

Knowing the names is one thing; finding them without thinking is another. A few simple habits turn the keyboard map into instant recognition.

Anchor on C, Then Count

Train yourself to spot every C first — the white key to the left of each two-black-key group. Once C is automatic, you can find any white note by counting up the alphabet from the nearest C. Most players find C, F and G become landmarks within a week of doing this daily.

Name Keys Away From the Piano

Picture the two-then-three black-key pattern in your head and name the notes around it without an instrument in front of you. This builds the mental map far faster than only playing, and it means that when you do sit down, your eyes already know what they are looking for.

Play and Say at the Same Time

As you press each key, say its name out loud. Linking the sound, the name and the physical key together is far more effective than silent practice — the same “play and say” principle that makes sight reading click. Five focused minutes a day beats an occasional long session.

Connect Keys to Scales and Keys

The keyboard is the map; scales and harmony are the journeys across it. When the note names are secure, the scales guide shows how to build the patterns every piece is made from, and the circle of fifths ties the whole system of keys together. If reading rhythm is the other half you want to strengthen, our guide to time signatures and note values covers it from scratch.

If you would like personalised, step-by-step help at the keyboard, piano lessons are available in person in South East London and online. Book a lesson to get started.

Printable PDF

A free labelled-keyboard reference for your music stand

Below is a free printable reference covering everything on this page: a fully labelled keyboard with the note names, the white/black-key count, the two-and-three black-key pattern, how to find middle C, and a keyboard-sizes table. Print it at A4 or US Letter and keep it where you practise.

Free Download

The Piano Keyboard — Labelled Printable Reference

Labelled keys, note names & the octave pattern • Keyboard sizes
A4 / Letter • High resolution • Print-ready

Download PDF

The PDF is completely free — no email signup required. If you find it useful, share this page with a fellow learner or teacher. And if you would like one-to-one help at the keyboard, book a lesson — we cover everything from your very first note to advanced repertoire.

Frequently Asked Questions

How many keys are on a piano? +

A standard, full-size piano has 88 keys — 52 white keys and 36 black keys. Those 88 keys span just over seven octaves, from the lowest note A0 up to the highest C8. Smaller electronic keyboards commonly have 76, 61, 49, 37 or 25 keys, but 88 is the standard for a full acoustic or digital piano.

How many white and black keys does a piano have? +

An 88-key piano has 52 white keys and 36 black keys. The white keys play the natural notes A, B, C, D, E, F and G, and the black keys play the sharps and flats. The black keys are arranged in alternating groups of two and three, which is the pattern that lets you find any note by sight.

How many keys are on a keyboard? +

It depends on the type of keyboard. A full-size digital piano has 88 keys like an acoustic piano. Portable keyboards and synthesisers most often have 61 keys (five octaves), 49 keys (four octaves), 37 keys or 25 keys. Stage pianos sometimes have 76 or 73 keys. For learning classical or graded piano, 88 keys is recommended; 61 keys is a common, affordable starting point.

What are the notes on a piano keyboard called? +

The white keys are named with the first seven letters of the alphabet — A, B, C, D, E, F and G — which then repeat all the way up the keyboard. Each black key is a sharp or a flat of the white key next to it, so the same black key has two names (for example C sharp and D flat are the same key). After B the letters start again at A, so the seven names cycle continuously.

How do I find middle C on a piano? +

Middle C is the C nearest the centre of the keyboard. To find any C, look for a group of two black keys: the white key immediately to the left of any pair of two black keys is a C. The C closest to the middle of the piano — and usually nearest the brand name or lock on an acoustic piano — is middle C, written C4 in scientific pitch notation.

Why does a piano have 88 keys? +

Eighty-eight keys became the standard by the late nineteenth century because that range covers virtually everything written for the instrument while staying within the span where the ear can still tell pitches apart clearly. Earlier pianos had fewer keys — around 60 in Mozart’s day and 85 for much of the 1800s — before makers settled on 88 (A0 to C8), which has remained standard ever since.

What is the difference between a piano and a keyboard? +

A piano usually means a full 88-key acoustic or digital instrument with weighted, touch-sensitive keys. A keyboard usually means a lighter, portable electronic instrument, often with fewer keys (61, 49 or 25) and built-in sounds. The note layout — white keys for naturals, black keys in groups of two and three — is identical on both, so anything you learn on one transfers directly to the other.

How are the black keys on a piano named? +

Each black key is named in relation to the white key beside it: it is the sharp of the white key below it and the flat of the white key above it. The black key between C and D is therefore both C sharp and D flat — two names for the same key, called an enharmonic equivalent. The five black keys in each octave are C sharp/D flat, D sharp/E flat, F sharp/G flat, G sharp/A flat and A sharp/B flat.

SaxTeacher UK is a woodwind and piano teacher based in South East London. With 17 years of individual and group tuition experience. Get in touch for in-person or online lessons.

All author posts

Book a Lesson

Your information will be forwarded to me and I will get back to you as soon as I can.

Sax teacher London

Give me a call

+(44)7704 762 561

We use your details only to reply to your enquiry and arrange lessons. We never sell or share them. See our Privacy Policy.

Scroll