All the Digits of Pi
Spoiler: no-one has them. Pi is irrational, so its digits go on forever. Here's what we know, what we've computed, and how close you can realistically get.
Why "all" digits of pi doesn't exist
Pi (π) is an irrational number. That means it can't be written as a ratio of two integers, and its decimal expansion is infinite and non-repeating. Proved by Johann Lambert in 1761, this fact means that the phrase "all the digits of pi" is a polite way of asking for infinity — you won't find it on any page, including ours.
Beyond being irrational, pi is also transcendental, which Ferdinand von Lindemann proved in 1882. That's an even stronger statement: pi is not the root of any non-zero polynomial with rational coefficients. It's part of why "squaring the circle" with compass and straightedge is impossible.
How many digits have actually been computed?
- Antiquity — Archimedes bounded pi between 3.1408 and 3.1429 using inscribed and circumscribed polygons.
- 1600s — Ludolph van Ceulen spent most of his life computing pi to 35 digits. They're engraved on his tombstone.
- 1947 — 808 digits, computed by hand using an arctan series.
- 1961 — 100,000 digits, using an IBM 7090.
- 1989 — 1 billion digits, by the Chudnovsky brothers in a Manhattan apartment.
- 2022 — 100 trillion digits, by Emma Haruka Iwao (Google).
- 2024 — 202 trillion digits, by StorageReview.
Each record costs roughly an order of magnitude more compute than the previous one, but the digits themselves get less interesting — they all pass randomness tests and none reveal a pattern. The real progress is in algorithms and arithmetic, not the digits.
How much pi do you actually need?
39 digits of pi is enough to compute the circumference of the observable universe to within the width of a single hydrogen atom. NASA's Jet Propulsion Laboratory uses 15 digits for interplanetary navigation. If you're building a deck, 4 digits (3.1416) is already overkill.
The closest you can get to "all of it"
- One million digits of pi — right here on this site, downloadable as plain text.
- First million digits of pi — same data, different view.
- First 10,000 digits — a manageable starting point.
- For billions: fire up y-cruncher on your own machine.
A better goal than "all of them"
The joy isn't in having them all — it's in knowing a few of them by heart. Pi — The Game will take you from 0 to 100 digits faster than you think.