Lesson 25 of 30
"Make the button bigger" and "put it near the cursor" aren't separate pieces of advice — they're the same law, applied to two different variables.
11 min read
Every option explains itself — why the right one is right, and why each wrong one is wrong. Miss one and it comes back later on a spaced-repetition schedule.
Question 1 of 3
According to Fitts's Law, what two variables determine how long it takes to reach a target?
Hints without spoilers, and a plain explanation of why a wrong answer was wrong — answered only from this lesson. Free account, no card.
Sign up freeWhat interviewers actually ask about this, and what a strong answer has to cover.
A strong answer covers
Likely follow-ups
Fitts's Law models the time it takes to move a pointer (a mouse cursor, a finger, a thumb) to a target as a function of two things: the distance to the target and the target's size. Farther and smaller both make a target slower and harder to hit; closer and bigger both make it faster and easier. It's one of the oldest, most consistently reproduced findings in human-computer interaction, and it's the actual mechanism behind two pieces of UI advice that get repeated without their reasoning attached:
Close and large: short distance, generous size — the fastest, easiest target to hit.
Fitts's Law has a special case that explains a specific, non-obvious pattern: a target pinned to a screen edge or corner behaves like it has infinite size in the dimension perpendicular to the edge, because the cursor physically cannot overshoot past the edge of the screen. Flinging the mouse hard toward the very top of the screen and stopping precisely on a 20px-tall menu bar is effortless — the edge does the stopping for you. The identical 20px target floating in the middle of the screen has no such backstop; overshoot in any direction and you miss. This is why OS menu bars, taskbars, and browser chrome are pinned to edges rather than floating, and why a floating action button is a meaningfully harder target than a bottom-edge-anchored one at the same visual size.
"Why should this button be bigger, or why should it move?" is a question that separates "it looks nicer" from a candidate who can name Fitts's Law and explain the actual mechanism — time-to-target as a function of distance and size — including the edge/corner special case, which is the detail that shows real understanding rather than a memorized guideline.