Zolkit
Interactive music reference

Music Notes to Piano Keys

Tap a note on the treble or bass staff, or play any key on the complete 88-key piano. Explore sharps, flats, middle C, MIDI numbers, and frequencies from A0 through C8.

Tap any black note on the staff to select it in blue, or tap nearby to snap to the closest note. You can also play all 88 piano keys below.

Treble clefMiddle C
Bass clef

Current note details

Note
C4
Solfege
Do
Clef
Treble clef
MIDI
60
Frequency
261.63 Hz
Middle C
Yes

Interactive piano keyboard

A0–C8 · 88 keys · MIDI 21108

How music notes correspond to piano keys

Each written staff position names a pitch, and every piano key produces one pitch. White keys repeat the letter names A through G; black keys are named with a sharp or flat depending on musical context. This music notes to piano keys tool uses MIDI as a shared reference, so the staff, keyboard, note name, and frequency always stay synchronized.

Select a line or space above to see its matching key. Select a white or black key to reverse the process and place the note on the appropriate staff.

Treble clef and bass clef notes

The treble clef is commonly used for notes around and above middle C. Its five lines are E4, G4, B4, D5, and F5; its spaces are F4, A4, C5, and E5.

The bass clef covers lower notes. Its five lines are G2, B2, D3, F3, and A3; its spaces are A2, C3, E3, and G3. Ledger lines extend both staves beyond those ranges.

Where is middle C on piano and staff?

Middle C is C4, MIDI note 60, at about 261.63 Hz. On a standard piano it is the C near the physical center of the keyboard. On written music, middle C sits on the first ledger line below the treble staff or the first ledger line above the bass staff.

This page starts on middle C so you can use it as a visual anchor. It stays silent until your first interaction, avoiding unexpected audio.

Note names and Do Re Mi

Letter names identify pitches as A, B, C, D, E, F, and G, often followed by an octave number such as C4. Solfege names the same scale degrees Do, Re, Mi, Fa, Sol, La, and Si (or Ti in some systems). In fixed-Do solfege, C is Do, D is Re, and so on.

Sharps raise a written note by one semitone and flats lower it by one semitone. A black key can therefore have two equivalent names, such as C♯4 and D♭4.

C2–C6 note and piano key chart

This chromatic reference lists every piano key from C2 through C6, including enharmonic sharp and flat names, MIDI number, frequency in equal temperament (A4 = 440 Hz), and the staff used by this tool.

Note / piano keyDo Re MiMIDIFrequencyStaff
C2Do3665.41 HzBass
C♯2 / D♭2Do♯3769.30 HzBass
D2Re3873.42 HzBass
D♯2 / E♭2Re♯3977.78 HzBass
E2Mi4082.41 HzBass
F2Fa4187.31 HzBass
F♯2 / G♭2Fa♯4292.50 HzBass
G2Sol4398.00 HzBass
G♯2 / A♭2Sol♯44103.83 HzBass
A2La45110.00 HzBass
A♯2 / B♭2La♯46116.54 HzBass
B2Si47123.47 HzBass
C3Do48130.81 HzBass
C♯3 / D♭3Do♯49138.59 HzBass
D3Re50146.83 HzBass
D♯3 / E♭3Re♯51155.56 HzBass
E3Mi52164.81 HzBass
F3Fa53174.61 HzBass
F♯3 / G♭3Fa♯54185.00 HzBass
G3Sol55196.00 HzBass
G♯3 / A♭3Sol♯56207.65 HzBass
A3La57220.00 HzBass
A♯3 / B♭3La♯58233.08 HzBass
B3Si59246.94 HzBass
C4Do60261.63 HzTreble
C♯4 / D♭4Do♯61277.18 HzTreble
D4Re62293.66 HzTreble
D♯4 / E♭4Re♯63311.13 HzTreble
E4Mi64329.63 HzTreble
F4Fa65349.23 HzTreble
F♯4 / G♭4Fa♯66369.99 HzTreble
G4Sol67392.00 HzTreble
G♯4 / A♭4Sol♯68415.30 HzTreble
A4La69440.00 HzTreble
A♯4 / B♭4La♯70466.16 HzTreble
B4Si71493.88 HzTreble
C5Do72523.25 HzTreble
C♯5 / D♭5Do♯73554.37 HzTreble
D5Re74587.33 HzTreble
D♯5 / E♭5Re♯75622.25 HzTreble
E5Mi76659.26 HzTreble
F5Fa77698.46 HzTreble
F♯5 / G♭5Fa♯78739.99 HzTreble
G5Sol79783.99 HzTreble
G♯5 / A♭5Sol♯80830.61 HzTreble
A5La81880.00 HzTreble
A♯5 / B♭5La♯82932.33 HzTreble
B5Si83987.77 HzTreble
C6Do841046.50 HzTreble

Frequently asked questions

Which piano key is middle C?+

Middle C is C4, MIDI 60, with a frequency of approximately 261.63 Hz. It is the C near the center of a standard 88-key piano.

How do I remember treble clef notes?+

From bottom to top, the treble-clef lines are E–G–B–D–F and the spaces spell F–A–C–E. Octave numbers change as the notes rise.

How do I remember bass clef notes?+

From bottom to top, the bass-clef lines are G–B–D–F–A and the spaces are A–C–E–G.

Are C sharp and D flat the same piano key?+

On a modern equal-tempered piano, C sharp and D flat use the same key and sound at the same frequency. The written name depends on the key signature and musical context.

What do MIDI note numbers mean?+

MIDI assigns an integer to each chromatic pitch. Adjacent piano keys differ by one number; middle C is 60 and concert A4 is 69.