Piano Notes

Find any note on the keyboard. Read any note on the staff. Understand the 12-note system that makes all music possible.

Interactive Piano Keyboard

C
D
E
F
G
A
B
C
D
E
F
G
A
B

§1 The piano keyboard, simplified

Look at a piano and you see a repeating pattern of white and black keys. There are 88 keys on a full piano, but only 12 unique notes. After those 12 notes, the pattern repeats — higher or lower in pitch, but the same 12 notes.

The black keys are arranged in groups: two black keys, then a gap, then three black keys, then a gap, then repeat. This two-three pattern is your map to the entire keyboard.

"The 12-note pattern repeats across the whole keyboard. Master one octave and you have mastered the piano's note system entirely."

"Piano notes" means two things: the physical keys you press, and the written symbols on sheet music (the staff). Both systems describe the same 12 notes — this guide covers both.

§2 The seven white-key notes

The white keys cycle through seven letters: A, B, C, D, E, F, G — and then back to A. That's it. No H, no I, no sharps or flats — just seven letters repeating.

Why letters A through G? Western music inherited this system from medieval European theory. The letter names were assigned to the white keys long before the black keys got their ♯/♭ names.

Highlight all instances of a note

C
D
E
F
G
A
B
C
D
E
F
G
A
B
💡Notice that C, D, E, F, G, A, B is not in alphabetical order from the lowest note. The piano starts at A0, but the musical "home base" — the note that feels most natural as a starting point — is C. That\'s why most scales and beginner lessons start on C.

§3 How to find any note (C and F anchors)

30-second answer

C is always the white key immediately to the left of a group of two black keys. F is always the white key immediately to the left of a group of three black keys. Find C and F first — every other note follows from there.

How to find C in 3 steps:

  1. Look for a group of two black keys close together.
  2. The white key immediately to the left of those two black keys is C.
  3. Every C on the keyboard looks the same — white key, just left of the two-black-key group.

Middle C is the C closest to the middle of the keyboard. On a standard 88-key piano, middle C is the 4th C from the left. Musicians call it "C4" using the octave numbering system.

F is found the same way: it's the white key immediately to the left of the group of three black keys. Once you can spot Cs and Fs instantly, you can find any note within seconds.

Find anchor notes

C
D
E
F
G
A
B
C
D
E
F
G
A
B

§4 The black keys: sharps (♯) and flats (♭)

The five black keys in each octave represent notes that fall between the white keys. Each black key has two names — a sharp name and a flat name.

  • Sharp (♯) means "one half step higher." C♯ is one half step above C.
  • Flat (♭) means "one half step lower." D♭ is one half step below D.

The same key can be called either name depending on context:

Sharp nameFlat nameBetween
C♯D♭C and D
D♯E♭D and E
F♯G♭F and G
G♯A♭G and A
A♯B♭A and B

Click any black key to see both names

C
D
E
F
G
A
B
C
D
E
F
G
A
B
← click a black key
🌿Why no black key between E and F, or B and C? There is no note between E and F, or between B and C — those white keys are already just a half step apart. Every other adjacent pair of white keys has a black key between them because they are a whole step apart.

§5 The 12 notes that make up everything

List every note in order from C, going up by half steps (one key at a time, including black keys), and you get the chromatic scale:

C  ·  C♯/D♭  ·  D  ·  D♯/E♭  ·  E  ·  F  ·  F♯/G♭  ·  G  ·  G♯/A♭  ·  A  ·  A♯/B♭  ·  B  ·  (C)

These 12 notes repeat endlessly up and down the keyboard. Every scale, chord, and melody in Western music is built from some subset of these 12 notes.

Chromatic scale: all 12 notes + octave

C
D
E
F
G
A
B
C
D
E
F
G
A
B

§6 Half steps and whole steps

Two intervals form the building blocks of all music theory:

IntervalDefinitionExampleAlso called
Half stepThe smallest interval — adjacent keys (white or black)C to C♯, E to FSemitone, minor 2nd
Whole stepTwo half steps — skip one keyC to D, E to F♯Tone, major 2nd

Most adjacent white keys are a whole step apart — except E to F and B to C, which are half steps. This is why there's no black key in those two spots: E and F are already as close as two notes can be.

Half steps and whole steps combine to create every scale. A major scale follows the pattern: W–W–H–W–W–W–H (whole, whole, half, whole, whole, whole, half).

§7 Octaves and how the pattern repeats

An octave is the distance from any note to the next note with the same letter name — either higher or lower. C to C is an octave. A to A is an octave.

An octave spans exactly 12 half steps. After 12 half steps, you arrive at the same note name again, but at double the frequency. This is why the pattern repeats.

Same note — different octave

C
D
E
F
G
A
B
C
D
E
F
G
A
B
🔬Physics: When two notes are an octave apart, the higher note vibrates at exactly twice the frequency of the lower one. Middle C (C4) vibrates at ~261 Hz. C5 vibrates at ~523 Hz. This 2:1 ratio sounds so natural that the human ear perceives the two notes as "the same" at different heights.

§8 Octave numbers (C4, A4, middle C)

