Pi

Ask a class of students to name a mathematical constant and you will get ee and π\pi before anything else. π\pi is the more immediately tangible of the two: it is the number you meet the moment a wheel starts turning, the number in the formula for the area of a disc, the number that keeps appearing in wave equations, probability densities, and Fourier series. It is also, at the time of writing, the most thoroughly computed number in existence — trillions of its digits have been produced and checked, and the work continues.

This page treats π\pi the way it deserves to be treated: carefully. It starts with the geometric reason the constant exists at all, walks through the history of how humans pinned down ever better values, and then confronts the harder question — what is π\pi, mathematically? You will meet three standard definitions (by circumference, by area, and by infinite series), the classic formulas that carry it into analysis, and a set of genuinely usable methods for computing it. Five exercises with full reference answers close the page.

The Story of Pi: From Antiquity to the Present

The Mystery of the Circle

A circle looks simple, but the moment you ask for its circumference you run into something remarkable. Take a circle of radius 1, and one of radius 1000, and one of radius 10−910^{-9}. Measure the circumference of each and divide by the diameter. The three numbers agree to as many digits as you can measure, and they agree because of a simple scaling argument: any circle is the image of any other circle under a dilation, and a dilation multiplies the circumference and the diameter by the same factor, so their ratio is untouched.

That invariant ratio is π\pi:

π=Cd\pi = \frac{C}{d}

where CC is the circumference and dd is the diameter. It is a number, not a shape — the same number for every circle ever drawn, which is exactly what makes it useful.

Diameter dRadius rC = πdStraightening out the circumference:1 diameter d1 circumference C ≈ 3.14 dThe 2nd d (dashed)C / d = π ≈ 3.14159…

Pi Through History

YearEvent
c. 2000 BCEA Babylonian tablet (YBC 7289) records 318=3.1253\frac{1}{8} = 3.125 as a value of the circle constant
c. 1550 BCEThe Rhind Mathematical Papyrus of Egypt uses 25681≈3.1605\frac{256}{81} \approx 3.1605
c. 250 BCEArchimedes applies the method of exhaustion to obtain 3.1408<π<3.14293.1408 < \pi < 3.1429
c. 100 CEThe Chinese mathematician Liu Xin records π≈3.1547\pi \approx 3.1547 in his commentary on the Nine Chapters
429–500Zu Chongzhi produces 355113\frac{355}{113} and the bounds 3.1415926<π<3.14159273.1415926 < \pi < 3.1415927
c. 1340–1425Madhava of Sangamagrama derives an infinite series for π\pi in the Kerala school
1638Adriaan van Roomen computes π\pi to 20 decimal places
1706William Jones first uses the symbol π\pi for the circle constant
1736Euler adopts the symbol and popularises it across Europe
1761Lambert proves that π\pi is irrational, using a continued fraction for tan⁡x\tan x
1882Lindemann proves that π\pi is transcendental
1988The Chudnovsky brothers publish a series that yields roughly 14 correct digits per term

Two entries deserve comment. Zu Chongzhi’s 355113\frac{355}{113} is still the best rational approximation to π\pi with a small denominator, and it was known in China well before it reached Europe. And the symbol itself has a quiet history: William Jones used π\pi in 1706 for the ratio of circumference to diameter, and Euler’s adoption in the 1730s is what turned a local usage into a world standard. The name comes from the same Greek word as the letter π\pi — periphery.

Understanding Pi in Depth

Definition and Common Approximations

The Circle Constant

π\pi is irrational and transcendental, with the decimal expansion

π=3.1415926535897932384626433832795…\pi = 3.1415926535897932384626433832795\ldots

Common approximations are 3.143.14, 227\frac{22}{7}, and 355113\frac{355}{113} (the “Zu rate”). π\pi cannot be written as a ratio of two integers, and it is not a root of any polynomial with rational coefficients.

Symbol notation
SymbolTypePronunciation/ExplanationMeaning in This Article
π\piGreek letterPi (pie)The circle constant, approximately 3.14159
CCMathematical symbolcircumferenceThe circumference of a circle
ddMathematical symboldiameterThe diameter of a circle
rrMathematical symbolradiusThe radius of a circle
SSMathematical symbolareaThe area of a circle
eeMathematical symbolEuler’s numberThe base of the natural logarithm

How good are the usual approximations? The table below gives the absolute error of each.

ApproximationDecimal valueAbsolute error
333.0000003.000000about 1.4×10−11.4 \times 10^{-1}
3.143.143.1400003.140000about 1.6×10−31.6 \times 10^{-3}
227\frac{22}{7}3.142857…3.142857\ldotsabout 1.3×10−31.3 \times 10^{-3}
355113\frac{355}{113}3.141592920…3.141592920\ldotsabout 2.7×10−72.7 \times 10^{-7}
π\pi3.141592653…3.141592653\ldots—

