How to Memorize Pi
Memorizing the digits of pi looks like a party trick, but it's really a lesson in how memory itself works. Here are five methods that actually stick, plus a plan to get you from ten digits to a hundred.
Why bother?
Pi's decimal expansion is effectively random — the digits never settle into a repeating pattern — which makes it a perfect gym for your memory. There are no shortcuts to lean on, so every technique you use is a technique you're genuinely training. People who learn to hold fifty or a hundred digits usually find the method transfers to phone numbers, speeches, and shopping lists. And it's a wonderfully cheap superpower: no equipment, no app required, just your own head.
Method 1 — Chunking
Your short-term memory holds only a handful of items at once, so the first move is to stop seeing a long string and start seeing a short list of groups. Break pi into chunks of five (or ten, once you're confident). Here are the first twenty digits, grouped:
3.14159 26535 89793 23846
Now you're not memorizing twenty things — you're memorizing four things: "one-four-one-five-nine," "two-six-five-three-five," and so on. Recite each group as a little rhythmic phrase, almost like a phone number. This single habit does more heavy lifting than any other trick on this page.
Method 2 — Piphilology (mnemonics)
Piphilology is the charming name for the art of memorizing pi through wordplay. The classic device is a sentence where the number of letters in each word equals the next digit. The most famous example:
"How I need a drink, alcoholic of course, after the heavy lectures involving quantum mechanics."
Count the letters: How (3) I (1) need (4) a (1) drink (5) alcoholic (9) of (2) course (6) after (5) the (3) heavy (5) lectures (8) involving (9) quantum (7) mechanics (9) — which spells out 3.14159265358979. These letter-counting sentences are called piems (pi + poems), and writing your own is half the fun, because the act of composing them burns the digits in.
Method 3 — The memory palace
The method of loci, or "memory palace," is the technique world memory champions actually use. You take a route you know cold — your walk from the front door to the kitchen, say — and you place a vivid image for each chunk of digits at a fixed spot along it. To recall pi, you simply take the mental walk and "read" the images off the furniture. Convert digits to memorable images with a system (for example, turning each two-digit pair into a person or object), and a hundred digits becomes a short stroll through a house you already know by heart.
Method 4 — Set it to a melody
Melody is memory's best friend — it's why you still know every word of songs you haven't heard in years. Map the digits onto a tune and they'll carry along on the rhythm. Plenty of people have set pi to music for exactly this reason; if you'd like a ready-made version to sing along with, see the Pi Song. Once a sequence has a melody attached, retrieval stops feeling like effort and starts feeling like humming.
Method 5 — Spaced repetition and daily practice
Whatever method you pick, the digits only stay put if you revisit them on a schedule. Spaced repetition means reviewing right before you'd otherwise forget — after a day, then a few days, then a week. Five focused minutes a day beats an hour-long cram every time. Recite what you know out loud each morning, add a new chunk only once the old one is effortless, and let the intervals stretch as the sequence sets.
A realistic progression plan
- Days 1–3: reach 10 digits. Chunk
3.14159 26535and recite it until it's automatic. - Week 1–2: reach 50 digits. Add one five-digit group every day or two, always reciting from the very start so the sequence stays connected.
- Month 1: reach 100 digits. Now layer in a memory palace or a melody to carry the longer stretch.
To put that in perspective, the world record sits above 70,000 digits — a feat of years of palace-building, not raw talent. You can read about it on our Pi Memorization Record page. Your hundred is a fine place to stop and show off.
The easiest way to build up
The single most painless method is to make the practice a game. Pi — The Game feeds you the digits in small, streak-based chunks and nudges you forward exactly when you're ready, which is essentially spaced repetition disguised as fun. There's an iPhone version too — grab it at https://apps.apple.com/us/app/pi-the-game/id974805037 — so you can sneak in a few digits whenever you have a spare minute in a queue.