Pi Search
Search the first million digits of π for a number, a date, a word or a small picture and see where it first appears.
Digits 999999
Loading the first million digits of π.
In random digits it would first appear, on average, at digit 1,111,105.
Type digits or letters, or choose Picture and paint the outlined cells. The field shows π around the first match: drag it to scroll, and hover or tap a cell to read its position.
How is Pi Search working for you?
About Pi Search
- Digits searched
- 1,000,000 after the decimal point
- Digit 1
- The first digit after the decimal point
- Letters
- A = 01 to Z = 26
- Six 9s
- Digit 762, the Feynman point
- Most digits computed
- 314 trillion, in 2025
The digits of π = 3.14159… never end and never repeat, and statistical tests on trillions of them have found nothing that sets them apart from random digits. If they really behave like random digits, every finite string of digits appears somewhere in π, infinitely often: a phone number, a date of birth, and any text or picture once it is written as digits. A number in which every string of n digits appears with frequency 10⁻ⁿ, for every n, is called normal in base 10. Émile Borel defined normal numbers in 1909 and proved that almost every real number is normal in every base, but nobody has proved it for π, or even that each digit appears in π infinitely often.
Pi Search looks through the first 1,000,000 digits after the decimal point, counting the first digit after the point as digit 1. Digits are searched as they are. Letters become two-digit numbers, A = 01 to Z = 26, so PI is 1609, which first appears at digit 396; spaces and punctuation are skipped. A picture is read row by row, one digit per cell: in 10 colors each color is one digit, in 5 colors each stands for a pair of digits, and in 2 colors dark stands for 0 to 4 and light for 5 to 9, so a two-color picture matches wherever π's digits fall on the same sides of 5. The field draws each digit in its color and outlines the match; for a picture it wraps the digits at the picture's width, so the match shows as the picture itself.
How far to look depends on the length. In random digits a particular string of n digits first appears, on average, near digit 10ⁿ: about 10,000 for 4 digits and 1,000,000 for 6. The exact average adds 10ʲ for every shorter length j at which the string's beginning repeats at its end (Guibas and Odlyzko, 1981), so 999999 is expected near digit 1,111,105; π has it at digit 762, the run known as the Feynman point. The first million digits contain every string of 4 digits, all but 8 of the 100,000 strings of 5, 63% of the strings of 6 and 9.5% of the strings of 7. A sentence of 13 letters is 26 digits and would be expected near digit 10²⁶, while the most digits of π computed so far is 314 trillion, in 2025. The depth ruler under the field shows these distances on a logarithmic scale.
How to use Pi Search
- Search for digits or letters. Type into Digits or letters: a number, a date such as 14/03, a word or a sentence. Letters become 01 to 26 and everything other than digits and letters is skipped; the first line under the field shows the digits searched.
- Paint a picture. Choose Picture under Search for, set Width and Height from 1 to 8 cells and Colors to 2, 5 or 10, pick a Paint color and paint the outlined cells. Each change searches again, and the digits around the outline move to the new match.
- Read the position. The match is outlined in the field, and the number on the left of each row is the position of its first digit. Hover over or tap any cell to read its digit and position, and drag the field up or down to scroll through π.
- Step through the matches. When a string appears more than once, Previous and Next under Matches move between its matches in order, and the readout gives their count in the first million digits.
- Compare with random digits. The depth ruler marks where the match was found, the average first position in random digits, the million digits searched and the 314 trillion computed so far, on a logarithmic axis of positions.
- Use the presets and export. The presets search six 9s, the first six digits of π again, a date, a word, a 4 × 4 picture and a sentence. Save a PNG, or share a link that opens the same search.
Frequently asked questions
Does π contain every number?
Nobody knows. It would if π is normal, which is widely believed but has not been proved. Only finite stretches can be checked: the first million digits contain every string of 4 digits, all but 8 of the strings of 5, and 63% of the strings of 6.
Is a birthday in π?
A day and month written as four digits, such as 14/03 or 03/14, is always in the first million digits, since every string of 4 digits is: 1403 first appears at digit 6,053 and 0314 at digit 3,495. A full date with a two-digit year has six digits, and 63% of those are in the first million. A date with a four-digit year has eight digits and would be expected near digit 100 million, beyond this search.
Which strings of 5 digits are missing?
Eight of the 100,000 strings of 5 digits do not appear in the first million digits: 14523, 17125, 22801, 33394, 36173, 39648, 40527 and 96710. Random digits would leave out about 4.5 of them on average, since each string of 5 is missing from a million random digits with a chance of about e⁻¹⁰.
How are letters turned into digits?
Each letter becomes its place in the alphabet as two digits, A = 01, B = 02 and so on to Z = 26, so a word of n letters is 2n digits. Accents are dropped, digits stay as they are and other characters are skipped. At two digits per letter, every 2-letter word is in the first million digits, 63% of 3-letter words are, and fewer than 1% of 4-letter words.
How does a picture become digits?
Its cells are read like text, left to right along each row and then down, one digit per cell. In 10 colors each color is one digit. In 5 or 2 colors each color stands for a range of digits and matches any digit in it: in 2 colors, dark for 0 to 4 and light for 5 to 9. Fewer colors make a picture easier to find: every 4 × 4 picture in 2 colors is in the first million digits, while a 4 × 4 picture in 10 colors is 16 digits, expected near digit 10¹⁶.
Why are sentences never found?
Each extra digit makes a string ten times harder to find, so the expected position grows like 10 to the power of the length. A sentence of 13 letters is 26 digits, expected near digit 10²⁶. The most digits of π computed so far is 314 trillion, about 3 × 10¹⁴ (StorageReview, 2025), which reaches most strings of 14 digits, or 7 letters, about a quarter of the strings of 15 digits and 3% of those of 16.
Where do the digits come from?
They were computed with the series the Chudnovsky brothers published in 1989, which adds about 14 digits per term, in exact whole-number arithmetic, and then compared digit by digit with a published table of the first million digits. The last ten are 5779458151.
What is the Feynman point?
The run of six 9s that starts at digit 762, named after the physicist Richard Feynman. Random digits would put the first run of six 9s near digit 1,111,105, so this one comes early; the next run of six 9s in π starts at digit 193,034.
References
- Borel, É. (1909). Les probabilités dénombrables et leurs applications arithmétiques. Rendiconti del Circolo Matematico di Palermo 27(1), 247–271.
- Wagon, S. (1985). Is π normal?. The Mathematical Intelligencer 7(3), 65–67.
- Guibas, L. J., & Odlyzko, A. M. (1981). String overlaps, pattern matching, and nontransitive games. Journal of Combinatorial Theory, Series A 30(2), 183–208.
- Chudnovsky, D. V., & Chudnovsky, G. V. (1989). The computation of classical constants. Proceedings of the National Academy of Sciences 86(21), 8178–8182.
- Bailey, D. H., & Crandall, R. E. (2001). On the random character of fundamental constant expansions. Experimental Mathematics 10(2), 175–190.
- Bailey, D. H., Borwein, J. M., Calude, C. S., Dinneen, M. J., Dumitrescu, M., & Yee, A. (2012). An empirical approach to the normality of π. Experimental Mathematics 21(4), 375–384.
- Yee, A. J. (2025). Pi record set to 314 trillion digits. y-cruncher news, November 23, 2025.





