Color · Made a little simpler

Touch Target Size Checker

Enter content dimensions, clickable padding and edge gaps in CSS pixels. Compare the target with the WCAG 2.2 minimum and enhanced size checks, or model the spacing exception with nearby targets.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Enter measurements in CSS pixels. Add only padding that responds to the same pointer action as the content.

Content dimensions
Clickable padding
Margins to nearby targets
Nearby targets

Each entered margin is the edge gap to that neighbor. An offset moves the neighbor horizontally on the top or bottom, or vertically on the left or right.

Spacing exception blocked

Target with padding 16 × 16 px

Below the 44 × 44 px enhanced size check

ContentTarget with paddingPositive marginsNearby targets24 px spacing circles
NeighborCenter to neighborCenter to centerSpacing circle check
Right12 px20 pxUndersized circles overlap

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Touch Target Size Checker: how to use it

  1. Choose an example or enter the content width and height. Add clickable padding separately for each side.
  2. Add nearby rectangular targets and use the margins as edge gaps. Enter offsets for targets that sit off center. Confirm the model includes every nearby target.
  3. Review the 24 px result and 44 px size check. Use the diagram and neighbor measurements to inspect collisions, then download the JSON report if needed.

Limits and notes

A local model of axis-aligned rectangular pointer targets, with up to one neighbor on each side. Content and neighbor dimensions range from 0.01 to 512 CSS pixels. Overlap is excluded for separate actions. Check the actual effective hit area separately when clipping, rounded corners, stacking, inline text, or another WCAG exception affects the result.

How your privacy works →

Touch Target Size Checker: common questions

What counts toward the 24 × 24 CSS pixel check?

Content and padding count when the same action is available throughout the rectangular hit area. Margins describe gaps between controls. If two modeled targets overlap, their shared area is excluded when checking whether a 24 px square fits.

Can a 16 × 16 icon button meet the requirement?

Yes, if a 24 px circle centered on its hit area has enough clearance from every nearby target and every undersized neighbor's circle. For two centered 16 px square targets in a row, an 8 px edge gap gives the circles room.

How does the 44 × 44 px check differ?

The 44 px check uses the enhanced WCAG target size threshold. It checks whether that square fits in the model. The 24 px spacing exception does not extend to this higher threshold.

Can I enter a negative margin?

Yes. Negative edge gaps can move a neighbor over the target. The preview and report show these overlaps, and the size result excludes the shared area.

Guides