Skip to content
← English home

Piano keys labeled: all 88 keys and middle C

By Melih Zengin, musician and music teacher · 4 min read · Nov 28, 2026

A standard piano has 88 keys: 52 white and 36 black, running from A0 at the far left to C8 at the far right. The white keys repeat the letters C D E F G A B, and the black keys sit in alternating groups of two and three. Below is a fully labeled, playable keyboard and a quick guide to finding any key.

Find C in one second: look for a group of two black keys. The white key just to its left is always C. The C nearest the middle of the piano is middle C (C4), key number 40.

Labeled 88-key piano keyboard

All 88 keys from A0 to C8. Scroll sideways, tap a key to hear it and see its name, number and frequency. Switch the labels below.

Sound is a simple synthesised piano tone.

Piano keys at a glance

Total keys 88 (52 white, 36 black)
Lowest key A0, key 1, 27.50 Hz
Middle C C4, key 40, 261.63 Hz
Tuning note A4, key 49, 440 Hz
Highest key C8, key 88, 4186.01 Hz
Octaves a little over seven (A0 to C8)

How the white and black keys are named

White keys use seven letters, C to B, and then start again. Each black key has two names: the one to the right of C is C♯ (C sharp), and the same key is also D♭ (D flat), because it lies between C and D. Which name is used depends on the key of the music. There is no black key between E and F or between B and C; those white keys are a semitone apart.

The number after the letter is the octave. Octave numbers change at C, so the B just below middle C is B3 and the next key up is C4. This system, called scientific pitch notation, is also used in the note frequency chart.

Smaller keyboards

Many digital keyboards have fewer keys. A 61-key keyboard typically runs from C2 to C7 and a 49-key keyboard from C2 to C6, though ranges vary by model. Middle C is not always in the exact centre, so find the group of two black keys nearest the middle and count Cs from the left.

Should you put labels on your piano keys?

Stickers can help for the first few weeks, but they slow you down if you rely on them. A better approach is to learn three landmarks (C, F and middle C) and read every other key from its neighbours. Practise with the labels switched off above, and check yourself with the note reading test. When you can find keys quickly, try the step-by-step easy piano songs or the piano chord chart.

Frequently asked questions

How many keys does a piano have?

88 on a standard modern piano: 52 white and 36 black.

Which key is middle C?

The 40th key from the left, C4, the C closest to the centre of the keyboard.

Why do black keys have two names?

Each black key is a semitone above one white key and a semitone below another, so it can be named either way (C♯ or D♭). See sharps and flats.

Learn the keys by ear too

Recognising notes by sound makes the keyboard feel familiar much faster. KulakApp offers short ear-training exercises with progress tracking.

KulakApp, the ear-training app: App Store · Google Play

Key numbers and frequencies follow the standard 88-key layout with A4 = 440 Hz (Piano key frequencies, Wikipedia); values calculated and checked in code.

Keep reading

Was this helpful?

Be the first to rate

About your rating

Your rating applies only to this page, not the mobile app. A random key is saved in your browser when you send it, so you can change or remove your rating. Clearing browser data loses this key. Ratings expire after one year. No name or email is requested. Network-based limits reduce repeated submissions but do not verify a unique person.

Privacy details

Free music tools and virtual instruments

All virtual instruments →All music tools →

By Melih Zengin, musician and music teacher · About our content · Report an error