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
Variables
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
More in Computer Science
View allGustafson’s Law
IntermediateIdeal scaled-workload speedup when more processors allow a larger parallel task in the same elapsed time. Here s is the serial fraction of the parallel execution time, not the single-processor fraction used in Amdahl’s law.
Hick–Hyman Law (Equal Choices)
IntermediateModels choice reaction time for n equally likely alternatives (n ≥ 1). This information-theoretic form assumes comparable, practised stimulus–response choices; it is not a universal law of menu browsing.
Shannon Entropy
AdvancedAverage information content of a random source (bits).
Master Theorem (form)
AdvancedAnalyzes running time of divide-and-conquer algorithms.
Hamming Distance
AdvancedNumber of positions at which two strings differ.
Bits to Represent n
BasicMinimum number of bits to represent n distinct values.