← All articles
mathpicirclesirrational numbersSeptember 14, 20264 min read

What Is Pi and Why Does It Turn Up Everywhere?

By the BrainSnail editorial team. How these articles are written and checked, and how to tell us when one is wrong.

Draw any circle, of any size, and divide the distance around it by the distance across it. The answer is always the same number, a little more than three, and it is the same for a coin, a planet and the ring of a coffee cup. That constant is pi, written with the Greek letter, and it has been chased for four thousand years because it cannot be written down exactly: its decimal expansion runs on without end and without a pattern, and it appears in parts of mathematics that seem to have nothing to do with circles at all.

A number that cannot be finished

Pi is approximately 3.14159, and no fraction equals it. In 1768 Johann Lambert proved it is irrational, which means its decimal expansion never ends and never settles into a repeating cycle. In 1882 Ferdinand von Lindemann proved it is transcendental, a stronger property: it is not the solution of any polynomial equation with whole-number coefficients, which is why it is impossible to construct a square with the same area as a given circle using only a ruler and compasses, a problem the Greeks had worked on for two thousand years.

Because it cannot be written exactly, pi is defined by what it is rather than what it equals: the ratio of a circle's circumference to its diameter, or equivalently the area of a circle of radius one. Everything else about it has to be calculated.

Four thousand years of closing in

The Babylonians used 3.125 and an Egyptian papyrus from about 1650 BCE implies 3.16, both good enough for building. Archimedes, around 250 BCE, made the first rigorous estimate by trapping a circle between two 96-sided polygons, one inside and one outside, and showed that pi lies between 3.1408 and 3.1429. The method was refined for eighteen centuries, with the Chinese mathematician Zu Chongzhi reaching seven correct decimal places in the fifth century and the Dutchman Ludolph van Ceulen spending most of his life computing 35, which were carved on his tombstone.

Calculus changed the game. From the late seventeenth century mathematicians found infinite series that add up to pi, such as Leibniz's formula, in which pi over four equals one minus a third plus a fifth minus a seventh and so on forever, and faster ones followed. By 1873 William Shanks had computed 707 digits by hand, of which the first 527 were right. Computers took over in 1949, and the current record, set in 2024, exceeds 100 trillion digits. The milestones:

  • Around 250 BCE: Archimedes, between 3.1408 and 3.1429
  • Fifth century: Zu Chongzhi, 3.1415926 to 3.1415927
  • 1596: van Ceulen, 35 digits, by polygons
  • 1706: John Machin, 100 digits, by infinite series
  • 1949: the ENIAC computer, 2,037 digits in 70 hours
  • 2024: over 100 trillion digits

Where it appears without a circle

Pi turns up in places with no obvious roundness. The bell curve that describes heights, measurement errors and exam scores has pi in its formula, because the area under it is the square root of pi. The sum of the reciprocals of the square numbers, one plus a quarter plus a ninth and so on, equals pi squared over six, a result Euler found in 1734 that still surprises people. Pi governs the period of a pendulum, the behaviour of alternating current, the equations of quantum mechanics and Einstein's field equations for gravity.

The common thread is that pi is really about rotation and periodicity, not circles as pictures. Anything that repeats, oscillates or spreads evenly in all directions involves angles, and angles are measured in radians, which are defined by pi. The circle is simply the first place humans met it.

How many digits anyone needs

The trillions of digits are a test of computers and algorithms, not a practical need. NASA's Jet Propulsion Laboratory uses 15 decimal places for interplanetary navigation, which is enough to keep an error in the circumference of the solar system below the width of a hand. Thirty-nine digits would compute the circumference of the observable universe to within the width of a hydrogen atom. For any school or engineering problem, 3.14159 is more precision than the measurements it is combined with. The digits are memorised for sport; the record stands at 70,000, recited over ten hours.

A day and a letter

The symbol was introduced by the Welsh mathematician William Jones in 1706, as the first letter of the Greek word for perimeter, and popularised by Euler. Pi Day is 14 March, from the American date format 3/14, and is celebrated in schools with pie. A small movement argues that the more natural constant is tau, twice pi, the ratio of circumference to radius, because so many formulas contain two pi; it has a day of its own on 28 June and has not caught on. Pi has had a four-thousand-year head start.

The takeaway

Pi is the ratio of any circle's circumference to its diameter, about 3.14159, an irrational and transcendental number whose digits never end or repeat. Estimated by Archimedes with polygons and computed to trillions of digits by computers, it appears throughout mathematics and physics because it belongs to rotation and repetition, and for any practical purpose a dozen digits is far more than enough.

Practise this

Questions from Geometry and Trigonometry

Reading about something is not the same as being able to recall it. These are real questions from the Geometry and Trigonometry unit in our Math track, answers and explanations included. The unit has 120 in total across 21 steps.

  • Put in orderLevel 3

    1. Put the steps for finding a hypotenuse with the Pythagorean theorem in the correct order.

    Answer: Square each leg -> Add the two squares -> Take the square root

    You square both legs, add them, then take the square root to get the hypotenuse.

  • Match the pairsLevel 3

    2. Match each trig ratio to its definition.

    Answer: Sine = opposite / hypotenuse; Cosine = adjacent / hypotenuse; Tangent = opposite / adjacent

    These are the three ratios in SOHCAHTOA.

  • Fill the blankLevel 3

    3. The area of a circle is pi times the radius ____.

    • squaredcorrect
    • cubed
    • doubled
    • halved

    Area of a circle is pi x r^2, so you square the radius.