Design2 min read

Miller's Law in UX: How Much Can Human Memory Hold?

Next to a modern computer, human “RAM” can look pretty unimpressive. Is there a fix? Yes, and George Miller offered one long ago!

In our digital age, there's no need to memorize long phone numbers or shopping lists. Still, memory plays a big part in how we perceive the world around us, and therefore in UX design decisions too. It would be presumptuous to assume users can remember and absorb any stream of information as long as we wrap it in a pretty design. It's crucial to account for the limits of memory and make the most of its resources. That's where Miller's Law comes in.

What Miller's Law Says

In 1956, psychologist George A. Miller published the results of his cognitive research. Calling seven a “magical” number, he argued that this is how many items (plus or minus two) the human brain can easily take in and hold in memory.

George A. Miller and his book “The Magical Number Seven”

Of course, seven is an average. Depending on experience, mental ability, occupation, and cognitive load, people's memory is more or less flexible. Still, keeping Miller's findings in mind can make it much easier for users to take in and remember information.

It's important to admit that this law (like any other) isn't a cure-all but more of a key to understanding how our brains work. It reveals how different kinds of information get processed and helps define the limits of perception. It's best to stay within those limits so that the user's interaction with content is truly effective and, where possible, simple.

How to Apply the Law in Practice

So what do you do when the amount of information you need to fit on a page goes well beyond seven? And that happens a lot. Have you seen how many items a typical online store carries? Way more than 7. And yet people somehow find their way around… because there is a way out.

Chunking Pushes the Limits

If you break all your content into chunks or groups, you can trick perception. The brain reads the information by focusing on headings and paragraphs, and takes each one as a single separate chunk. That relieves the strain of what seemed like an overwhelming amount of data. Anyone would struggle to pick up a book where several hundred pages of text run in one unbroken stream. But split it into chapters, subheadings, and paragraphs, and reading instantly becomes easier and more enjoyable. Chunking like this doesn't just reduce cognitive load; it also helps people remember information more easily and process it more efficiently. The same principle is one of the fundamentals of UI.

Information grouped successfully on Airbnb

For example:

  • Many websites put no more than seven items in the navigation menu, and usually even fewer in the header. Hover over any of them, though, and you get a list of several sub-items. That way, all the menu category names are in front of you at once, and there's no need to scroll the list.
  • Online stores split forms or the checkout process into several steps, which makes filling them in easier for users. Think back to your last order. Most likely you started at the cart, then entered a shipping address and personal details (if you're a returning customer, they'll even be filled in already), and only then moved on to payment details. If all of that had been dumped on you at once, the purchase might not have seemed so tempting.
  • An online store's catalog needs careful structuring too. It's better to avoid long lists and not put every product you have on one page. Ozon, for example, shows 6 featured product cards instead of 10. This direct application of Miller's Law makes it easier to find the right product and keeps the interface from getting cluttered with unnecessary information. Users can always open the next part of the list and see more if they want.
  • Banking systems always (okay, almost always—some banks' UX designers aren't quite up to it) split 16-digit card numbers into four groups of four. That way there's less chance you'll repeat a digit while typing and send a transfer to the wrong guy. Getting the money back won't be easy, and the bad taste will linger for a long time.
  • Phone numbers, depending on the country, are also written in groups of a few digits. That makes them easier to remember and minimizes the chance of error. Numbers like these are easier to type into a form, and they're much more comfortable to read in text, too.

Ozon shows 6 product cards instead of 10

Visual Hierarchy

Using color, shape, size, and placement, we can steer the user's attention to the most important content. Not sure how to pull that off in practice? Our design geek Nikita made a YouTube video just for that, where he covers a few psychological techniques in design and shows how to make elements stand out with size and color. A visual hierarchy like this lets you apply Miller's Law even with a large amount of information and content.

MyFitnessPal reduces cognitive load with visual hierarchy

Apple's product pages are a great example of Miller's Law in action. Yes, it's not for nothing that we said in our article on the company's evolution that Apple is a leader at the cutting edge not only in technology but in design too. The pages aren't overloaded with information, they highlight a few key features of the model on show, and they present all the technical and functional details in easy-to-digest chunks.

Apple makes great use of Miller's Law

Structuring Content

Modals, tooltips, tabs, and accordions let you hide most of the data and arrange interface elements so you don't exceed Miller's number. Users get information in the smallest possible portions and take it in gradually, without being overwhelmed by all the content coming at them at once.

Shapr3d.com hides secondary information behind 6 tabs

Structuring content makes information easier to take in and interaction more effective. Large blocks can be broken up with headings, subheadings, and various visual effects. If you lay out content with scanning patterns and the psychology of perception in mind, you'll get the most important information across to the user. Then, even if the brain absorbs only part of what it sees, no big deal: it took in what matters most, and only the secondary stuff was left out.

What to Keep in Mind

Miller's Law is a great way to simplify an interface and take the information overload off users. But there are caveats here too. Sadly, some people apply it incorrectly, and that limits the design and boxes it in.

For example, a product catalog or a site's navigation menu doesn't have to be limited to the “magical number 7” at all. When deciding how and where to apply Miller's Law, consider the role and purpose of each UI element. A menu's job is to get users to the right section as quickly as possible. If they can't find it in the navigation menu, that's hardly going to make their life easier. You need to do everything you can to turn your user into a loyal customer.

One option is to split a long list into categories, as we mentioned above. Big stores often divide products into a few main groups: gadgets, computers, accessories, large and small appliances… But then you need to think through the structure and the best way to present the information, such as a dropdown.

The menu on Rozetka has more than 7 items

Unfortunately, sometimes even trimming and chunking won't save the day. How memory works is a fairly subjective thing. Memory and the ability to focus on information vary from person to person. Stress, feeling unwell, distractions, and multitasking can significantly reduce cognitive ability. Then remembering even seven chunks of information becomes too much.

Keep in mind that overly complex blocks of information take more time and effort to process. In the end, as experience shows, they make the task harder and reduce how much people take in.

Wrapping Up

Miller's Law lets you simplify many tasks and use memory's capacity effectively and wisely. It may not be a universal rule, but it helps you account for how the human brain works and create designs that are not only visually appealing but also practical and easy to take in.

Miller's Law lets you use memory's capacity wisely

To get the most out of memory, break large blocks of information into several smaller groups. Draw attention to what matters with emphasis and a clear, easy-to-follow hierarchy, and build a handy, concise navigation menu.

Article updated

Subscribe to our regular digest

We'll send you useful articles and news from the world of AI, design, tech, and career growthdesign, and tech

Over 3,000 people already get our useful content