Computer Engineering is coming soon

We're still writing and reviewing the notes for every subject, and we'll open it when every subject is ready. Meanwhile you can practise aptitude, ask Aria about any subject, or see the branches that are ready.

Fitts's law, Hick's law and heuristic evaluation

Fitts's law and Hick's law predict how long users take to select or decide, and heuristic evaluation is a lightweight expert-review method to find usability problems — all three are essential tools in UI/UX engineering.

Drafted with Aria, reviewed by the AiCanCode.org team · Updated . How we write and check our notes. Spotted an error? Use Give Feedback at the bottom of the page.

Why it matters

Engineers use these laws and methods when designing interactive systems to estimate how fast users can move and decide, to size and place controls (Fitts), to structure choice sets (Hick), and to quickly find usability problems before costly user tests (heuristic evaluation).

Key ideas

  • Define: Index of difficulty (ID) is a measure (in bits) of how hard the movement is; larger ID means harder.

  • Exact (Shannon) statement used in HCI: MT = a + b · ID, where ID = log2(1 + D/W).

    • Assumptions: the movement is aimed (closed-loop), target is static, target width W is measured in the direction of motion (effective tolerance), distance D is the distance from start to target centre, practice is enough to show consistent performance, and pointing device dynamics are consistent. In empirical analyses, W is often replaced by effective width We derived from endpoint variability: We = 4.133 · SD along the motion axis, yielding IDe = log2(1 + D/We).
    • Origins/derivation outline (what universities expect): Fitts model treats aiming as an information transmission problem. The performer reduces positional uncertainty from D to within +/-W/2. The information needed is approximately log2(D/(W/2)) = log2(2D/W). The Shannon formulation replaces log2(2D/W) with log2(1 + D/W) to better fit empirical data and to remove singularity at D=0. The final linear relation between MT and ID is obtained empirically: MT = a + b·ID.
  • Diagram to draw for exams: draw a horizontal line for movement path, mark start point S on left, rectangle target T on right. Label distance arrow D from S to target centre, label target width W (measure along motion axis), indicate movement direction arrow. Separate axes are not required.

  • Hick's law — predicts decision time when choosing among several alternatives.

    • Define: Reaction time (RT) is the time from presentation of choices (stimulus) to initiation of response (e.g., start of keypress), not including movement execution. Unit: seconds (s).
    • Exact statement (common forms): RT = a + b · log2(n) or RT = a + b · log2(n + 1) (Hyman variation). Here n is the number of equally probable alternatives. For unequal probabilities, use RT = a + b · H, where H = -∑ p_i log2 p_i (bits).
      • Assumptions: choices are discrete and comparable, alternatives have equal probability (unless weighted-probability extension is used), decisions are simple (not complex reasoning), and stimulus–response mapping is learned.
      • Diagram to draw: plot RT (y-axis) vs log2(n) (x-axis), showing roughly linear relation. Label slope b and intercept a.
  • Heuristic evaluation — an expert-based inspection method to find usability problems quickly.

    • Define: Heuristic: a general, experience-based guideline for good usability (e.g., "match system to the real world").
    • Typical process: 3–5 independent evaluators inspect an interface using a set of heuristics (commonly Nielsen's 10 heuristics), list violations, rate severity, and aggregate findings into a prioritized report.
    • Severity rating (common scale): 0 = not a problem, 1 = cosmetic, 2 = minor, 3 = major, 4 = usability catastrophe. Include rationale for ratings.
    • Assumptions/limits: heuristics find many problems quickly but may miss domain-specific or task-flow issues; they produce expert judgements, not direct measures of user performance.
    • Diagram/table to draw: a results table with columns: interface element, violated heuristic (name), description of problem, severity (0–4), recommendation.

Formulas

MT = a + b · log2(1 + D / W)

  • MT = movement time (s). a, b = empirically determined constants (s and s/bit). D = distance to target (m or mm). W = effective width of target in motion axis (m or mm). Applies to pointing movements under Fitts assumptions.

ID = log2(1 + D / W)

  • ID = index of difficulty (bits). D and W as above. Unit: bits (information units). Applies when using Shannon formulation.

MT = a + b · log2(2 · D / W)

  • Alternate (original Fitts) form. Same symbols. Use with caution; Shannon form is preferred in HCI.

TP = ID / MT

  • TP = throughput (bits/s), an empirical measure of device performance. ID in bits, MT in seconds. Applies when comparing input devices or conditions. In practice (e.g., ISO 9241-9), use effective index of difficulty IDe with We (see above) and compute TP over many trials as mean(IDe/MT) or as total IDe divided by total MT.

RT = a + b · log2(n)

  • RT = reaction/decision time (s); n = number of equally probable choices (dimensionless); a,b empirical constants (a in seconds (s), b in seconds per bit (s/bit)). Applies under Hick assumptions.

RT = a + b · log2(n + 1)

  • Hyman variant (sometimes used to better fit data for small n). Same symbols.

Worked examples

  1. Fitts's law numerical (mouse click)
  • Given: D = 200 mm, W = 20 mm, a = 0.20 s, b = 0.10 s/bit. Units: mm and s.
  • Formula: ID = log2(1 + D / W). Compute D / W = 200 / 20 = 10.
  • ID = log2(1 + 10) = log2(11) = 3.459431618 (bits).
  • MT = a + b · ID = 0.20 s + 0.10 s/bit · 3.459431618 bits = 0.20 + 0.345943162 = 0.545943162 s.
  • Final answer: MT ≈ 0.546 s (rounded to three significant figures).
  1. Hick's law numerical (menu choices)
  • Given: n = 8 alternatives (equally likely), use Hyman variant, a = 0.10 s, b = 0.15 s/bit.
  • Formula: RT = a + b · log2(n + 1).
  • Compute log2(8 + 1) = log2(9) = 3.169925001.
  • RT = 0.10 + 0.15 · 3.169925001 = 0.10 + 0.47548875 = 0.57548875 s.
  • Final answer: RT ≈ 0.575 s.
  1. Heuristic evaluation (model exam answer)
  • Question: "Describe how you would perform a heuristic evaluation of a mobile app login screen and give example findings." (model answer)
    • Step 1: Choose heuristics — use Nielsen's 10 heuristics (visibility of system status; match between system and real world; user control and freedom; consistency and standards; error prevention; recognition rather than recall; flexibility and efficiency of use; aesthetic and minimalist design; help users recognize, diagnose, and recover from errors; help and documentation).
    • Step 2: Recruit 3 evaluators with UX experience and one domain expert.
    • Step 3: Provide tasks (e.g., "Log in with existing account", "Reset password") and ask evaluators to go through flows independently, noting violations.
    • Step 4: Record each issue in a table: element (e.g., "Forgot password link"), violated heuristic (e.g., "visibility of system status"), description (e.g., "link hidden under other controls"), severity (3 = major), recommendation (e.g., "move link below login fields, increase contrast").
    • Step 5: Aggregate and prioritize by severity and frequency across evaluators, produce a report with recommended fixes.
    • Example findings (short): (1) "No feedback when login button pressed" — violates visibility of system status — severity 3 — recommend show progress spinner. (2) "Password field mask has no reveal option" — violates flexibility and efficiency — severity 2 — recommend add reveal button.
    • Conclude with limitations: expert review cannot replace user testing; follow up with usability testing and metrics (see Usability testing and UX metrics).

Common mistakes

  • Applying Hick's law without checking choice probabilities; if options are not equally probable, use entropy-weighted forms instead of log2(n).
  • Confusing movement time (Fitts) with reaction/decision time (Hick) — they are different processes and measured differently.
  • Expecting exact predictions for all users; both laws are models with empirical parameters and valid only under assumptions.
  • Using Fitts's law uncritically for 2D targets without clarifying how W is measured (effective width) or without considering direction changes.
  • Rating heuristic-evaluation findings without clear severity rationale or mixing severity with frequency in a single number.

For your exam

Quick check

  1. What is the unit of Index of Difficulty (ID)?
  2. In Fitts's law, if D doubles and W stays same, what happens to ID approximately (in bits)?
  3. Name two heuristics from Nielsen's list.

Answers: 1) bits. 2) ID increases by about 1 bit (for large D/W: 1 + 2D/W ≈ 2D/W and 1 + D/W ≈ D/W, so ΔID ≈ log2(2D/W) − log2(D/W) = 1). 3) visibility of system status; consistency and standards (either two of Nielsen's ten).

Finished this topic? Mark it so your progress, study plan and readiness keep up.

Stuck on something here?