The key observation is that 355113\frac{355}{113} is extraordinarily good: its denominator is only 113, and it agrees with π\pi to seven significant figures, far better than 227\frac{22}{7} despite a denominator roughly sixteen times larger. It is a lucky approximation, and it is the one most textbooks still teach.

Three Ways to Define Pi

1. The circumference definition. π=Cd\pi = \frac{C}{d}, that is, C=πd=2πrC = \pi d = 2\pi r. This is the definition above: the ratio of circumference to diameter. It is the most intuitive one and the one that goes back to Archimedes.

2. The area definition. π=Sr2\pi = \frac{S}{r^2}, that is, S=πr2S = \pi r^2. A different-looking statement, but it produces the same number. The honest caveat is that this equality is a theorem, not a free choice: it took real work to prove that the constant in the area formula equals the constant in the circumference formula. Historically, this is exactly what the method of exhaustion achieved — squeezing the circle between inscribed and circumscribed polygons and comparing the resulting areas with the same polygons’ areas.

3. Series definitions. Starting in the 17th and 18th centuries, π\pi began to be defined by infinite series and infinite products, which is what made it computable to arbitrary precision. The most famous are:

π4=1−13+15−17+⋯=∑n=0∞(−1)n2n+1\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots = \sum_{n=0}^{\infty} \frac{(-1)^n}{2n+1} π2=21⋅23⋅43⋅45⋅65⋅67⋯=∏n=1∞(2n)2(2n−1)(2n+1)\frac{\pi}{2} = \frac{2}{1} \cdot \frac{2}{3} \cdot \frac{4}{3} \cdot \frac{4}{5} \cdot \frac{6}{5} \cdot \frac{6}{7} \cdots = \prod_{n=1}^{\infty} \frac{(2n)^2}{(2n-1)(2n+1)} 2π=22⋅2+22⋅2+2+22⋯\frac{2}{\pi} = \frac{\sqrt{2}}{2} \cdot \frac{\sqrt{2+\sqrt{2}}}{2} \cdot \frac{\sqrt{2+\sqrt{2+\sqrt{2}}}}{2} \cdots

The first is the Leibniz series, the second the Wallis product, the third Viète’s formula. All three define π\pi purely by limits of rational numbers, with no reference to circles at all.

Classic Formulas

  • Area of a circle: S=πr2S = \pi r^2
  • Circumference of a circle: C=2πrC = 2\pi r
  • Euler’s formula: eiπ+1=0e^{i\pi} + 1 = 0
  • Leibniz series: π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots
  • Gauss integral: ∫−∞+∞e−x2 dx=π\int_{-\infty}^{+\infty} e^{-x^2}\,dx = \sqrt{\pi}
  • The Basel problem: ∑n=1∞1n2=π26\sum_{n=1}^{\infty} \frac{1}{n^2} = \frac{\pi^2}{6}, solved by Euler in 1735
  • Stirling’s formula: n!∼2πn(ne)nn! \sim \sqrt{2\pi n}\left(\frac{n}{e}\right)^n
  • The standard normal density: 12πe−x2/2\frac{1}{\sqrt{2\pi}} e^{-x^2/2}

Euler’s formula is the one that gets called the most beautiful equation in mathematics, and it earns the title by tying five fundamental constants — ee, ii, π\pi, 11 and 00 — into a single identity. The Basel identity is arguably more surprising: it says that the sum of the reciprocal squares of the positive integers is a rational multiple of π2\pi^2, a fact that links an apparently arithmetic series to geometry.

Interesting Facts

  • Pi Day falls on 14 March, because the date reads as 3.14. Pi Approximation Day, 22 July, plays on the fraction 227\frac{22}{7}.
  • The decimal expansion shows no detectable pattern — no known periodicity, no known normality proof. It is important to be precise here: the absence of a known pattern is not a proof that no deeper pattern exists.
  • More than one hundred trillion digits of π\pi have been computed and verified with modern hardware, and the records keep moving.
  • The memorisation record is 70,000 digits, set by Rajveer Sodhi in 2022 and recognised by the Guinness World Records. Earlier claims of “hundreds of thousands” or “over a million” digits are not supported by any recognised record.
  • π\pi appears in probability, number theory, physics and engineering — in the Gaussian density, in Buffon’s needle, in the zeta function, in wave equations, and in the resonant frequencies of almost every vibrating system.

Mathematical Meaning and Properties

π\pi is irrational, and it is transcendental. Irrationality means that no ratio of two integers equals π\pi; transcendence means that π\pi is not a root of any non-zero polynomial with rational coefficients, which is a strictly stronger statement. Lambert proved irrationality in 1761, using a continued fraction for tan⁡x\tan x:

