Started in 1988 at San Francisco’s Exploratorium museum, March 14, or Pi Day, has become a classroom tradition. But what is pi? Why do we celebrate it by slicing up circular junk food? And why are mathematicians still calculating digits of pi into the trillions of decimal places?

Pi is a mathematical constant, meaning its value never changes. It describes the relationship between a circle’s circumference (the distance around a circle) and its diameter (the distance across a circle at its widest point). Today, we also describe pi as an irrational, transcendental number. In other words, a real thinker—let’s break down this description to understand why it’s possible that we’re still finding new digits of pi.

history of pi

First we have to start with real numbers. Real numbers make up pretty much all numbers that are not purely conceptual (like infinity, ∞). However, real numbers are not always tidy and neat. The “tidiest” real number is a whole number (0, 1, 2, 3, etc.). Slightly messier are the fractions (¼, ½, ¾, etc.) but these are still simple enough: divide 7 by 8 and you can express it as 0.875. Whole numbers and fractions are both rational numbers because they can be expressed as one particular number divided by another. Then we have the irrational numbers like pi. Pi is real, but there is no fraction that accurately describes it. This is because after its decimal point is a never-ending but distinct row of numbers without a repeating pattern. Some numbers like 1/3 don’t end but follow a repeating pattern, as in 0.333…, making them never-ending but still rational. Even calculating out to trillions of decimal places, mathematicians have yet to find a discernible pattern to pi.

Whew! Ok, now we’ve reached the transcendental part. Real numbers are not just rational or irrational, they’re also algebraic or transcendental. Basically (very basically), pi cannot be solved using an algebraic equation, which uses whole numbers to solve for x. As a quick refresher, a super simple algebraic equation looks something like this: x = 3–2x where x = 1.

Pi is used in equations that are mapping the shape of the universe, searching for planets outside our galaxy, discovering how DNA folds, simulating atoms and molecules in computer models, making predictions in particle physics, and much more, so it’s not just a cool parlor trick or a way to get in The Guinness Book of World Records. It’s used in science and engineering every day.

But pi wasn’t always known as an irrational, transcendental number. It has taken mathematicians 4,000 years to uncover the mysteries of pi, and they may not be done yet.

The Babylonians and the Egyptians were the first to identify pi as the relationship between the circumference and diameter of a circle. Instead of using a mathematical system based on tens like the metric system many of us are familiar with, they used a sexagesimal system based on 60 (1). To approximate the value of pi, they inscribed a hexagon within a circle. The sides of the hexagon were equivalent to the circle’s radius, so the outer shape of the hexagon roughly correlated to the circumference of the circle, enabling them to estimate pi at 3.125 (the first five decimal places of pi are 3.14159 so they were pretty close). The Rhind Papyrus written by the Egyptian scribe Ahmes around 1,650 BCE recorded pi as 3.16049 (1).

Eudoxus of Cnidus (400–350 BCE) was a Greek astronomer and mathematician. Famous for his geometric, celestial model that interlaced the motions of the Sun, moon, and the five planets known at the time, Eudoxus was particularly interested in the study of proportions and he demonstrated that the area of a circle is proportional to the square of its radius.

While we often define pi as the proportion of its circumference to its diameter, A= πr2 is perhaps the first use of pi many of us memorize in school, and the premise of this equation led mathematicians on the long path of trying to solve the constant.

history of pi

One of Greece’s most famous mathematicians—if not the most famous—Archimedes of Syracuse (287-212 BC) took the calculation of pi to new heights by using multiple polygons (with five sides) inscribed in a circle, enabling increasingly accurate calculations. Imagine laying polygon cutouts into tight, circular rotations within a circle; the more you lay down, the more sides this composite polygon has and the closer it gets to representing the circumference of the circle. While this inscribed and circumscribed polygon method has some physical limitations (Archimedes used only two regular polygons in his calculations), it was accurate enough to give him a value for pi in the range between 3.143 and 3.141 (1), closer than the Babylonians’ 3.125 estimate.

history of pi
Polygons can be used to approximate the area radius of a circle. The more sides a polygon has, the closer it comes to matching the dimensions of a circle.

Then in 1976 two mathematicians, Richard Brent and Eugene Salamin, independently found an algorithm (a set of calculations or steps used on a computer) that “doubles the number of accurate digits with each iteration.” Since then, trillions of digits of pi have been calculated on computers using a number of methods, not only the Brent–Salamin algorithm. You may question the usefulness of calculating so many digits of pi; after all, 15 or 16 digits are plenty accurate for technology like the navigation system of the International Space Station.

history of pi

But some mathematicians are interested in the rules that govern the digits of pi, not the digits themselves. In fact, in 2010 a Yahoo researcher used cloud computing to break up the calculations for pi to “skip ahead,” so to speak, to the two-quadrillionth binary digit of pi (a quadrillion is 10 with 15 zeroes behind it). In addition to learning more about the mysteries of pi, exercises like this can help test the limits of computation. If you’re ever searching for pi achievements, you may find a range of numbers as pi is discussed in terms of the actual numbers behind the decimal points and the computer binary digits, or bits, calculated. For example, 2.7 trillion decimal points is as many as nine trillion bits.

Meanwhile, some of us may use our old-fashioned human brains to memorize a few digits of pi on Pi Day. The current world-record holder recited 70,030 digits of pi, but you can start a little smaller. Maybe try the first 10 digits? 3.141592653.


  1. Beckmann, Petr, A History of Pi. St. Martin’s Griffin, 1975.
  2. C. Huber, “Viete’s Method for Calculating Pi,” School Science and Mathematics Association, 1984. DOI: 10.1111/
  3. The World of Pi,
  4. Scientific American, “How Much Pi Do You Need?”
  5. BBC, “Pi record smashed as team finds two-quadrillionth digit,”
  6. New Scientist, “New Pi record exploits Yahoo’s computers,”
  7. Pi World Ranking List,
  8. Pi,

Katie Jones is a science writer at Argonne National Laboratory. Follow Katie on Twitter @Kelyce_writer.


Cultivated For Your Curious Self

Keep Your Learning Going

Did you enjoy this article? You’re our kind of person. And we think you’ll love these posts from our team of experts.

Total Solar Eclipse on April 8, 2024

Total Solar Eclipse on April 8, 2024

On April 8th, 2024, a total solar eclipse will sweep across North America, from Mexico to the Maine-Canadian border. For those who experienced the spectacular solar eclipse of 2017, this one will be similar, crossing the United States from west to east and passing through or near several major metropolitan areas. And while its path is quite different this time, Carbondale, Illinois, a reasonable destination for Chicago-area residents, will once again be on the line of totality.    

Just a little background on eclipses:  Lunar and solar eclipses are not uncommon – they each occur about twice a year when the moon is crossing the ecliptic, the path of the sun in the sky.

Two women representing the Illinois Science Council at an event.

Don’t Have the Time? Donate Today.

We know you’re busy. but you can still help. We’re an independent 501c3 nonprofit, and all donations go to bringing science to the community.

Donate Today