Digits 1 to 1,000,000

The First Million Digits of Pi

Scroll the first one million decimal digits of π, jump to any position, and download the raw file to tinker with locally.

Loading digits…
↓ Download
Loading…

Why 1,000,000?

One million is a convenient benchmark: it's big enough that every plausible birthday, postal code and phone number you can think of is hiding in the expansion somewhere, yet small enough to fit in a browser tab. It's also the point where humans really feel how endless pi is. Scroll for a while and you'll understand why mathematicians fall in love with this number.

Anatomy of the first million digits

The distribution of 0–9 in the first million digits of pi is almost exactly uniform — each digit appears roughly 100,000 times. No one has ever proven that pi is a "normal number" (one where every sequence of digits appears with the expected frequency), but empirically, it sure looks like one.

The longest run of a single digit in the first million is nine 7s in a row, starting at position 710,100. The famous Feynman point — six 9s at position 762 — is far less rare, but it comes much earlier which is why it's the one mathematicians tell jokes about.

Want to go further?