Quick answer
Fitts's law predicts the time to move to a target: it grows with distance and shrinks with target width, through the index of difficulty log₂(D ÷ W + 1). Big, near targets are faster to hit. It covers aimed movement only, not the time spent finding or choosing the target.
Formula: MT = a + b × log₂(D ÷ W + 1); effective width We = 4.133 × SD; throughput TP = IDe ÷ MT
What is Fitts's law?
Fitts's law (often written "Fitts law" or "Fitts' law") is a model of how long it takes to move to a target. Movement time rises with the distance to the target and falls as the target gets wider, and the two enter through a single ratio inside a logarithm. Paul Fitts published the original experiments in 1954, in which people moved a stylus back and forth between two plates of varying width and spacing.
In interface work the target is a button, a link, a menu item or an icon, and the movement is a mouse pointer, a trackpad swipe or a finger. The law describes an aimed movement to a target the person has already identified. It does not include the time spent finding the button or deciding whether to press it; that second part is closer to what Hick's law describes.
Fitts's law formula and index of difficulty
The version most used in human-computer interaction is the Shannon formulation, promoted by I. Scott MacKenzie:
MT = a + b × ID, where ID = log₂(D ÷ W + 1)
| Term | Meaning | Unit |
|---|---|---|
| MT | Average movement time | seconds |
| ID | Index of difficulty of the movement | bits |
| D | Distance from the start point to the centre of the target | pixels, millimetres, any length |
| W | Width of the target measured along the direction of movement | same unit as D |
| a, b | Constants fitted from measurements for one device and group of users | s, s per bit |
Because D and W form a ratio, the units cancel. Fitts's own 1954 formula was ID = log₂(2D ÷ W). MacKenzie's 1992 paper argues for the Shannon version: it can never turn negative, whereas the original does when the distance is less than half the width, and it fitted Fitts's data slightly better in his reanalysis. State which formula you used, because the same movement gets different ID values: at D = 600 and W = 40 the Shannon form gives 4.00 bits and the original gives 4.91.
Worked example: two buttons
A "Start free" button sits 600 px from where the pointer usually rests. Version A is 40 px wide along the line of movement; version B is 160 px wide. The constants a = 0.10 s and b = 0.20 s per bit are sample values chosen to make the arithmetic easy to follow.
| Version A | Version B | |
|---|---|---|
| Distance D | 600 px | 600 px |
| Width W | 40 px | 160 px |
| D ÷ W + 1 | 16 | 4.75 |
| Index of difficulty | 4.00 bits | 2.25 bits |
| Predicted movement time | 0.90 s | 0.55 s |
Sample data, recomputed in Python. The wider button is predicted to be reached 0.35 s sooner. Note what the number covers: pointer travel only. If visitors do not see the button, or do not want what it offers, width changes nothing.
Size, distance and diminishing returns
Only the ratio D ÷ W matters to ID. Halving the distance of version A to 300 px gives log₂(8.5) = 3.09 bits, and so does keeping 600 px and doubling the width to 80 px. Doubling both distance and width leaves difficulty unchanged.
The logarithm also means each doubling of width buys less than a full bit, especially once targets are already large:
| Width at D = 600 px | ID (bits) | Predicted time | Time saved by this doubling |
|---|---|---|---|
| 20 px | 4.95 | 1.09 s | — |
| 40 px | 4.00 | 0.90 s | 0.19 s |
| 80 px | 3.09 | 0.72 s | 0.18 s |
| 160 px | 2.25 | 0.55 s | 0.17 s |
| 320 px | 1.52 | 0.41 s | 0.15 s |
Sample data with the same constants. Enlarging a tiny target also reduces misses, which the timing column does not show. Enlarging an already wide banner mostly takes space from other things.
Errors, effective width and throughput
People trade speed for accuracy, so two groups can show different times on the same buttons simply because one was more careful. The usual correction uses the spread of where people actually clicked. In MacKenzie's description, the effective width is We = 4.133 × SD, where SD is the standard deviation of the click end points along the movement axis. If end points around version A have SD = 9 px, We = 37.2 px and the effective ID at 600 px becomes 4.10 bits.
Throughput combines the two: TP = IDe ÷ MT. With an effective ID of 4.10 bits and a measured 0.90 s, throughput is about 4.6 bits per second. MacKenzie's 2018 handbook chapter reports that mouse throughput in studies following the ISO standard is typically about 4 to 5 bits per second; the same procedure was published in ISO 9241-9 and later renumbered ISO 9241-411. Use that range to sanity-check a study, not to grade a web page: it comes from controlled pointing tasks.
Fitts's law and WCAG target size
Accessibility guidance sets minimum sizes in CSS pixels. These are thresholds for conformance, not predictions from Fitts's law.
| WCAG 2.2 criterion | Level | Minimum target size | Main exceptions |
|---|---|---|---|
| 2.5.8 Target Size (Minimum) | AA | 24 × 24 CSS px | Enough spacing, an equivalent control, inline text links, unmodified browser controls, essential presentation |
| 2.5.5 Target Size (Enhanced) | AAA | 44 × 44 CSS px | Equivalent control, inline, browser-controlled, essential |
The spacing exception in 2.5.8 is easy to compute. Draw a 24 px diameter circle centred on each undersized target; the circles must not intersect another target or another undersized target's circle. Two 20 px icons with a 4 px gap have centres 24 px apart, so the circles touch without overlapping. Two 16 px icons with the same gap have centres 20 px apart, the circles overlap, and the pair does not qualify through spacing. Check the current W3C text before relying on a summary; this is not a conformance audit.
What Fitts's law changes in a design and where it stops
- Make the clickable area match the visible one. A full-width row that only responds on its text has a small W, whatever it looks like. Padding that is clickable counts; margin that is not does not.
- Measure W along the approach. A wide, short menu item approached from above is limited by its height. MacKenzie's 1992 discussion suggests that taking the smaller of width and height is a reasonable stand-in for two-dimensional targets, while noting that the idea still needed testing.
- Put follow-up actions near the previous one. A confirm button placed far from the field the user just completed raises D for every submission.
- Screen edges help only a pointer that stops there. A target against the physical edge of a display cannot be overshot in that direction. A page element inside a browser window, or anything on a touch screen, gets no such effect.
- Do not make destructive actions easy to hit by accident. Large and adjacent is fast for the wrong button too; separate "Delete" from "Save".
The model weakens when movements are not aimed (scrolling, free gestures), when the finger covers a very small target, when the target moves or loads late, and when most of the time goes on reading. On slow pages, a layout shift can move a button after the user has started towards it, which no amount of width fixes.
Fitts's law vs click map data
A click map records where clicks landed on real pages. Fitts's law predicts how long aimed movements take. They answer different questions.
| Fitts's law | Click map | |
|---|---|---|
| Input | Distance and width of a target | Recorded clicks on a page |
| Output | Predicted movement time, index of difficulty | Density of clicks by position and element |
| Needs live traffic | No; works on a drawing | Yes |
| Tells you about time | Yes, for pointing only | No |
| Tells you about intent | No | Partly: what people tried to click |
| Typical use | Comparing two layouts before building | Checking behaviour after release |
Use the law while the design is still a sketch and the click map once people are using it. If a target predicted to be easy collects few clicks, the problem is probably visibility or relevance, not pointing.
Check small targets in TapCub
Suppose version A above is live and you suspect it is too small on desktop and cramped on phones. TapCub does not compute index of difficulty or measure pointer travel; it shows what happened around the control.
- Open the page's heatmap. In All-platform analytics › Behavior › Heatmaps, pick the page, then a device. Heatmaps need the Pro plan or higher with autocapture on. The website heatmap article explains what click density can and cannot show.
- Compare controls. The Elements tab lists the most clicked controls with their share, visitors and average position. If a neighbouring link takes far more clicks than expected on mobile only, check the spacing between the two.
- Look for repeated clicks. The Rage clicks tab shows spots clicked repeatedly. A rage click can mean a control that responds slowly or not at all, so test it before blaming its size.
- Know the blind spot. Autocapture records clicks on clickable elements only. A near miss that lands on empty space next to a small button does not appear on the heatmap. If you need to see those attempts, turn on session replay, which is off by default, for a sample of sessions.
- Compare completion after the change. Count the page view and the button event in All-platform analytics › Behavior › Funnel for each device type, before and after, and note the release in Configuration › Annotations. TapCub does not split traffic between two versions.
Sources
- Paul M. Fitts, The information capacity of the human motor system in controlling the amplitude of movement, Journal of Experimental Psychology 47(6), 1954.
- I. Scott MacKenzie, Fitts' law as a research and design tool in human-computer interaction, Human-Computer Interaction 7, 1992.
- I. Scott MacKenzie, Fitts' Law, in Handbook of Human-Computer Interaction, Wiley, 2018.
- W3C, Understanding Success Criterion 2.5.8: Target Size (Minimum), WCAG 2.2.
- W3C, Understanding Success Criterion 2.5.5: Target Size (Enhanced), WCAG 2.2.
Was this explanation clear?
We use your answers to fix and expand this page.
Couldn’t send. Please try again in a minute.
Thanks for the feedback. We’ll use it to improve this page.You’ve already sent feedback on this page. Thanks.

Technical Engineer
Focuses on tracking code, SDKs, and API integrations, with practical guidance on implementation checks and troubleshooting.