Understanding the piano keyboard width calculator — concept and principle
This calculator estimates how wide the keys of a piano or keyboard are, from the number of keys and the width of one white key. Use it before buying a digital piano or a stand, when planning space in a room, or when comparing 88-, 76- and 61-key instruments.
How it is calculated
Keybed width = number of white keys × white-key width
Octave span = 7 × white-key width
- The key count sets how many white keys there are: 88 keys (A0–C8) have 52 white and 36 black keys, and a 61-key board (five octaves, C to C) has 36 white and 25 black keys. Black keys = total keys − white keys.
- The white-key width is entered in millimetres; results are shown in centimetres.
The principle
Black keys sit between and above the white keys, so they add no width. The row of white keys alone sets the width of the playing surface. Every octave contains 7 white and 5 black keys, so one octave of white keys is 7 key widths. The octave span is also the distance from the centre of one C to the centre of the next C, which is why it is the stretch a hand needs to play an octave. A white key on a standard acoustic piano is about 23.5 mm wide including the small gap, which gives an octave of roughly 16.5 cm.
Worked example
Default inputs: 88 keys, white-key width 23.5 mm.
- An 88-key keyboard has 52 white keys and 88 − 52 = 36 black keys.
- Keybed width = 52 × 23.5 mm = 1,222 mm = 122.2 cm.
- Octave span = 7 × 23.5 mm = 164.5 mm, shown rounded as 16.5 cm.
How to read the result
The keybed width is only the keys. The instrument is wider because of the cheek blocks or the plastic case at each end; digital pianos with 88 keys are often around 130–140 cm overall. Always check the maker's listed overall width before buying a stand or measuring a wall. If your keyboard's octave measures noticeably less than 16.5 cm, it has narrower keys, which feel different from an acoustic piano.
Common mistakes
- Counting black keys in the width. Only white keys add width.
- Using the keybed width as the overall size of the instrument.
- Assuming every 76-key board has the same range. Check which note it starts on, because that changes the white-key count.
- Measuring one key without its gap. Measure across several keys and divide for a more accurate width.
Frequently asked questions
How wide is an 88-key piano?
The keys alone are about 122 cm at a standard 23.5 mm white-key width. The full instrument is wider.
How many white keys are on a 61-key keyboard?
36 white keys and 25 black keys, covering five octaves from C to C.
Are digital piano keys the same size as acoustic piano keys?
Most full-size digital pianos copy the acoustic key width closely, but compact or portable keyboards may use narrower keys. Measure an octave to check.
Does a smaller hand need a narrower keyboard?
Some players with small hands use reduced-width keyboards, but these are not common. Most pianos use the standard width.
Sources: Encyclopaedia Britannica, "Piano" (keyboard compass and construction)