Computer Science
Intermediate

Fitts’s Law (Shannon Form)

An empirical model of aimed movement time: farther or narrower targets generally take longer to reach. Use D ≥ 0, W > 0 and fitted coefficients for the device and task.

Formula

MT=a+blog⁡2 ⁣(1+DW)MT = a + b\log_2\!\left(1+\frac{D}{W}\right)

Variables

MTPredicted movement time (seconds)
aFitted time intercept (seconds)
bFitted slope (seconds per bit)
DDistance to target centre
WTarget width along the movement direction, in the same units as D

Example

Illustrative fitted values a = 0.10 s, b = 0.15 s/bit, D = 240 px and W = 30 px give MT = 0.10 + 0.15 log₂(9) ≈ 0.575 s. W = 60 px gives ≈ 0.448 s.

How it works

Trying to hit a tiny close button is harder than tapping a broad button nearby. Fitts’s law describes that speed–accuracy trade-off using the ratio of movement distance to target width. The Shannon form uses log₂(1 + D/W), so the predicted time increases logarithmically with difficulty. It is an empirical model of aimed movement, not a formula for how long someone takes to read or decide.

When to use it

Compare pointing targets in interfaces, accessibility studies or experiments. Measure a and b for the device, users and task; the numbers below are illustrative, not universal human constants.

Worked example, step by step

Step 1: Assume illustrative fitted constants a = 0.10 s and b = 0.15 s per bit. The target is D = 240 pixels away and W = 30 pixels wide along the movement direction.

Step 2: Compute the difficulty: 1 + D/W = 1 + 240/30 = 9; log₂(9) ≈ 3.1699.

Step 3: Predict movement time: MT = 0.10 + 0.15 × 3.1699 ≈ 0.575 seconds.

Step 4: Double the width to 60 pixels, leaving distance unchanged. Now 1 + 240/60 = 5 and log₂(5) ≈ 2.3219.

Step 5: MT = 0.10 + 0.15 × 2.3219 ≈ 0.448 seconds.

Interpretation: the wider target is faster to acquire in this model. These are movement times, not complete task times.

Common mistakes to avoid

  • Mixing units for distance and width.
  • Measuring width perpendicular to the movement rather than along it.
  • Treating fitted coefficients as constants for every user and device.
  • Assuming Fitts’s law includes reading and decision time.

Did You Know?

Fitts’s law links speed and accuracy in pointing tasks; its coefficients must be measured rather than assumed universal.

Share this formula

Educational examples use simplified assumptions. Check units and applicability before using a result; health, financial and safety decisions need appropriate professional guidance. About FormulaWon · Report a correction