UX Laws
Miller's Law
By Dnyaneshwar N
•
5 min read
•
George A. Miller, 1956 (Working Memory Span)
Human short-term memory has strict biological limits. Organize content into meaningful, digestible chunks of 5 to 9 items so users can process and retain data without cognitive overload.
Core Principle
The average person can only keep 7 (plus or minus 2) items in their active working memory at any given moment.
The Magical Number Seven and Working Memory Capacity
In 1956, cognitive psychologist George A. Miller published one of psychology's most famous papers, demonstrating that human short-term working memory can hold approximately 7 plus or minus 2 pieces of information simultaneously.
In software design, this finding is frequently misunderstood. Miller's Law does not mean that every menu must strictly contain exactly 7 items; rather, it highlights the importance of chunking: organizing dense information into meaningful, recognizable clusters that the brain can process as single cognitive units.
For example, reading an unbroken string of ten digits like 9845123489 is cognitively taxing. Formatting that same string into chunks like (984) 512-3489 allows working memory to treat each cluster as an individual unit, dramatically improving retention and error prevention.
Cognitive Chunking in LLM and AI Interfaces
Miller's Law is especially critical when designing interfaces for generative AI assistants. When a language model answers a user prompt with six unbroken paragraphs of dense prose, the user experiences immediate cognitive overload and skimming fatigue.
Applying Miller's Law requires structuring AI outputs into digestible, chunked components: summary bullet points, highlighted metrics, expandable accordions, and formatted callouts.
Breaking AI-generated insights into distinct visual chunks enables users to absorb key findings, verify recommendations, and maintain control without mental exhaustion.
Frequently Asked Questions
Working memory and information chunking guidelines:
- What is Miller's Law in UX? The principle that the average human working memory can hold roughly 7 (plus or minus 2) chunks of information at a time.
- What is chunking in interface design? Grouping individual pieces of information into related, manageable clusters (e.g. credit card number formatting, grouped navigation sections).
- Does Miller's Law mean designers should limit options to 7? No. It means information should be categorized into digestible groups of 5 to 7 items rather than displayed as a long, continuous list.
When to Apply
- Formatting credit card numbers, phone numbers, and OTP codes
- Navigation menus and bottom bar tabs (maximum 4-5 tabs)
- Data-dense dashboard cards and telemetry grids
- Multi-tiered settings categories
- Managing working memory bandwidth in complex product interfaces, as explored in Cognitive Load Theory in Product Design.
Recommended Practices
- Chunk credit card numbers into groups of 4 (4-4-4-4) and phone numbers with hyphens/spaces.
- Limit primary bottom navigation bars to between 3 and 5 items.
- Organize dashboard metrics into modular, themed visual containers.
- Pair small information chunks with streamlined choice sets following Hick's Law.
Practices to Avoid
- Do not require users to memorize information from step 1 to use in step 3.
- Do not overload navigation bars with 8+ icons without clear grouping.
- Do not present unformatted 16-digit strings in verification workflows.
Diagnostic Checklist
- Is numeric input automatically formatted into readable chunks?
- Are navigation bars restricted to 3-5 core items?
- Is critical context preserved across screen transitions without forcing user memorization?
- Use whitespace to visually group chunked data into intuitive clusters with the Law of Proximity.