Miller's Law

The average person can only keep 7 (plus or minus 2) items in their working memory.

The scenario: redeeming a gift card during checkout. The customer is reading a 16-character code off a physical card and typing it in — a pure working-memory task. Chunking is why phone numbers and credit-card numbers are always written in groups. The “after” input is live — try typing in it.

What's wrong here? Sixteen characters in one unbroken run. To copy it from the card, the customer must hold far more than 7 items in working memory — so they lose their place, mistype, and get a generic “invalid code” error. Below it, the order summary crams five figures into one run-on sentence the eye can't verify at a glance.
wraply.shop/checkout

Checkout — payment

Enter your 16-character code exactly as printed.
Order summary: Your order contains 1 × Ceramic pour-over set (bone white) at $64.00 plus sales tax of $5.28 plus standard shipping of $6.95 minus your seasonal discount of $9.60 (code AUTUMN15 applied at 15% of item subtotal) for a total amount payable today of $66.63 charged to your selected payment method at dispatch.

🔍 What changed

  • One 16-character blur → four chunks of four (GH7K-P2M9-XQ4W-L8RT), auto-formatted as you type.
  • Chunking works with working memory, not against it — the same trick behind phone numbers and card numbers.
  • Grouping also makes verification possible: you can compare chunk-by-chunk against the physical card and spot exactly where a typo is.
  • The run-on order summary became a 5-line table — one fact per line, total visually anchored at the bottom.
  • Nothing was removed or simplified away; the same information was just organized into memorable units.

💼 Explaining it to stakeholders

“There's a reason no one prints phone numbers as ten unbroken digits. Our gift-card field asks customers to juggle sixteen characters at once, and every mistype is a support ticket or an abandoned cart at the moment they're trying to give us money. Grouping the code in fours is a tiny frontend change that cuts entry errors and makes the checkout feel effortless.”