← Back to the principles list

Miller’s law in ecommerce

Next principle →

Shoppers can only keep a few things in mind at once.

Working memory is the short-term space where a shopper holds what they just read. Scroll past a dozen menu links and the first ones start to fade, so sort long lists into a few named groups.

Miller's law
Made-up example: 22 links are hard to keep in mind, and 5 named groups are easy.

Miller’s law, named after psychologist George Miller and also known as “the magical number seven,” says people can hold about seven items, give or take two, in working memory at once.

Seven is only a rough guide: the real limit changes with the person and the task, and it may be closer to four. Group long lists into a few named sets, so shoppers never have to carry much in their heads.

Miller’s law example: finding a chef knife in a 22-link phone menu

A shopper on a phone wants a $90 chef knife from a kitchen store. The menu is one list of 22 links in no order: Skillets, Aprons, Muffin tins and on it goes, with no knives in sight. By the time the shopper has scrolled, the first links have started to fade from memory. Out of 10 shoppers, 3 buy the knife, which makes $270. The owner keeps all 22 links and sorts them into five groups: Cutlery, Cookware, Bakeware, Prep and Linens. With these made-up numbers, 5 out of 10 buy the knife, which makes $450. Five names fit in a shopper’s head, and 22 don’t.

How Miller’s law works with other principles: 4 store examples

Miller’s law sets a limit on what shoppers can carry in their heads. These pairs show how to work around that limit and where the law gets credit for things it never said. Every store below is made up to show the idea.

Miller’s law vs chunking

Often confused with: Miller’s law is the limit on what working memory can hold, and chunking is the trick of packing items into groups so more fits inside that limit.

Illustrative store example: A car parts store prints a 16-digit part number as one long string, which is more than most people can hold while typing it, and that is Miller’s law at work. Showing it as four blocks of four digits is chunking, and the same number gets easier to copy.

Chunking: how grouping makes long information easier to handle →

Miller’s law vs Hick’s law

Often confused with: Miller’s law covers what shoppers must remember, while Hick’s law covers how long they take to choose, so options still on screen are mostly a Hick’s law matter.

Illustrative store example: Choosing among 12 lenses on one page of a camera store takes time, and with every lens in view that is Hick’s law. Once a shopper opens each lens on its own page and has to remember the last three prices, Miller’s law applies, so add a compare table.

Hick’s law: why more options take longer to choose from →

Miller’s law and recognition over recall

Works with: Seeing something takes far less memory than remembering it, so keeping things on screen spares shoppers the limit Miller’s law describes.

Illustrative store example: Items in a stationery store’s cart appear as code names with no photos, so shoppers have to remember which notebook was which. Show a thumbnail, color and size on each line so they can recognize what they picked.

Recognition over recall: why seeing beats remembering for shoppers →

Miller’s law and the spacing effect

Works with: One message can only ask so much of working memory, and spacing tips out over time, with repeats, gives each one a better chance of sticking.

Illustrative store example: A houseplant store sends new customers 12 care tips in a single email, far more than most people can keep in mind. Send one tip a week instead, and bring the watering tip back a month later, when it matters again.

Spacing effect: why repeated messages stick better over time →

Put it into practice

Where does Miller’s law matter most in a store?

Wherever shoppers must carry something in their head from one screen to the next: a menu they scroll, a size they read on one page and need on another, a discount code, a product they liked three pages back. Keep those things in view where you can. Show the chosen size in the cart, the code at checkout and recently viewed products on the page.

Does every menu need exactly seven links?

No. George Miller was writing about what people can hold in memory, and links on a screen can be read again at any time. He never set a rule for menus. Seven is also a rough figure. Use as many links as shoppers need to find things, give them clear names and group them once the list gets long.

When does grouping make things harder?

Grouping fails when shoppers can’t tell what’s inside a group. Labels like “Essentials” or “Curated” make people open each one to check. It also fails when a product could sit in two groups and you only put it in one, so list it in both. Plain names in the words your shoppers use work better than clever ones.

How is Miller’s law different from cognitive load?

Miller’s law is about capacity: how many things fit in working memory at once. Cognitive load is the total effort a page demands right now, including reading, comparing and deciding. A long form with confusing labels asks shoppers to remember very little and can still be hard work.

How do I check whether the new menu helped?

Ask five people to find one product on a phone using the old menu, and five others using the new one. Note where they tap first, whether they give up, and how often they scroll back up to reread, which suggests they forgot what they passed. Then put both menus live, split between your shoppers, and compare how many reach a product page.