Musicians use a number after the note letter to specify exactly which octave they mean. This system is called scientific pitch notation.

The octave number increases each time you pass C. So C4 → D4 → E4 → F4 → G4 → A4 → B4 → C5 (here the number jumps to 5). A440 — the standard tuning reference — is A4.

OctaveC noteFrequency of CNotes on
1C132.7 HzFull-size piano (lowest area)
2C265.4 HzBass range
3C3130.8 HzLower-mid range
4C4261.6 HzMiddle C — center of piano
5C5523.3 HzUpper-mid range
6C61046.5 HzHigh range
7C72093.0 HzHighest octave on most pianos
📌The A0/C1 quirk: A standard 88-key piano starts on A0, not C1. The lowest C is C1. The octave numbers change at C, not at A — so the piano starts partway through octave 0. Most beginners don\'t need to worry about octaves below C2.

§9 Why one key has two names (enharmonics)

When two notes share the same key but have different names, they are called enharmonic equivalents. C♯ and D♭ are enharmonic equivalents — same physical key, same sound, different name.

Why do both names exist? Because the name depends on musical context. In the key of G major, you'd call the note F♯. In the key of D♭ major, you'd call the same note G♭. The name signals the note's role in the harmony, not just its pitch.

For beginners, just know that any black key has two valid names. Which one you use depends on the key you're in. When in doubt, use the sharps (#) for sharp keys (G, D, A, E, B) and flats (♭) for flat keys (F, B♭, E♭, A♭, D♭).

🌿Beginner shortcut: If you just want to play the note and don\'t care about the theory, use whichever name is easier to remember. The note sounds identical either way. Enharmonic spelling matters most when reading written music or communicating with other musicians.

§10 Reading piano notes on the staff

Sheet music places notes on a staff — five horizontal lines. The position of a note on the staff tells you its pitch. Higher on the staff = higher in pitch.

Piano uses a grand staff: the treble clef (upper, right hand) and bass clef (lower, left hand) joined together. The treble clef is sometimes called the G clef because its curl wraps around the G line. The bass clef is the F clef.

Treble Clef

Every Good Boy Does Fine — lines bottom to top

Bass Clef

Good Boys Do Fine Always — lines bottom to top

§11 Middle C on the staff

Middle C (C4) doesn't fit neatly on either the treble or bass staff — it sits in between them. On the treble clef, middle C appears on a short line below the staff called a ledger line. On the bass clef, it appears on a ledger line above the staff.

This is actually elegant design: middle C is the bridge between the two staves. It's the note where the right hand and left hand meet.

Middle C on Both Staves

Middle C sits just below the treble staff and just above the bass staff — connected by a ledger line.

Treble Clef

Bass Clef

§12 Memory tricks for staff notes

Four classic mnemonics cover every line and space on both staves. Memorize these and you'll always have a fallback when reading music:

Treble lines

Every Good Boy Does Fine

E – G – B – D – F

Treble spaces

FACE

F – A – C – E

Bass lines

Good Boys Do Fine Always

G – B – D – F – A

Bass spaces

All Cows Eat Grass

A – C – E – G

The mnemonics work from bottom to top — the first word/letter corresponds to the lowest line or space. FACE is special because the letters themselves are the note names; the others are sentences where each first letter is a note.

§13 Different keyboard sizes

Not all pianos and keyboards have 88 keys. Here's how different sizes compare and which middle C applies:

KeysRangeMiddle CBest for
88A0 to C84th C from leftConcert grand, serious practice
76E1 to G73rd or 4th CHome keyboards, intermediate
61C2 to C73rd C from leftBeginners, portable synths
49C2 to C62nd C from leftStudio MIDI controllers
25C3 to C51st C from leftTravel keyboards, DAW control
💡On any keyboard, you can find middle C by using the same method: look for the C closest to the middle of the keyboard. On a 61-key keyboard, the 3rd C from the left is middle C (C4). On a 25-key keyboard that starts at C3, the first C is C3, and the second (top) C is C5 — so C4 is between them. Use the 2-black-key anchor to find C, then count from there.

§14 Why are there 12 notes?

The 12-note system comes from equal temperament — a tuning system that divides the octave into 12 equal intervals (semitones). Western music adopted this system because it lets you play in any key on a fixed-pitch instrument without retuning.

Before equal temperament (standardized around the 17th–18th century), keyboard instruments were tuned to sound perfect in some keys but out of tune in others. Equal temperament is a mathematical compromise: every interval is slightly out of pure tune, but no key is wildly out of tune.

The 12-step equal temperament produces a pattern where the octave (2:1 frequency ratio) is reached by multiplying the frequency by ¹²√2 twelve times. This gives each half step a ratio of approximately 1.0595.

Other musical traditions divide the octave differently. Indian classical music uses 22 microtonal intervals called srutis. Arabic maqam music uses 24 quarter tones. Jazz and blues use bends and slides that slip between equal-tempered notes. But for piano, 12 equal notes is the foundation.

§15 How to practice learning the notes

Knowing the notes intellectually is only the start. Your hands and eyes need to know them instinctively. Here's a 7-day routine that builds this muscle memory:

