AskLucy

Let's ask Lucy


1
answer
Community question Science and Technology From 🇪🇹 Ethiopia 29 Nov 2026

Why is pi 3.14, how can you measure it yourself, and why does it matter beyond circles?

Asked by adezo24

Why does dividing a circle's circumference by its diameter give the same number for every circle, big or small? Why is pi written as 3.14 when its digits never end or repeat? How can anyone measure it at home with just a string and a ruler? How did people calculate it before computers, from Archimedes' polygons to Zu Chongzhi's 355/113 and infinite sums? Where does pi show up beyond circles, such as in waves, GPS, space navigation, medical scanners, and even in the odds that two random numbers share no common factor? How many digits do scientists actually need, about 15 for NASA's probes or closer to 40 for the whole observable universe? And what fun projects, like Buffon's needle, a wheel odometer, or scattering random dots in Python, could help a student see pi for themselves?

1 Answer

Replied by Lucy Staff
29 Nov 2026
Was this helpful? 0 votes

Lucy's answer

Pi (π) is one of the most useful — and most surprising — numbers in all of mathematics. It starts as a simple observation about circles and ends up threading through waves, medical scanners, space probes, and even pure number theory. Here is a full tour of what it is, where it comes from, and how to meet it yourself.

Why is the ratio always the same, for every circle?

Because all circles have the same shape, their relative attributes — including the ratio of circumference to diameter — are identical for every circle, regardless of size. Mathematically, when a circle is scaled up or down by any factor, every linear dimension — circumference and diameter alike — increases proportionally by that same factor, leaving their ratio unchanged. Stretch any circle uniformly and you get another circle, so every ratio within it is preserved. Pi is the fingerprint of circularity itself.

Why is pi written "3.14" when its digits never end?

The short answer: "3.14" is merely a convenient rounding. Pi is irrational because it cannot be expressed as a fraction of two whole numbers — its decimal expansion never ends and never enters a repeating pattern. Pi is not merely irrational; it is also transcendental, which Ferdinand von Lindemann proved in 1882. That is an even stronger statement: it means pi is not the root of any polynomial equation with whole-number coefficients. Any fraction — 22/7, 355/113, anything — can only approximate it. The digits 3.14159… go on forever with no repeating block, and no one will ever write the last digit.

Measuring pi yourself with a string and a ruler

You do not need a computer. Find any circular object — a tin can, a dinner plate, a bicycle wheel. Wrap a piece of string tightly around the rim once; that length is the circumference C. Measure the widest distance straight across the circle; that is the diameter d. Divide C by d. Pi is the same number for every circle because the distance around a circle divided by the distance across it always gives the same value. You will land near 3.14 no matter which circle you choose. Averaging a few circles smooths out measurement wobble.

How people calculated pi before computers

  • Archimedes (~250 BCE). In his Measurement of a Circle, Archimedes created the first algorithm for calculating π, based on the idea that the perimeter of any polygon inscribed in a circle is less than the circumference, which in turn is less than the perimeter of any circumscribed polygon. He crunched the numbers and obtained the approximation 3.1408 < π < 3.1429 , using polygons up to 96 sides.
  • Liu Hui (~263 CE) and Zu Chongzhi (~480 CE). Around the same time, Chinese mathematician Liu Hui came up with the first rigorous iterative algorithm to calculate pi, also using polygons. Zu Chongzhi took Liu Hui's algorithm and calculated the area out to a shape with 24,576 sides, deriving a shockingly accurate approximation of pi: 355/113. This fraction — known today as Zu's ratio or Milü — approximates pi to six decimal places. It was unprecedented, and a more accurate representation of pi was not discovered anywhere for nearly a thousand years.
  • Infinite series (17th century onward). Mathematicians discovered that you can sum an infinite sequence of simple fractions and converge on pi. The Leibniz–Gregory series (π/4 = 1 − 1/3 + 1/5 − 1/7 + …) is the most famous example, though it converges slowly. Later series by Machin, Ramanujan, and others converged far faster, enabling the hand-computed records of the pre-computer era.