tan⁡x=x1−x23−x25−x27−⋯\tan x = \frac{x}{1 - \frac{x^2}{3 - \frac{x^2}{5 - \frac{x^2}{7 - \cdots}}}}

If π\pi were rational, then π4\frac{\pi}{4} would be a nonzero rational number, and Lambert’s theorem says that the tangent of a nonzero rational is irrational. But tan⁡π4=1\tan\frac{\pi}{4} = 1 is rational, a contradiction. Lindemann pushed further in 1882, using Euler’s formula: if π\pi were algebraic, then iπi\pi would be a nonzero algebraic number, and the Lindemann–Weierstrass theorem says that eαe^{\alpha} is transcendental for every nonzero algebraic α\alpha. Yet eiπ=−1e^{i\pi} = -1 is algebraic. Again a contradiction.

π\pi and the trigonometric functions are inseparable. The period of sin⁡\sin and cos⁡\cos is 2π2\pi; the key values sin⁡π6=12\sin\frac{\pi}{6} = \frac{1}{2} and cos⁡π3=12\cos\frac{\pi}{3} = \frac{1}{2} are what let you build exact triangles; and the entire machinery of Fourier analysis — decomposing a periodic function into sines and cosines — is built on the period 2π2\pi.

π\pi is a bridge between fields. It appears in the area of a disc (geometry), in ∫e−x2dx=π\int e^{-x^2}dx = \sqrt{\pi} (analysis), in the normal density and in Buffon’s needle (probability), in ζ(2)=π26\zeta(2) = \frac{\pi^2}{6} (number theory), and in the decay rate of a Fourier transform (physics).

The continued fraction of π\pi is a memorable object. It begins

π=[3; 7,15,1,292,1,1,1,2,1,3,1,14,2,…]\pi = [3;\, 7, 15, 1, 292, 1, 1, 1, 2, 1, 3, 1, 14, 2, \ldots]

The enormous partial quotient 292292 is what makes 355113\frac{355}{113} such a good approximation: after the convergent 3+17+115+113 + \frac{1}{7 + \frac{1}{15 + \frac{1}{1}}} (which is exactly 355113\frac{355}{113}), the next partial quotient promises a further improvement of about a factor of 292292.


Exercises

Exercise 1

Write the definition of π\pi and list the common approximations of it.

pi constantdefinitionapproximations

Approach:

State the geometric definition, then give the rational approximations that are used in practice together with a sense of how accurate each one is.

Steps:

  1. π\pi is defined as the ratio of a circle’s circumference to its diameter: π=Cd\pi = \frac{C}{d}. The ratio is the same for every circle, so π\pi is a universal constant.
  2. The coarsest decimal approximation is 3.143.14, whose error is about 1.6×10−31.6 \times 10^{-3}.
  3. 227=3.142857…\frac{22}{7} = 3.142857\ldots is the classical approximation, with error about 1.3×10−31.3 \times 10^{-3}; 355113=3.141592920…\frac{355}{113} = 3.141592920\ldots, the “Zu rate”, is far better, with error about 2.7×10−72.7 \times 10^{-7}.
  4. The exact value is irrational, so the decimal expansion π=3.141592653589793…\pi = 3.141592653589793\ldots never terminates and never repeats.

Answer:

Definition: π=Cd\pi = \frac{C}{d}. Common approximations: 3.143.14, 227\frac{22}{7}, 355113\frac{355}{113}.

Exercise 2

Decide whether π\pi is rational, and justify your answer.

pi constantirrational numbertranscendental number

Approach:

First rule out rationality by the definition (a ratio of two integers), then strengthen the conclusion to transcendence using a theorem about exponential values of algebraic numbers.

Steps:

  1. If π\pi were rational, its decimal expansion would be finite or eventually periodic. It is not, but that observation is not a proof, since no finite computation can rule out a pattern starting later.
  2. Lambert (1761) used the continued fraction tan⁡x=x1−x23−x25−⋯\tan x = \frac{x}{1 - \frac{x^2}{3 - \frac{x^2}{5 - \cdots}}}: if π\pi were rational then π4\frac{\pi}{4} would be a nonzero rational, and Lambert’s theorem says the tangent of a nonzero rational is irrational — yet tan⁡π4=1\tan\frac{\pi}{4} = 1 is rational. Contradiction.
  3. Lindemann (1882) strengthened this using Euler’s formula eiπ=−1e^{i\pi} = -1: if π\pi were algebraic, iπi\pi would be a nonzero algebraic number, and the Lindemann–Weierstrass theorem says eαe^{\alpha} is transcendental for such α\alpha, contradicting eiπ=−1e^{i\pi} = -1.
  4. Therefore π\pi is irrational, and in fact transcendental.

