Index of Difficulty (ID)
HCI CORE CONCEPT · WEEK 03
The quantitative difficulty of a pointing task measured in bits: doubling the distance is mathematically equivalent to halving the target width.
At a glance
What: The logarithmic component of Fitts’s Law: $ID = \log_2(D/W + 1)$, expressed in units of bits. Why: Decouples task difficulty from specific physical devices or users, allowing researchers to measure human motor bandwidth (Throughput in bits/sec). See it: A target $800\text{px}$ away with $W=10\text{px}$ ($ID \approx 6.3\text{ bits}$) takes more than double the aiming effort of a target $300\text{px}$ away with $W=100\text{px}$ ($ID = 2\text{ bits}$).
“Index of Difficulty is a measure of the information required to execute a targeted movement task.” — I. Scott MacKenzie (1992)
1. Definition (my own words, ≤ 3 sentences)
The Index of Difficulty (ID) is a metric derived from information theory that quantifies how hard a targeted pointing task is for human motor control. Expressed in bits, it represents the ratio of movement distance ($D$) to target tolerance ($W$). Because it is logarithmic ($\log_2$), increasing target distance by a factor of 2 adds the exact same amount of difficulty (+1 bit) as shrinking target width by half.
2. Core Architecture: The Shannon Formulation
┌────────────────────────────────────────────────────────────────────────┐
│ INDEX OF DIFFICULTY (SHANNON FORMULATION) │
└───────────────────────────────────┬────────────────────────────────────┘
│
ID = log₂( D / W + 1 )
│
▼
Measured in BITS of information
┌───────────────────────────────────┬───────────────────────────────────┐
│ DOUBLING DISTANCE (2D) │ HALVING WIDTH (W/2) │
├───────────────────────────────────┼───────────────────────────────────┤
│ Target moved from 200px to 400px │ Target shrunk from 40px to 20px │
│ (W = 40px fixed): │ (D = 200px fixed): │
│ ID = log₂(400/40 + 1) │ ID = log₂(200/20 + 1) │
│ = log₂(11) ≈ 3.46 bits │ = log₂(11) ≈ 3.46 bits │
├───────────────────────────────────┴───────────────────────────────────┤
│ Result: Both geometric changes introduce the EXACT SAME motor load. │
└───────────────────────────────────────────────────────────────────────┘
3. Deriving Human Throughput ($TP$)
In controlled HCI experiments (like Week 3’s HW03 Experiment), researchers plot movement time ($MT$) across a spectrum of IDs:
Movement Time (MT in ms)
800 ┼ ● (D=800, W=10, ID=6.3)
600 ┼ ● (D=400, W=20, ID=4.4)
400 ┼ ● (D=300, W=100, ID=2.0)
200 ┼ ● (Intercept a = 150ms)
0 ┼──┴───────────┴───────────┴─────────┴─────────►
0 2 4 6 Index of Difficulty (ID in bits)
- Regression Line: $MT = a + b \cdot ID$
- Throughput ($TP$): The processing speed of the human-device channel: $$TP = \frac{1}{b} \quad \text{(bits per second)}$$
- Comparison Benchmark:
- A standard desktop mouse achieves roughly 4.5 to 5.0 bits/s.
- A finger on a capacitive touchscreen achieves roughly 3.5 to 4.5 bits/s (higher error rate due to finger occlusion).
- Mid-air spatial gesture tracking (e.g. Kinect / Leap Motion) drops to ~2.0 bits/s due to tremor and lack of physical friction.
4. Why it matters for software engineers
When engineers build dense dashboards, they often treat UI space linearly: “There is room for a 14px button here, let’s put it in the corner.” Calculating the $ID$ reveals the hidden cost:
- A $14\text{px}$ button $600\text{px}$ away has an $ID = \log_2(600/14 + 1) \approx 5.45\text{ bits}$.
- Increasing its width to $28\text{px}$ reduces $ID$ to $4.48\text{ bits}$—shaving off nearly a full bit of cognitive/motor demand per click.
- For high-frequency developer workflows (e.g., clicking “Run Tests” 80 times a day), reducing ID translates directly to reduced motor fatigue and fewer missed clicks.
Related concepts
- fitts-law
- working-memory
- slips-vs-mistakes
- nielsen-heuristics