Skip to content
EUID Audit service & seal, Home
Get your website audited

This translation has not been editorially reviewed yet. The German version is authoritative. Deutsche Fassung

Accessibility

How many millimeters does a button on your phone need?

A button on the phone needs about 7 millimeters, better 9 to 10. Google recommends 7 to 10 millimeters, the Nielsen Norman Group 1 centimeter, and a 2006 study came down to at least 9.2 millimeters for typing with your thumb. The 44 CSS pixels of the WCAG level AAA yield about 7.3 millimeters on an iPhone 15, about 7.0 on a Pixel 7. The 24 CSS pixels of level AA are around 4 millimeters.

A CSS pixel does not have a fixed length

Style sheets measure in CSS pixels, a unit independent of the device. The CSS standard specifies it via an angle of view: one pixel on a screen with 96 points per inch, viewed at arm length. This is about 0.26 millimeters, 44 CSS pixels would be about 11.6 millimeters. Hold a phone closer to the eye, where the CSS pixel is smaller. A fixed conversion is therefore only per device. The W3C itself calls in WCAG only CSS pixels, not millimeters.

How to calculate the value for a device

You need two specifications: the screen’s point density and the factor that tells you how many pixels are on a CSS pixel. The iPhone 15 has 460 points per inch and the factor 3.44 times 3 by 460 is 0.287 inches, so around 7.3 millimeters. The Pixel 7 has 416 points per inch and a factor of 2.625, which gives about 7.0 millimeters. 24 CSS pixels come on the same devices to about 4.0 and 3.9 mm. The point density is given in the datasheet. The factor is called the browser in the value devicePixelRatio.

What manufacturers recommend

Apple cites 44 times 44 points as a rule of thumb for buttons. Google recommends 48 x 48 dp for Android, a device-independent unit, with 8 dp spacing, gives about 9 millimeters and names 7 to 10 millimeters as a recommendation. With the calculation above, 48 CSS pixels on a pixel 7 come to about 7.7 millimetres; Google’s statement is above that. The Nielsen Norman Group advises 1 by 1 centimeter and justifies it with the fact that small targets take longer and often lead to the wrong grip.

How to measure on your own phone

Place a ruler on the screen and measure the area that really responds. It can be bigger than the visible: According to Google, an icon of 24 units can have an area of 48 including internal distance. More accurate is the browser’s developer tool, which displays width and height in CSS pixels. On the screen photo, on the other hand, you measure pixels: On an iPhone 15, 44 CSS pixels appear there as 132 pixels.

The study came to more than 9 millimeters for the thumb

In 2006, Parhi, Karlson and Bederson tested right thumb typing, the device in the same hand, standing with twenty people. For individual targets of 3.8 to 11.5 millimetres, errors decreased with size. Between 9.6 and 11.5 millimetres, the researchers no longer found a statistically robust difference. They recommend at least 9.2 millimeters for individual goals and 9.6 for episodes such as number keys. The group was small and the device a pocket computer from back then. On an iPhone 15, 9.2 millimeters would correspond to around 56 CSS pixels, on a Pixel 7 around 57.

More on this topic

Deutsche Fassung dieser Seite

  • Seal Digitale Barrierefreiheit
  • Seal Daten & Recht
  • Seal Technische Qualität
  • Seal Digital Excellence
  • Seal Cyberversicherung

Audited. For a better digital future.euid.com

How many millimeters does a button on your phone need? · euid.com