Digits of Pi: First 1,000,000 Digits and Search

Fractions & numbersFreeNo sign-up

Pi starts 3.14159 26535 89793 23846 26433 83279. This page calculates up to 1,000,000 decimal digits in your browser, checks them, and lets you search, copy, download and memorize them.

Digits of pi

Pi to as many as one million decimal places, calculated in your browser. Choose how many digits, then page through them, copy them or download them.

Decimal places

Digits of pi

Showing decimal digits 1 to 1,000 of 10,000. Page 1 of 10.

03.
114159265358979323846264338327950288419716939937510
5158209749445923078164062862089986280348253421170679
10182148086513282306647093844609550582231725359408128
15148111745028410270193852110555964462294895493038196
20144288109756659334461284756482337867831652712019091
25145648566923460348610454326648213393607260249141273
30172458700660631558817488152092096282925409171536436
35178925903600113305305488204665213841469519415116094
40133057270365759591953092186117381932611793105118548
45107446237996274956735188575272489122793818301194912
50198336733624406566430860213949463952247371907021798
55160943702770539217176293176752384674818467669405132
60100056812714526356082778577134275778960917363717872
65114684409012249534301465495853710507922796892589235
70142019956112129021960864034418159813629774771309960
75151870721134999999837297804995105973173281609631859
80150244594553469083026425223082533446850352619311881
85171010003137838752886587533208381420617177669147303
90159825349042875546873115956286388235378759375195778
95118577805321712268066130019278766111959092164201989

Self-check passed: first 100 digits; the Feynman point (six 9s at digits 762 to 767) match the published values.

Fingerprint check passed: the SHA-256 of the first 10,000 digits matches the value from the independent reference.

Find your birthday or any number in pi

Search any digit string

First found at position 1; it appears 2 times in these digits.

14159265358979323

Birthday search

Format Digits First position Times found
MMDD 0314 3,495 2
DDMM 1403 6,053 2

2 of 2 formats found in the first 10,000 digits. Short strings (4 digits) are found almost surely; each extra digit makes a string ten times rarer, so 8-digit dates often need the full million digits and may still be missing.

Memorize pi

Two ways to practice. The recall test checks how many digits you can type from memory. The chunk drill shows twelve digits and asks for the next few.

Recall test

Chunk drill

Streak: 0

Digit frequency and fractions that approximate pi

How often each digit appears

096811,02621,021397441,01251,04661,0217970894891,014expected if perfectly even: 1,000

In these 10,000 digits the most common digit is 5 (1,046 times) and the least common is 8 (948 times). Pi’s digits look statistically random, so each digit should appear close to 10% of the time. Whether they are truly “normal” is an open question.

Fraction approximations

Fraction Decimal Correct decimals Error Note
3 3.000000000000 0 1.4 × 10^-1 Rough everyday value
22⁄7 3.142857142857 2 1.3 × 10^-3 Archimedes’ upper bound
333⁄106 3.141509433962 4 8.3 × 10^-5
355⁄113 3.141592920353 6 2.7 × 10^-7 Zu Chongzhi, about 480 AD
103993⁄33102 3.141592653011 9 5.8 × 10^-10
104348⁄33215 3.141592653921 9 3.3 × 10^-10

What the digits of pi are

Pi (π) is the ratio of a circle’s circumference to its diameter. It is irrational, so its decimal expansion never ends and never repeats: 3.14159 26535 89793 23846 and on forever. This page counts digits after the decimal point, so “1,000 digits” means 1,000 decimal places (3. followed by 1,000 digits).

How the digits are calculated here

Your browser computes them on the spot with the Chudnovsky algorithm, the same series used for modern record-setting calculations. It adds up terms of an exactly rational series with big-integer arithmetic (JavaScript BigInt), takes a square root of 10005 at full precision and does one final division. Each term adds about 14 correct digits. Thirty extra guard digits are carried and then dropped, so the last digit shown is truncated, not rounded.

