IMDTouchKnowledge BaseShop main store

Touch target size calculator

Enter the screen and the button size you want in millimetres, and get the size in pixels and how many buttons fit on one screen.

Calculator

This calculator needs JavaScript. Without it, use the formulas under "How it works" and the worked example.

How it works

A finger has a size in millimetres, and a screen has a size in pixels per millimetre. The calculator converts the target you want, in millimetres, to the pixels you must draw, and counts how many fit on one screen.

  • Target size in pixels = target size in mm × PPI ÷ 25.4.
  • Targets across = whole number of (active width + gap) ÷ (target size + gap).
  • Targets down = whole number of (active height + gap) ÷ (target size + gap).
  • Share of the screen width = target size ÷ active width.

Touch design guidance commonly quotes about 7 mm as the smallest comfortable target and 9 to 10 mm as a good size, with a gap of a couple of millimetres between neighbours. Plan for more where the operator wears gloves, works on a moving machine or taps in a hurry, and give emergency and frequent actions the larger size. The active size of the touch area, not the pixel count, decides how a finger lands, which is why the same layout is too small on a smaller panel with the same resolution.

Worked example

A designer wants 10 mm buttons with a 2 mm gap on a 10.1 inch, 1280 by 800 panel. At 149.4492 PPI a 10 mm button is 10 mm = 58.83827 px.

The screen has room for 18 buttons across and 11 down, or 198 on one screen, before any header, status bar or margin is taken out. A screen that needs more buttons than that goes onto a second page, or the buttons are made smaller and the risk of mistaps is accepted.

Common mistakes

  • Drawing buttons in pixels on a small high-resolution panel. The pixel count looks generous and the physical size is under 6 mm.
  • Making the touch area equal to the drawn graphic. A larger invisible hit area around a small icon helps a finger.
  • Leaving no gap between buttons. A finger covers about 10 mm and a mistap lands on the neighbour.
  • Placing small buttons at the edge, where the bezel keeps the finger from reaching and a case or glove makes it worse.
  • Copying a layout from a larger panel to a smaller one without scaling the buttons by the change in PPI.

Related articles

Other calculators