Usability Models: Fitts’s Law, Hick’s Law and Navigation Design
Use two well-known models of human performance, Fitts's law for pointing time and Hick's law for choice time, to compare designs with numbers, decide how many menu items and levels to use, and verify the calculations independently.
In this lesson you will
- Apply Fitts’s law to target size and distance
- Apply Hick’s law to the number of choices
- Compare menu breadth and depth
- Use models as aids, not as laws of nature
About 28 minutes
Making the booking button faster to reach
Lina can argue about the size of the booking button for ever, or she can use a model. Fitts’s law, from 1954, predicts the time to point at a target: MT = a + b x log2(D / W + 1), where D is the distance to the target, W is its width in the direction of movement, and a and b are constants fitted to a device and a person. The message is simple: bigger and closer targets are faster, with diminishing returns because of the logarithm. Doubling the width helps the most when the target is small. It explains why large buttons, and edges and corners of the screen, which cannot be overshot, are easy to hit.
Hick’s law, or the Hick-Hyman law, predicts the time to choose among n equally likely options: T = b x log2(n + 1). It grows with the logarithm of the number of choices, so ten items take noticeably longer than five, and a hundred items not ten times longer than ten. For navigation design this leads to a question: with 64 pages, is it better to show 64 links at once, a two-level menu of 8 groups with 8 pages each, or a three-level menu of 4 by 4 by 4? Each level costs one decision plus one click, so there is a trade-off between choices per level and number of levels. These laws are models fitted to laboratory experiments. They give the direction and rough size of an effect, not exact times for your visitors, so the constants below are invented for illustration, and real values must be measured.
| Model | Formula | Says |
|---|---|---|
| Fitts | MT = a + b log2(D/W + 1) | Bigger and nearer is faster |
| Hick | T = b log2(n + 1) | More choices take longer, but slowly |
| Menu depth | levels x (move + decide) | Trade breadth for depth |
const a = 0.2, b = 0.15;
const fitts = (D, W) => a + b * Math.log2(D / W + 1);
const designs = { 'small, far (W 24, D 600)': fitts(600, 24), 'normal (W 44, D 600)': fitts(600, 44), 'large (W 88, D 600)': fitts(600, 88), 'large and near (W 88, D 150)': fitts(150, 88) };
for (const [k, t] of Object.entries(designs)) console.log(k.padEnd(30), t.toFixed(3), 's');
const hickB = 0.2, move = 0.4;
const hick = n => hickB * Math.log2(n + 1);
const plans = { '1 level of 64': [64], '2 levels of 8': [8, 8], '3 levels of 4': [4, 4, 4], '6 levels of 2': [2, 2, 2, 2, 2, 2] };
const times = {};
for (const [k, lv] of Object.entries(plans)) { times[k] = lv.reduce((s, n) => s + hick(n) + move, 0); console.log(k.padEnd(16), 'predicted', times[k].toFixed(3), 's'); }
console.log('check: product of choices per plan:', Object.values(plans).map(l => l.reduce((p, n) => p * n, 1)).join(', '));
console.log('DATA ' + JSON.stringify({ designs, times }));
small, far (W 24, D 600) 0.905 s
normal (W 44, D 600) 0.781 s
large (W 88, D 600) 0.645 s
large and near (W 88, D 150) 0.415 s
1 level of 64 predicted 1.604 s
2 levels of 8 predicted 2.068 s
3 levels of 4 predicted 2.593 s
6 levels of 2 predicted 4.302 s
check: product of choices per plan: 64, 64, 64, 64
With the invented constants a = 0.2 seconds and b = 0.15, a small button of 24 pixels at a distance of 600 pixels takes 0.905 seconds to reach. Making it 44 pixels wide lowers the time to 0.781, doubling to 88 gives 0.645, and moving the large button closer, to 150 pixels away, gives 0.415. The savings are fractions of a second, and they are paid on every interaction by every visitor, and for people with a tremor or on a bouncing bus the effect of a small target is much larger than the average. The logarithm explains why doubling a button that is already big buys little.
The menu comparison uses a Hick constant of 0.2 seconds and an extra 0.4 seconds to move and click at each level. The single level of 64 links is predicted at 1.60 seconds, the two-level 8 by 8 menu at 2.07, the three-level 4 by 4 by 4 at 2.59 and the six-level binary menu at 4.30. In every plan the product of choices is 64, so every page can be reached. The ranking is the opposite of what many people expect: the broad, flat menu wins and the deep ones lose, in order of depth. The reason is in the formulas. Choice time grows with the logarithm of the number of options, so going from 8 to 64 choices adds only about 3 binary decisions’ worth of time, while every extra level adds a whole movement and click. This agrees with published research on menu design, which has found broad and shallow structures to be better than deep ones, up to a limit. The model assumes that the visitor can find an item in a long list as fast as in a short one, and that holds only if the 64 links are well grouped, clearly labelled and easy to scan, so the practical lesson is to avoid unnecessary levels, and to give a long list headings, not to put 64 raw links in a row. Real visitors, labels and layouts decide, so test the structure with people.
Independent check: both formulas were written again in Python with the same constants, and every predicted time agrees with the JavaScript result to twelve decimal places, and the check that each plan reaches 64 pages was printed by the program. These models describe average behaviour in controlled conditions: they omit reading, learning, familiarity and mistakes, and users who know the site do not need to decide among all the choices. Use them to compare options and to support a decision, and run a real test, such as a tree test of the menu with participants, before you commit.
Check by hand: log2(600 / 24 + 1) = log2(26) = 4.70, so the time is 0.2 + 0.15 x 4.70 = 0.905 seconds. For 8 choices, log2(9) = 3.17, so one level costs 0.2 x 3.17 + 0.4 = 1.034 seconds and two levels 2.07 seconds. For 64 choices, log2(65) = 6.02, so 0.2 x 6.02 + 0.4 = 1.60 seconds.
The constants of Fitts’s and Hick’s laws depend on the people and the device. Use the models to compare designs and to reason, and test with real users before drawing conclusions about seconds.
The best menu structure follows how visitors think about the content, not how the organisation is organised. A card-sorting exercise with real people shows the natural groups.
Every calculation in this lesson was run while the course was written, in JavaScript (Node.js 22) and checked independently in Python 3.13 (and, where it says so, with real files). Design guidelines are rules of thumb and tools change, so check current documentation, and test your own designs with real people. The constants in this lesson are invented. Published research gives typical values, so check the usability literature and measure your own audience.
Practice
Compute the Fitts time for a 48 pixel button at 800 pixels, and for a screen-edge button of the same size. Find the best menu structure for 100 pages with the same constants. Run a tree test of a menu with five people, and note where they get lost.
Check what you learned
Five quick questions. Pick an answer and you will see straight away whether it is right and why.
What does Fitts’s law say?
- Bigger and nearer targets are faster to hit
- Colours speed up clicking
- More text is faster
- Menus should be deep
MT = a + b log2(D/W + 1).
What does Hick’s law say?
- Choice time is constant
- Choice time grows linearly
- Fewer than 3 options is slower
- Choice time grows with the log of the number of options
T = b log2(n + 1).
Why are constants in the lesson invented?
- The laws are false
- They are secret
- Python requires it
- They depend on people and devices and must be measured
Use the models for comparisons.
What does the menu comparison suggest under the model?
- Many levels are faster
- Binary menus are fastest
- Fewer levels with more choices each are faster
- Menus do not matter
Each level adds a fixed cost; choices add only a log cost.
What can you run to test a menu with real people?
- A speed test
- A spell check
- A tree test
- A build
Participants find items in a text-only tree.
Summary
- Fitts: bigger and nearer targets are faster, with diminishing returns.
- Hick: choice time grows with the logarithm of the number of options.
- Under the model, broad and shallow menus beat deep ones, if well grouped.
- Models guide decisions; real tests confirm them.
Questions
Are Fitts and Hick still valid on touch screens?
The basic ideas hold, since targets that are bigger and closer are faster, though the constants and the shape of the effects differ. Check recent research for touch interaction.
Should I limit menus to seven items?
The "seven plus or minus two" rule is about memory, not menus, and is often misapplied. Group items sensibly and test, rather than following a number.
What is a tree test?
A test of a site structure using only the labels, without the visual design, to see whether people can find where things are.