The result is checked every time against values published elsewhere: the first 100 digits, the six 9s at positions 762 to 767 (the Feynman point) and, for one million digits, the final 50 digits. During development the full million digits were also compared with an independent high-precision library and with the one-million-digit file published at angio.net, and all 1,000,000 digits matched.

How to use this page

  1. Pick how many decimal places you want. Up to 20,000 appear instantly; a million takes a few seconds on a recent computer and longer on a phone, and it runs in the background so the page stays usable.
  2. Use the pager or “Go to position” to move through the digits. Group them in threes, fives or tens, or color each digit to see patterns.
  3. Search for any string of digits or try your birthday in several date formats.
  4. Use the cover option, the recall test and the chunk drill to memorize digits.

Is your birthday in pi?

If pi’s digits behave like a random stream, any particular string of k digits first shows up around position 10k. Four-digit strings (such as 0314) usually turn up within the first ten thousand digits or so. Six-digit dates like 031495 have roughly a 63% chance of appearing within the first million digits. An eight-digit date such as 03141995 appears in the first million digits only about 1% of the time, so not finding it here does not mean anything is wrong. Mathematicians believe pi is “normal”, which would guarantee every finite string appears eventually, but that has never been proved.

Memorization tips

Most record memorizers use chunks of three to five digits and link each chunk to an image or a story. Try the grouping and cover controls: read a group, cover it, say it aloud, then reveal it. The chunk drill is a faster way to build the habit of recalling what comes next.

Famous patterns and approximations

The Feynman point, six 9s in a row, begins at decimal digit 762. The fraction 22⁄7 is correct to two decimals, 355⁄113 to six, and 104348⁄33215 to nine. The table above counts the correct decimals for each one directly from the calculated digits.

Practice questions

Test yourself with 6 multiple-choice questions on this topic. Choose an answer and press Submit to see if you are right and why.
Question 1 of 6
1. Pi rounded to 5 decimal places is…
Found a mistake? Let us know!
2. Which fraction is the closer approximation of π?
Found a mistake? Let us know!
3. Pi is the ratio of a circle's…
Found a mistake? Let us know!
4. Pi is irrational, which means…
Found a mistake? Let us know!
5. A circle has a diameter of 10 cm. Its circumference is about…
Found a mistake? Let us know!
6. Pi Day is celebrated on…
Found a mistake? Let us know!

Sources

Common questions

How many digits of pi are there?

Infinitely many. Pi is irrational, so its decimal expansion never ends or repeats. This page can show up to one million decimal places.

What are the first 100 digits of pi?

3.1415926535 8979323846 2643383279 5028841971 6939937510 5820974944 5923078164 0628620899 8628034825 3421170679.

How do you calculate the digits of pi?

Computers use fast series such as the Chudnovsky formula, which adds about 14 correct digits per term. This page uses it with binary splitting and big-integer arithmetic.

Is my birthday in pi?

Almost certainly yes if you search month and day only, such as 0314. With a full eight-digit date it depends on luck: there is only about a 1% chance that a given eight-digit string appears in the first million digits.

What is the Feynman point?

It is the run of six consecutive 9s that begins at the 762nd decimal digit of pi, named after the physicist Richard Feynman.

Are the digits of pi random?

They pass statistical tests of randomness, and each digit appears close to 10% of the time, but they are completely determined by pi. Whether pi is a normal number is an open problem.

Does this page count the 3 as a digit?

No. Positions are counted after the decimal point, so position 1 is the digit 1 in 3.14159. The 3 is shown separately at the start.

How many digits of pi do scientists actually need?

NASA JPL uses 15 decimal places (3.141592653589793) for its most precise interplanetary navigation, and 37 decimal places would give the circumference of the known universe to within the width of a hydrogen atom. Digit records are for testing computers and algorithms.

Related tools and calculators

Embed this calculator on your site

Free to use on class pages, blogs and course pages. Copy the code below and paste it into your page:

More fractions & numbers calculators

Browse all 541 calculators

Related to This Article

What people say about "Digits of Pi: First 1,000,000 Digits, Search and Memorize"?

No one replied yet.

Leave a Reply