Math & Geometry π Pi FactsCircle Calculator πŸ‡ΊπŸ‡Έ 3/14 Pi DayπŸ‡¬πŸ‡§ 14/3
Calculate

Pi (π) Digits Calculator

Display pi to up to 100 decimal places, calculate circle circumference and area using pi, explore pi approximations and their accuracy, and learn the fascinating history and properties of the most famous number in mathematics.

Pi Calculator Options

Live
Select how many decimal places of pi to display, then enter a radius to calculate circle measurements. All circle calculations use the full precision of JavaScript's Math.PI.
in

Pi Results

π
Pi to Selected Precision
3.14159...
The ratio of circumference to diameter of any circle
Pi Approximations Accuracy
Convergence to Pi

Pi (π) – Complete Guide

Guide

What Is Pi (π)?

Pi (π, pronounced "pie") is the ratio of a circle's circumference to its diameter. For any circle in Euclidean geometry, regardless of its size, if you divide the circumference by the diameter you always get the same number: approximately 3.14159265...

Pi is one of the most important and celebrated numbers in all of mathematics. It appears not just in circles and spheres, but throughout physics, engineering, statistics, and pure mathematics in contexts far removed from simple geometry β€” in the normal distribution, Fourier analysis, quantum mechanics, and even the frequency of prime numbers.

Pi Is Irrational and Transcendental

Pi has two important mathematical properties that make it special:

  • Irrational β€” Pi cannot be expressed as a fraction of two integers. Johann Lambert proved this in 1761. This means its decimal expansion never ends and never settles into a repeating pattern.
  • Transcendental β€” Pi is not the root of any non-zero polynomial with rational coefficients. Ferdinand von Lindemann proved this in 1882. This proof finally settled the ancient problem of "squaring the circle" (constructing a square with the same area as a given circle using compass and straightedge) β€” it is impossible.

Pi to 100 Decimal Places

π = 3.14159265358979323846264338327950288419716939937510 58209749445923078164062862089986280348253421170679...

The History of Pi

Ancient Approximations

The Babylonians used π β‰ˆ 3.125 (25/8) around 1900–1600 BCE. The Rhind Mathematical Papyrus (c.1650 BCE) shows the Egyptians used π β‰ˆ 3.1605 (256/81). The Bible (1 Kings 7:23) describes a circular basin as "ten cubits in diameter and thirty cubits in circumference," implying π β‰ˆ 3 β€” an approximation for practical purposes.

Archimedes (c.250 BCE)

The Greek mathematician Archimedes established the first rigorous bounds on pi: 3 + 10/71 < π < 3 + 1/7, or approximately 3.1408 < π < 3.1429. He did this by computing the perimeters of inscribed and circumscribed polygons with up to 96 sides. This approach gives 3.14159... correctly to at least 4 decimal places.

Chinese and Indian Mathematics

Zu Chongzhi (429–501 CE) in China computed π β‰ˆ 355/113 = 3.14159292..., accurate to 6 decimal places β€” a remarkable achievement not surpassed in Europe for nearly 900 years. In India, Madhava of Sangamagrama (c.1400) developed the first infinite series for pi (the Leibniz formula): π/4 = 1 - 1/3 + 1/5 - 1/7...

Ramanujan's Formulas

Srinivasa Ramanujan (1887–1920) developed several extraordinarily rapidly converging series for pi, including one that adds about 8 correct digits per term. The Chudnovsky brothers used a related formula in 1987 to compute pi to over one billion digits, and similar algorithms are still used in modern record computations.

Computer Records

The record for computing pi digits has grown dramatically with computers. Some milestones:

  • 1949: ENIAC computer calculated 2,037 digits in 70 hours
  • 1962: John Wrench and Daniel Shanks: 100,000 digits
  • 1989: Chudnovsky brothers: 1 billion digits
  • 2021: University of Applied Sciences GraubΓΌnden: 62.8 trillion digits (in 108 days)
  • 2024: Jordan Ranous computed 105 trillion digits

Pi Day – US vs UK Date Format Difference

Pi Day is celebrated on March 14 in the United States because Americans write dates as month/day: 3/14 corresponds to the first three digits of pi (3.14). The US Pi Day is March 14, and at 1:59 PM on that date, the time matches even more digits: 3/14 1:59.

In the United Kingdom and most of Europe, dates are written as day/month: 14/3 means 14 March. This means 3.14 doesn't map to a meaningful UK date. Some UK schools and mathematicians celebrate "Pi Approximation Day" on July 22 (22/7) instead, since 22/7 β‰ˆ 3.14286 is a common fraction approximation of pi. This illustrates the broader US/UK date format difference (MM/DD vs DD/MM) that affects calendars, legal documents, software, and international communication.

Common Pi Approximations

ApproximationValueError vs πCorrect Digits
33.000000...+0.045071
22/73.142857...βˆ’0.001262
3.143.14000...+0.001592
333/1063.141509...+0.0000834
355/1133.141592920...βˆ’0.00000036
3.141593.14159...+0.00000275
Math.PI (JS)3.141592653589793<10⁻¹⁡15

Euler's Identity – The Most Beautiful Equation

