Touch-Target Size Checker

Enter width and height in CSS units and check against the 44x44 px WCAG 2.5.5 minimum.

Ad placeholder (leaderboard)

The Touch-Target Size Checker converts your control’s width and height into CSS pixels and tells you whether it clears the size thresholds that keep buttons and links comfortably tappable. Under-sized targets are one of the most common mobile accessibility failures, and the fix is simply to grow the hit area.

How it works

You enter a width and height, each with its own CSS unit, and the tool converts both to pixels using fixed CSS conversion factors:

1 px  = 1 px
1 pt  = 96/72 px  = 1.3333… px
1 in  = 96 px
1 pc  = 16 px
1 mm  = 96/25.4 px ≈ 3.7795 px
1 cm  = 96/2.54 px ≈ 37.795 px
1 rem = 16 px        (default root font-size)
1 em  = 16 px        (treated as root for this check)

It then compares each pixel value against the chosen minimum:

  • 44 px — WCAG 2.1 SC 2.5.5 (AAA) and Apple HIG.
  • 24 px — WCAG 2.2 SC 2.5.8 (AA) minimum floor.

A dimension passes when it is greater than or equal to the threshold. If it falls short, the checker reports the exact pixel deficit so you know precisely how much padding or sizing to add.

Example

A button declared width: 2rem; height: 2rem converts to 32 × 32 px. Against the 44px AAA target it fails both dimensions by 12 px each; against the 24px AA floor it passes. Growing it to 2.75rem (44px) satisfies the AAA recommendation.

Tips

  • Always size the full rendered box including padding — that is the real tap area, not the text glyphs.
  • When two targets are close together, give them margin as well as size; WCAG’s AA floor assumes adequate spacing.
  • Aim for 44px wherever the layout allows; reserve the 24px floor for genuinely dense interfaces.
Ad placeholder (rectangle)