Day 1

Find every C

Sit at the keyboard and find every C using the 2-black-key anchor. Say "C" aloud as you press each one. Do this until you can find any C in under 2 seconds.

Day 2

Add D, E, and F

D is right of C. E is right of D. F is left of the 3-black-key group. Play C–D–E–F up and down, saying the names aloud.

Day 3

Complete the G, A, B

G is right of F. A is right of G. B is right of A. Now you can name all 7 white keys. Play up and down the full C major scale naming each note.

Day 4

Learn the black keys

Name each black key with its sharp name going up (C♯, D♯, F♯, G♯, A♯), then with its flat name going down (B♭, A♭, G♭, E♭, D♭). Spot quiz yourself by pressing random black keys.

Day 5

Treble staff — lines

Write out Every Good Boy Does Fine. At the keyboard, play each note of that phrase (E, G, B, D, F) in the treble range. Match the written symbol to the key.

Day 6

Bass staff — lines and spaces

Learn Good Boys Do Fine Always (G,B,D,F,A) and All Cows Eat Grass (A,C,E,G) for bass clef. Play each note in the bass range.

Day 7

Spot quiz — random notes

Have someone (or an app) call out random note names and octave numbers (e.g., "D4", "F♯5", "B♭3"). Find each one on the keyboard as fast as possible. Aim for under 3 seconds per note.

§16 Frequently asked questions

Q

How many notes are on a piano?

A standard full-size piano has 88 keys, but only 12 unique notes. The 88 keys represent those 12 notes spread across about 7⅓ octaves. Smaller keyboards have fewer keys but still use the same 12 notes.

Q

What is middle C?

Middle C (C4) is the C nearest the center of the keyboard. It's the reference point between the treble and bass staves, appears on a ledger line in both clefs, and is used as a landmark for navigating the piano. On an 88-key piano, it's roughly the 40th key from the left.

Q

Is C4 the same as middle C?

Yes. C4 means the note C in the 4th octave of scientific pitch notation. Middle C is the informal name for the same note. They are identical. C4 = 261.6 Hz.

Q

What does ♯ mean on sheet music?

A sharp (♯) before a note raises it by one half step — the next key to the right, which is usually a black key. When you see F♯, you play the black key just to the right of F. A sharp sign in a key signature applies to every occurrence of that note throughout the piece.

Q

What does ♭ mean on sheet music?

A flat (♭) before a note lowers it by one half step — the next key to the left, usually a black key. B♭ is the black key just to the left of B. Like a sharp, a flat in the key signature applies throughout the piece unless canceled.

Q

Why do some notes have two names (like C♯ and D♭)?

They're called enharmonic equivalents — the same physical key, the same sound, two different names. The name you use depends on the musical context: C♯ makes sense in sharp keys (like D major), D♭ makes sense in flat keys (like B♭ major). For beginners, either name is fine — just pick one and be consistent.

Q

Do I need to learn to read music to play piano?

No — many excellent pianists play entirely by ear or from chord charts. But reading music unlocks a vastly larger repertoire and makes communication with other musicians much easier. Most beginners benefit from learning at least basic staff reading. Start with treble clef and the notes in the first few positions.

Q

What is the difference between the treble and bass clef?

The treble clef (also called the G clef) is used for higher-pitched notes, typically played by the right hand. The bass clef (F clef) is used for lower-pitched notes, typically the left hand. Together they form the grand staff used in piano music. The treble clef's bottom line is E4; the bass clef's bottom line is G2.

Q

How do I know what octave I'm in?

Octave numbers change at each C. Every time you cross a C, the octave number goes up (going right/up) or down (going left/down). Find a C using the 2-black-key anchor, then count: if it's near the middle of the keyboard, it's C4. One C to the right is C5. Sheet music usually includes octave numbers in the title or header, or you can count from middle C.

Q

How long does it take to learn all the piano notes?

With daily practice, most beginners can name every white key within 1–2 weeks and every key (including black keys) within 3–4 weeks. Reading every note on the staff fluently takes 2–6 months of regular practice, depending on how much time you spend. The 7-day routine in this guide gives you the fastest track.

Quick Reference

Find C

  • ·Left of 2 black keys
  • ·Every C sounds the same
  • ·Middle C = C4 = ~261 Hz

Find F

  • ·Left of 3 black keys
  • ·F4 is just above middle C
  • ·F5 is one octave higher

Black key names

  • ·C♯ = D♭
  • ·D♯ = E♭
  • ·F♯ = G♭
  • ·G♯ = A♭
  • ·A♯ = B♭

Staff mnemonics

  • ·Treble lines: EGBDF
  • ·Treble spaces: FACE
  • ·Bass lines: GBDFA
  • ·Bass spaces: ACEG

Intervals

  • ·Half step: 1 key
  • ·Whole step: 2 keys
  • ·Octave: 12 half steps
  • ·2:1 frequency ratio

Octave numbers

  • ·Middle C = C4
  • ·A440 = A4
  • ·Numbers change at C
  • ·88 keys = 7⅓ octaves

Continue learning on piano.org