Miller's law

What is Miller's law?

Miller's 1956 research showed that our immediate memory for unrelated items is limited - famously 'seven, plus or minus two'. Miller himself cautioned against treating this as a fixed limit, and later studies suggest the number of chunks is often lower, around three to five under controlled conditions. The key insight isn't a magic number: working memory is limited, so grouping information into meaningful chunks helps people retain it.

Also known as: the magical number seven, Millers law

Prefer to watch? Watch the recap 0:34

The demo

A sequence of digits will flash on screen for 1.5 seconds, then disappear. Type what you saw. Each round adds one more digit. See how far your working memory stretches.

What this demo shows (text version)

A digit-span test: sequences of random digits flash on screen for 1.5 seconds, then disappear. The reader types what they saw. The sequence starts at 4 digits and grows by one each round, up to 10. Most people recall sequences up to 5-9 digits reliably before errors begin, with an average around 7.

The result is Miller's law: working memory holds roughly 7 (+/- 2) items. The test makes the abstract limit personal, letting you find your own span, not a statistic.

Working memory is small, so people find it hard to manage many separate items at once. Break information into small, meaningful chunks - like grouped phone-number digits - and you work with that limit, not against it. Treat this as cognitive-load guidance, not a rule that caps how many things a screen may show. You can see and try this concept in action on this page.

Miller's original "magical number seven" has been refined since: modern estimates put the chunk limit closer to four, once rehearsal tricks are controlled for. But take care what you do with it - the number is about immediate memory span for unrelated items, not a cap on how many things may appear on screen. There's no "seven navigation items" rule. The real design implication is gentler: working memory is small, so don't make people hold things in their head; let the interface remember for them.

The "+/- 2" caveat matters more than the headline number. Some people manage nine, some five. Designing for the mean fails the people at the edges. Chunking (grouping items into fewer, meaningful units) is the practical answer: it doesn't expand the workspace, but it makes better use of it.

Miller's law reminds us that working memory holds only a few items at once

so group information meaningfully, not rigidly. You can test this principle live on this page - try the interactive demo to see chunking in action, not just read about it.

Miller's Law shows that working memory holds roughly 3 to 5 meaningful chunks, not a fixed number like 'seven plus or minus two'. You can test this concept in action using the hands-on demo on this page - no screenshots or external tools needed.