Usability Heuristics and Design Laws
Review interfaces against the ten classic usability heuristics, and use Fitts's law and Hick's law to reason about target sizes and the number of choices.
Welcome back!
Step 1 of 11Learn
Ten rules of thumb
In the 1990s, usability researcher Jakob Nielsen distilled many studies of interface problems into ten broad usability heuristics. Designers still use them to review interfaces quickly, in a method called heuristic evaluation: a few evaluators examine a design separately, note every violation of a heuristic, rate its severity, and then combine their lists.
The first five:
- Visibility of system status. Keep users informed about what's happening, with timely feedback. A progress bar during upload; a "Saved" message after editing.
- Match between the system and the real world. Use words, concepts and order familiar to users, not internal jargon. "Error 0x80070057" fails; "The file name contains a character that isn't allowed" works.
- User control and freedom. People make mistakes and need a clear exit: undo, cancel, back, "remove from cart."
- Consistency and standards. The same words and actions should mean the same thing everywhere, and the product should follow platform conventions.
- Error prevention. Better than a good error message is a design that prevents the error: disabling impossible dates, confirming before deleting a whole project, or offering suggestions as users type.
Heuristic evaluation is cheap and fast, but it's expert opinion. It complements testing with real users; it doesn't replace it.
Step 2 of 11Learn
Heuristics six to ten
The remaining five heuristics:
- Recognition rather than recall. Make options and information visible so users don't have to remember them. Showing recently viewed items, or listing available fonts, beats asking users to type a name from memory.
- Flexibility and efficiency of use. Offer shortcuts for experienced users, such as keyboard shortcuts, saved preferences or "reorder," without getting in the way of beginners.
- Aesthetic and minimalist design. Every extra element competes with the important ones. Remove information and decoration that don't help the task.
- Help users recognize, diagnose and recover from errors. Error messages should be in plain language, say exactly what went wrong, and suggest a fix. "Invalid input" fails; "Enter a phone number with 10 digits, for example 555 123 4567" works.
- Help and documentation. Ideally a product needs no explanation, but when help is needed, it should be easy to search, focused on the user's task, and give concrete steps.
When you report a heuristic violation, be specific: name the screen, the problem, the heuristic and a severity, for example from 0 (not a problem) to 4 (usability catastrophe). "The delete button on the project list has no confirmation or undo, so one misclick deletes weeks of work (heuristics 3 and 5; severity 4)." Specific findings get fixed. Vague ones ("navigation is confusing") get debated.
Step 3 of 11Flashcards
Nielsen's ten heuristics
Tap a card to flip it.
Step 4 of 11Practice · Match the pairs
Match each problem to the heuristic it violates.
Tap an answer, then tap the place where it belongs (or drag it there).
- A file upload shows nothing for 30 seconds, then suddenly finishes
- An app labels its shopping cart "Order staging area"
- There is no way to undo removing an item from a playlist
- Users must remember a code shown on the previous screen to complete a form
- An error says only "Something went wrong"
Step 5 of 11Learn
Fitts's law: size and distance
Fitts's law, from 1950s research on human movement, predicts how long it takes to move to a target, like tapping a button or moving a mouse to a link. The time grows with the distance to the target and shrinks as the target gets larger:
Movement time = a + b × log₂(D ÷ W + 1)
where D is the distance to the target, W is its width (size along the direction of movement), and a and b are constants measured for a given device and person. The part log₂(D/W + 1) is called the index of difficulty, measured in bits.
You don't need to compute this in daily design work, but the implications are everywhere:
- Make important targets big. A full-width "Pay now" button is faster to hit than a small text link.
- Put related actions near each other. The "Next" button should be close to the last form field.
- Keep destructive actions away from frequent ones. "Delete" placed right beside "Save" invites costly slips.
- Use screen edges and corners. On desktop, the mouse stops at the edge, so targets there behave as if infinitely deep.
- Mind touch targets. Fingers are less precise than cursors. Platform guidelines recommend minimum touch targets of roughly 44 to 48 points or pixels square.
Step 6 of 11Explore
Fitts's law explorer
The chart shows predicted movement time (seconds) as distance to the target grows. Change the target width and see how much a bigger button helps. Constants a = 0.1 s and b = 0.15 s per bit are illustrative.
- Index of difficulty at 400 px
- 3.46 bits
- Predicted time at 400 px
- 0.62 s
Step 7 of 11Practice · Work it out
A button 20 pixels wide is 300 pixels away from the cursor. What is the index of difficulty, log₂(D ÷ W + 1), in bits?
Step 8 of 11Learn
Hick's law: number of choices
Hick's law (also called the Hick-Hyman law) describes how long it takes to decide among options. For equally likely choices, decision time grows with the logarithm of the number of choices:
Decision time = b × log₂(n + 1)
where n is the number of choices and b is a constant. The logarithm matters: going from 2 to 4 options adds noticeable time, but going from 20 to 22 adds very little. Decision time doesn't explode with more options; it grows steadily but slowly.
What this means in practice:
- Reduce choices at critical moments. A checkout page with eight different buttons slows people down and invites mistakes. One clear primary action works better.
- Highlight a recommended option. Pricing pages often mark one plan as "Most popular" to cut decision effort.
- Group and chunk long lists. A menu of 40 items split into five labeled groups is easier to scan.
- Use progressive disclosure. Show basic options first and put advanced settings behind a "More options" link.
Hick's law has limits. It applies best to simple, equally likely choices. When users know exactly what they're looking for, such as their own country in an alphabetical list, they scan rather than weigh options, and a longer list costs less than the formula predicts. Don't hide frequently needed options just to shorten a menu.
Step 9 of 11Try the calculator
Hick's law calculator
Compare decision time for two menu designs. The constant b varies by person and task; 0.2 s per bit is an illustrative value.
- Decision time, design A
- 0.8 s
- Decision time, design B
- 0.4 s
- Time saved by design B
- 0.4 s
Step 10 of 11Note
Step 11 of 11Practice · What would you do?
What would you do?
A mobile banking app puts a small "Transfer" text link and a small "Close account" link right next to each other at the bottom of the screen. Which change best applies what you have learned?
Lesson complete!