uiuxindexUI & UX, indexed.
uxmemorychunkingcognitiveinformation-architecture

Miller's Law

The average person can hold about seven items — give or take two — in working memory at one time. Grouping information into chunks of seven or fewer makes it easier to scan, recall, and act on.

Explanation

In 1956, cognitive psychologist George Miller published a paper called 'The Magical Number Seven, Plus or Minus Two,' reporting that human working memory has a hard capacity limit of roughly seven discrete items. This is not a soft guideline — it reflects the architecture of short-term memory. When we exceed that limit, older items drop out to make room for new ones.

Chunking is the practical response. A phone number like 09661234567 is eleven separate digits — well past seven. Rendered as 0966 123 4567, it becomes three chunks. Each chunk is one item in working memory, well within the 7±2 limit. The number is the same; the cognitive load is not.

The implication for interface design is broad. Navigation menus with more than seven items force users to scan beyond their memory span — by the time they reach item ten, they may have forgotten item two. Forms with many fields in a single column feel longer than they are, even if the total word count is identical to a paginated version.

Common applications: - Navigation: cap top-level items at five to seven; group anything beyond that into a section or dropdown. - Form fields: group related fields under headings, or split a long form across steps. - Lists and options: five to seven choices in a select menu is easier to decide from than fifteen. More than seven options often signals that the choices need better structure, not more of them. - Pricing tiers: three is ideal; five is the practical limit before users stop comparing properly.

It's worth noting that Miller himself cautioned against applying the number too rigidly. Chunks vary in size depending on expertise — an expert chess player chunks an entire board position as a single item, where a novice sees individual pieces. Design for your actual user, not an average one.

Examples

Chunking

Numbers are easier to read in groups

The raw and chunked versions contain identical characters. The chunked versions are faster to read, verify, and recall because each group becomes one memory item instead of one per digit.

Phone number

Unchunked

09661234567

Chunked

0966 123 4567

Three groups (area code / exchange / subscriber) map to how we say it aloud.

Credit card

Unchunked

4532015112830366

Chunked

4532 0151 1283 0366

Four groups of four. Easier to verify one group at a time against a physical card.

IBAN

Unchunked

SA4420000001234567891234

Chunked

SA44 2000 0001 2345 6789 1234

Groups of four. The country + check digits chunk first so the bank can be identified quickly.

Navigation

How many nav items is too many?

Drag the slider to add or remove navigation items. Past seven, users stop scanning linearly and start guessing — items near the end get overlooked.

Comfortably within working memory — users can scan and hold all options.