How Many Keys Does a Piano Have – Total, Black And White

Home » Piano Lessons Singapore » How Many Keys Does a Piano Have – Total, Black And White

The standard piano keyboard consists of 88 keys. These keys are arranged in a specific pattern that includes both white and black keys. The 88-key configuration is consistent across most modern pianos, including grand pianos, upright pianos, and digital pianos.

How many white keys on a piano or keyboard?

There are 52 white keys on a piano or keyboard out of a total of 88 keys.

The white keys on a piano are also known as natural keys and represent the primary musical notes of the chromatic scale. Starting from the left end of the piano, the white keys correspond to the following notes.

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

This pattern repeats in octaves, resulting in a total of seven white keys for each octave on the piano keyboard.

How many black keys does a piano have?

There are 36 black keys on a piano. These black keys on a piano are called sharp or flat keys and are situated between the white keys. They represent the semitones or half steps that fall between the natural notes in the chromatic scale. Black keys are essential for playing in different keys and adding expressive nuances to music.

The pattern of black keys consists of groups of two and three keys, alternating throughout the keyboard. In more detail, the black keys represent the following notes and combinations:

  • Sharps (#): C#/Db, D#/Eb, F#/Gb, G#/Ab, A#/Bb
  • Flats (♭): The same black keys can also be represented as flats, such as Db/C#, Eb/D#, Gb/F#, Ab/G#, Bb/A#.


There are 88 keys on a standard piano keyboard, which include 52 white keys and 36 black keys. These piano keys are organized in a specific layout that allows pianists to play a wide range of musical compositions in various keys, scales, and styles. Understanding the arrangement and function of these piano keys is fundamental for any pianist, as it provides the foundation for playing, composing, improvising and exploring the endless possibilities of this remarkable instrument. If you want to become a great pianist, you need to get our piano lessons taught by professional piano teachers in Singapore today.