Home › Calculators › Pi Digits Calculator

Pi Digits Calculator

Calculate π to as many as 100,000 decimal places right in your browser, using exact integer arithmetic. Search the digits for any number, such as your birthday or phone number ending, and copy or download the result as a text file.

Last updated:

Digits of π after the decimal point

Exact digits from the Chudnovsky formula, computed in your browser.

Searches the first 100,000 decimals (they are calculated automatically if needed).

How often each digit appears

Advertisement
Advertisement

How to use the Pi Digits Calculator

  1. Choose how many digits with a quick button or type any number up to 100,000, then press Calculate π.
  2. Read the digits in the box: each line holds 50 decimals and starts with the position of its first digit.
  3. Find a number by typing digits in the search box and pressing Find. The first position, the number of matches and a highlighted preview appear.
  4. Find your birthday by picking a date: it is searched as MMDDYY, DDMMYY, MMDDYYYY, DDMMYYYY, YYYYMMDD and more.
  5. Copy or download the digits as plain text, grouped in blocks of 10 with 50 per line.

How the digits are computed

The calculator uses the Chudnovsky brothers' 1988 series, a rapidly converging formula of the Ramanujan type:

1/π = 12 Σ (−1)k (6k)! (13591409 + 545140134k) ÷ ((3k)! (k!)3 6403203k + 3/2)

Every term contributes about 14.18 new correct decimal digits, so 100,000 digits need only about 7,050 terms. The terms are combined with binary splitting, which keeps all the numbers as whole integers, and the final square root of 10005 is taken with Newton's method on integers. A few guard digits are computed and then dropped, so the digits you see are exact. Calculating 100,000 digits typically takes well under a second to a few seconds, depending on your device.

Famous spots in the first 100,000 digits

Digit stringFirst positionNote
032the first zero arrives surprisingly late
999999762the Feynman point, six 9s in a row
1231,924found 90+ times in the first 100,000
20263,118a 4-digit year, expected about 10 times
123413,807
0000017,534the first run of five zeros
27182833,789the first six digits of e
1234549,702
314159not foundthe start of π does not repeat within the first 100,000 decimals

Digit counts in the first 100,000 decimals

Digit0123456789
Count9,99910,1379,90810,0259,97110,02610,02910,0259,9789,902

Every count is within about 1.4% of the 10,000 expected for random digits, one of many statistical hints that π may be a normal number.

Tips

  • Memorizing π? Choose blocks of 5 and turn on positions; learning one line of 50 digits at a time is a common method.
  • Pi Day projects: download 1,000 or 10,000 digits as a text file for posters, crafts or classroom challenges.
  • Short searches win: any 3-digit string appears about 100 times and any 4-digit string about 10 times in the first 100,000 decimals.

Frequently asked questions

How is pi calculated here?

With the Chudnovsky series, the formula used for most modern record computations. Each term adds about 14 correct digits. The calculator evaluates it with binary splitting and JavaScript BigInt integers, then takes an exact integer square root of 10005, so every digit shown is exact rather than rounded.

What are the first 100 digits of pi?

3.14159 26535 89793 23846 26433 83279 50288 41971 69399 37510 58209 74944 59230 78164 06286 20899 86280 34825 34211 70679. Press the 100 button to see and copy them.

What does position mean when I search?

Position 1 is the first digit after the decimal point (the 1 in 3.14…). So the string 14159 is found at position 1, and the famous run of six 9s, called the Feynman point, starts at position 762.

Why can't it find my birthday?

A specific 6-digit string is expected about once every million digits, so within the first 100,000 decimals there is only about a 10% chance of finding it. Eight-digit dates are rarer still. The month and day alone (4 digits) are usually found, since each 4-digit string is expected about 10 times.

Does every number appear somewhere in pi?

Nobody knows. That would follow if pi were a normal number, meaning every digit string appears with its expected frequency. Statistical tests on trillions of digits are consistent with normality, but it has never been proved.

How many digits of pi do we really need?

Very few for practical work. NASA's JPL has explained that it uses about 15 decimal places for interplanetary navigation, and around 40 decimals would be enough to compute the circumference of the observable universe to within the width of a hydrogen atom.

Are the digits of pi evenly distributed?

They look that way. In the first 100,000 decimals each digit 0–9 appears close to 10,000 times, between about 9,900 and 10,140. The frequency chart under the digits shows the counts for whatever length you calculate.

Are all the tools on FreeToolCabin tested for quality and accuracy?

Yes! Every tool on our site undergoes automated Q/A testing in real browser environments to ensure high precision, correct output, and zero errors. If you happen to spot a bug or have a suggestion, please contact us at [email protected] and our team will review it right away.

Related tools