Pi far beyond circles

Pi plays a crucial role in the study of waveforms and oscillations. From the motion of a pendulum to the behavior of light waves, pi appears in the formulas that describe these phenomena. The sine and cosine functions, which are fundamental to trigonometry and wave theory, rely on pi to measure angles and describe periodic motion.

  • GPS and space navigation. GPS relies on the precise calculation of distances on the Earth's surface, which inherently involves the use of pi, given the Earth's spherical shape.
  • Medical scanners. MRI machines use Fourier transforms; the "waves" analyzed in this process are sine and cosine waves, which are fundamentally based on the unit circle and pi.
  • Signal processing. Pi remains essential in simulation, signal processing, and 3-D rendering. Every smartphone camera lens, satellite antenna, and medical MRI uses trigonometric functions derived from π. It underpins algorithms for Fourier transforms, spectral analysis, and the geometry behind AI vision systems.
  • Number theory — a stunning surprise. If you pick two positive integers entirely at random, the odds that they share no common divisors are exactly 6/π² (about 61%). This fascinating result bridges the gap between basic counting and the geometry of circles. Euler solved the "Basel Problem" in 1734, proving that the infinite sum of the reciprocals of all squared integers exactly equals π²/6, tying this continuous geometric constant to discrete prime numbers.

How many digits do scientists actually need?

For JPL's highest accuracy calculations, which are for interplanetary navigation, NASA uses 3.141592653589793 — just 15 decimal places. If we were to calculate the circumference of the entire observable universe — a circle with a radius of about 46 billion light-years — we would only need about 40 digits of pi to get an answer with a margin of error smaller than a single hydrogen atom. Every digit beyond that is a curiosity, not a necessity.

Hands-on projects to see pi yourself

  • String-and-ruler. As described above — the simplest and most direct experiment. Try it on five different circular objects and average your results.
  • Wheel odometer. Mark a spot on a bicycle tyre and roll it along the floor exactly one revolution; measure how far it travelled. Divide that distance by the wheel's diameter. You have measured pi.
  • Buffon's Needle. In 1733, Georges-Louis Leclerc, Comte de Buffon, showed that dropping a needle on a ruled floor produces π — exactly, without a circle in sight. If you draw equally spaced parallel lines (distance d apart) and drop needles shorter than d, the probability of a needle crossing a line is 2l/(πd), where l is the needle length. To calculate pi from the drops, take the number of drops multiplied by two, then divide by the number of hits: 2(total drops)/(number of hits) ≈ π. Drop 200+ matches or toothpicks for a noticeable result.
  • Monte Carlo dot-scatter in Python. Throw darts randomly at a square and count how many land inside the inscribed circle. The ratio of points that fall inside the circle to the total number of points equals π/4, so π ≈ 4 × (points inside circle) / (total points). A simple Python script using numpy.random.uniform and the check x² + y² ≤ 1 produces a live estimate that inches toward 3.14159… as you add more dots. Even 10,000 points typically gives two or three correct decimal places.

Quick reference facts

  • π ≈ 3.14159 26535 89793… — no last digit, no repeating block.
  • Best pre-computer fraction: 355/113 (Zu Chongzhi, ~480 CE), accurate to 6 decimal places.
  • Digits needed for solar-system navigation: 15. Digits needed to span the observable universe to atomic precision: ~40.
  • Probability two random integers share no common factor: 6/π² ≈ 61%.

The information above is provided for educational purposes. Specific numerical claims can be verified against primary sources such as NASA JPL's official explainer on pi digits and standard mathematics references. Nothing here constitutes professional scientific or engineering advice — always consult authoritative sources for precision-critical applications.

References

Was this helpful? 0 votes

This is orientation, not legal, tax, or immigration advice. Verify everything on official sites.

Confirm action