Euler's identity is often called the most beautiful equation in mathematics: e^(iπ) + 1 = 0. It connects five of the most fundamental constants in mathematics: e (Euler's number, β‰ˆ 2.71828), i (the imaginary unit, √-1), π (pi), 1, and 0. The fact that these seemingly unrelated constants combine so elegantly is considered profound evidence of a deep underlying mathematical structure.

Pi in Science and Engineering

Pi appears throughout physics and engineering:

  • Circumference: C = 2πr
  • Circle area: A = πrΒ²
  • Sphere volume: V = (4/3)πrΒ³
  • Sphere surface area: SA = 4πrΒ²
  • Normal distribution: The formula for the bell curve includes 1/√(2π)
  • Coulomb's law (physics): Uses π in the denominator of the electric force formula
  • Heisenberg uncertainty principle: Δx Γ— Δp β‰₯ h/(4π)
  • Period of a pendulum: T = 2π√(L/g)
  • Fourier transform: The basis of signal processing, Wi-Fi, and MP3 compression

Infinite Series for Pi

Several beautiful infinite series converge to pi:

  • Leibniz/Madhava formula: π/4 = 1 - 1/3 + 1/5 - 1/7 + ... (converges very slowly)
  • BBP formula (1995): Allows computing the nth hexadecimal digit of pi without computing the preceding digits β€” a remarkable property called "digit extraction"
  • Chudnovsky formula: Converges extremely fast, adding ~14 decimal digits per term
  • Wallis product: π/2 = (2/1)(2/3)(4/3)(4/5)(6/5)(6/7)...

Memorising Pi – Mnemonics

One popular method for memorising pi uses "piphilology" β€” sentences or poems where the number of letters in each word corresponds to a digit of pi. "How I wish I could calculate pi" gives 3.1415926 (3 letters in How, 1 in I, 4 in wish, 1 in I, 5 in could, 9 in calculate, 2 in pi). The world record for memorising and reciting pi digits is held by Rajveer Meena of India, who recited 70,000 digits in 2015.

Frequently Asked Questions

What is pi to 10 decimal places?

Pi to 10 decimal places is 3.1415926536. The full 10-decimal sequence is: 3.1415926535 8979... Note that the 11th decimal place (8) causes rounding of the 10th position from 5 to 6 when displaying exactly 10 places.

Is pi 22/7?

No. 22/7 β‰ˆ 3.142857..., which differs from pi (3.141592...) in the fourth decimal place. It is a useful approximation β€” accurate to about 0.04% β€” but pi is irrational and cannot be expressed as any exact fraction. 355/113 is a far better approximation, accurate to about 0.00008%.

What is Pi Day and why is the date different in the UK?

Pi Day is celebrated on March 14 (3/14) in the USA because American dates are written month/day, and 3.14 matches pi's first three digits. In the UK, dates are written day/month, so 14/3 means 14 March. The fraction approximation 22/7 gives "Pi Approximation Day" on 22 July (22/7 in DD/MM format), which some UK schools use instead. This reflects the fundamental MM/DD vs DD/MM format difference between US and UK date conventions.

How is pi used in the circumference and area formulas?

Circumference = 2πr (where r is the radius) or πd (where d is the diameter). Area = πrΒ². These formulas are exact β€” pi appears because it IS the ratio of circumference to diameter. For a circle with radius 5 cm: circumference = 2π Γ— 5 = 31.416 cm and area = π Γ— 25 = 78.540 cmΒ².

Has every digit of pi been computed?

No β€” pi has infinitely many decimal digits and can never be fully computed. What computers calculate are progressively longer prefixes of pi's decimal expansion. As of 2024, over 105 trillion (1.05 Γ— 10¹⁴) digits have been computed. However, for virtually all practical applications, 15–20 decimal places provide more than sufficient precision.

What is Euler's identity and why does it involve pi?

Euler's identity is e^(iπ) + 1 = 0. It arises from Euler's formula e^(ix) = cos(x) + iΒ·sin(x). Substituting x = π: e^(iπ) = cos(π) + iΒ·sin(π) = -1 + 0 = -1, so e^(iπ) + 1 = 0. Pi appears because it is the half-period of the sine and cosine functions β€” at angle π radians, a full half-turn, the cosine reaches -1.

How many decimal places of pi do engineers actually need?

Remarkably few. NASA's Jet Propulsion Laboratory uses only 15 decimal places of pi for interplanetary navigation. With 39 decimal places, you can calculate the circumference of the observable universe to within the width of a hydrogen atom. For construction and engineering, 5–10 decimal places provide far more precision than any physical measurement can achieve.

What is the BBP formula for pi?

The Bailey-Borwein-Plouffe (BBP) formula (1995): π = Ξ£ (1/16^k) Γ— (4/(8k+1) - 2/(8k+4) - 1/(8k+5) - 1/(8k+6)), summed from k=0 to infinity. Its remarkable property is that it allows direct calculation of the nth hexadecimal digit of pi without calculating the preceding n-1 digits β€” a "digit extraction" algorithm with no precedent in mathematics before this discovery.

⚠️ Disclaimer

Important

Pi digits above 15 decimal places are stored as a fixed reference string. JavaScript floating-point arithmetic is limited to approximately 15–17 significant digits. Circle calculations use JavaScript's Math.PI (15 significant digits), which is sufficient for all practical engineering and educational purposes.

Circumference
β€”