Circle CalculatorEnter a circle's radius, diameter, circumference or area and get all the others.Golden Ratio CalculatorSplit a length into golden sections, find a from b, and get a φ scale of design sizes.Fibonacci CalculatorExact n-th Fibonacci number (BigInt), sequence lists, Fibonacci check and golden ratio.Scientific CalculatorTrig, logs, powers and more in your browser.Percentage CalculatorWork out percentages, increases and decreases.Percentage Change CalculatorPercent increase or decrease between two values, and reverse.Percentage Difference CalculatorFind the percent difference between two values, with the formula.Ratio CalculatorSimplify, solve and scale ratios with step-by-step working.Proportion CalculatorSolve A/B = C/D for x with cross multiplication steps.Fraction CalculatorAdd, subtract, multiply and divide fractions with steps.Multiplication Table GeneratorPrintable multiplication charts up to 30 × 30, single tables and practice sheets.Times Tables PracticeTimed times tables drills with a number pad, streaks and an accuracy heatmap.Fraction VisualizerInteractive fraction circles and bars: equivalents, comparing, adding and simplifying.Number Line GeneratorDraw number lines with any range, fractions or decimals, points, jumps and inequalities.Significant Figures CalculatorCount sig figs, round to any number of significant figures and do arithmetic with sig fig rules.Scientific Notation ConverterConvert numbers to and from scientific, engineering and E-notation, with exact digits and SI prefixes.Caffeine CalculatorAdd up daily caffeine, compare it with 400 mg and see how much is left at bedtime.Percent Error CalculatorPercent error between experimental and theoretical values, for one result or several trials.Rounding CalculatorRound to decimal places, significant figures or the nearest 10, 100 or 0.5, any rule.Long Division CalculatorDivide with quotient, remainder, decimals and a step-by-step long division layout.Cube Root CalculatorFind cube roots and nth roots, check perfect cubes and simplify radicals.2-Stroke Oil Mix CalculatorHow much 2-stroke oil to add to gas for 50:1, 40:1, 32:1 and more, in fl oz or ml.Math Worksheet GeneratorCreate printable addition, subtraction, multiplication and division worksheets with answer keys.Simplify Fractions CalculatorReduce any fraction to lowest terms with GCD steps, mixed number, decimal and equivalents.Complex Number CalculatorAdd, subtract, multiply, divide complex numbers; polar form, modulus, argument, powers and roots.Big Number CalculatorExact + − × ÷ mod and powers for huge integers with hundreds of digits, plus digit count.Three-Phase Power CalculatorkW, kVA and kVAR from volts, amps and power factor, or three-phase current from kW or kVA.Compression Ratio CalculatorStatic engine compression ratio from bore, stroke, chamber, gasket, deck and piston volume.Expanded Form CalculatorWrite any number or decimal in expanded form, word form and a place value chart.Mixed Number CalculatorAdd, subtract, multiply and divide mixed numbers, or convert improper fractions, with steps.Nth Root CalculatorAny root of any number: real nth root, simplified radical and all complex roots.Long Multiplication CalculatorMultiply whole numbers or decimals with the column method shown digit by digit.Matrix Multiplication CalculatorMultiply matrices up to 8×8 with every dot product shown, exact fractions and a size check.Order of Operations Calculator (PEMDAS)Solve arithmetic expressions step by step with PEMDAS/BODMAS, brackets, powers and fractions.Virtual Base Ten BlocksDrag ones, rods, flats and cubes onto a place value mat to model regrouping, addition and subtraction.Compare Fractions CalculatorCompare two or more fractions with <, > or = and put them in order, with steps.Equivalent Fractions CalculatorList equivalent fractions, check if two are equal, or find a missing number, with bars.Map Scale CalculatorConvert map distance to real distance and back for scales like 1:24,000 or 1 in = 1 mi.Reverse Percentage CalculatorFind the original value before a percentage increase or decrease, or the whole from a part.Riemann Sum CalculatorLeft, right, midpoint and trapezoid sums of f(x) on [a, b] with a table and rectangle graph.Sum CalculatorPaste any list or column of numbers to get the total, count, average, min and max instantly.Unit Rate CalculatorFind the unit rate (per 1) from two quantities, compare rates and see the steps.Math Formulas Cheat SheetSearchable algebra, geometry, trig, calculus and statistics formulas with a printable sheet.Number Properties CalculatorIs it prime, perfect, square, triangular or Fibonacci? See every property of a number.Paper Tape CalculatorAdding machine calculator with a running paper tape: edit entries, subtotals, notes, print or export.PSAT Score CalculatorEstimate your PSAT/NMSQT section scores, total score and National Merit Selection Index.Rational Expressions CalculatorSimplify, add, subtract, multiply and divide rational expressions with excluded values.Rationalize the Denominator CalculatorRemove square roots and cube roots from a denominator, with conjugates and full steps.
See all 46 Arithmetic & Number Calculators →