Answer:

π\pi is irrational, and indeed transcendental.

Exercise 3

Write down a classical series for π\pi and explain where it comes from.

pi constantLeibniz seriesseries expansion

Approach:

Take the power series for the arctangent and evaluate it at x=1x = 1.

Steps:

  1. The arctangent has the power series arctan⁡x=x−x33+x55−⋯\arctan x = x - \frac{x^3}{3} + \frac{x^5}{5} - \cdots for ∣x∣≤1\lvert x \rvert \leq 1.
  2. Substituting x=1x = 1 gives π4=1−13+15−17+⋯\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots, since arctan⁡1=π4\arctan 1 = \frac{\pi}{4}.
  3. In summation form this is π4=∑n=0∞(−1)n2n+1\frac{\pi}{4} = \sum_{n=0}^{\infty} \frac{(-1)^n}{2n+1}, an alternating sum of reciprocals of odd integers.
  4. The series is the classic Leibniz formula. It is exact but converges slowly: the error after nn terms is at most 12n+1\frac{1}{2n+1}.

Answer:

π4=1−13+15−17+⋯=∑n=0∞(−1)n2n+1\frac{\pi}{4} = 1 - \frac{1}{3} + \frac{1}{5} - \frac{1}{7} + \cdots = \sum_{n=0}^{\infty} \frac{(-1)^n}{2n+1}, obtained from the arctangent series at x=1x = 1.

Exercise 4

Which of the following numbers is irrational?

(A) 2\sqrt{2}

(B) π\pi

(C) ee

(D) All of the above

pi constantirrational numbermultiple choice

Approach:

Check each candidate against the definition of a rational number, namely a ratio of two integers.

Steps:

  1. (A) 2\sqrt{2}: 22 is not a perfect square, so 2\sqrt{2} is not a ratio of two integers and is irrational.
  2. (B) π\pi: the circle constant is irrational (Lambert, 1761), and in fact transcendental.
  3. (C) ee: the base of the natural logarithm is irrational and transcendental as well.
  4. All three candidates fail to be ratios of two integers, so the correct option is the one that says so.

Answer:

(D) All of the above.

Exercise 5

Write the area and circumference formulas for a circle.

pi constantarea formulacircumference formula

Approach:

Start from the definition π=Cd\pi = \frac{C}{d} to get the circumference, and use the area definition π=Sr2\pi = \frac{S}{r^2} for the area.

Steps:

  1. By definition π=Cd\pi = \frac{C}{d} with d=2rd = 2r, so C=π⋅2r=2πrC = \pi \cdot 2r = 2\pi r.
  2. The area of a circle of radius rr is S=πr2S = \pi r^2; the constant here is the same π\pi, as proved by the method of exhaustion.
  3. At r=1r = 1 the formulas give C=2πC = 2\pi (the circumference of the unit circle) and S=πS = \pi (the area of the unit disc).

Answer:

Area: S=πr2S = \pi r^2. Circumference: C=2πrC = 2\pi r.


Summary

π\pi is the constant that measures the circle, and the surprising thing about it is how far it travels: the same number governs the area of a disc, the period of a sine wave, the density of the normal distribution, and the value of the zeta function at 2. It can be defined geometrically by the ratio of circumference to diameter, geometrically by the ratio of area to radius squared, or purely analytically by infinite series such as the Leibniz, Wallis, and Viète formulas. It is irrational (Lambert, 1761) and transcendental (Lindemann, 1882), so its decimal expansion never repeats and never terminates. And it is computable: modern algorithms such as the Chudnovsky series add roughly fourteen correct digits per term, which is how the record for computed digits has been pushed past one hundred trillion.

Symbols Used in This Article

SymbolTypePronunciation/ExplanationMeaning in This Article
π\piGreek letterPi (pie)The circle constant, approximately 3.14159
CCMathematical symbolcircumferenceThe circumference of a circle
ddMathematical symboldiameterThe diameter of a circle
rrMathematical symbolradiusThe radius of a circle
SSMathematical symbolareaThe area of a circle
eeMathematical symbolEuler’s numberThe base of the natural logarithm
iiMathematical symboliThe imaginary unit
φ\varphiGreek letterPhi (fee/fye)The golden angle 360∘/φ2360^\circ / \varphi^2 used when discussing phyllotaxis
∑\sumMathematical symbolsummationThe infinite series operator
ζ\zetaGreek letterzetaThe Riemann zeta function, with ζ(2)=π26\zeta(2) = \frac{\pi^2}{6}

Found an issue with this content?

Tell us what could be improved.