Pi (or π) is a mathematical constant. It is the ratio of the distance around a circle to the circle's diameter. This produces a number, and that number is always the same. However, the number is rather strange. The number starts as 3.141592653589793... and continues without end. Numbers like this are called irrational numbers.

The diameter is the largest chord which can be fitted inside a circle. It passes through the center of the circle. The distance around a circle is known as the circumference. Even though the diameter and circumference are different for different circles, the number pi remains constant: its value never changes. This is because the relationship between the circumference and diameter is always the same.[1]

Pi is often written formally as π or the Greek letter π as a shortcut.  Pi is also an irrational number, meaning it cannot be written as a fraction (




a

b


{\displaystyle a \over b}

), where 'a' and 'b' are integers (whole numbers). This basically means that the digits of pi that are to the right of the decimal go forever without repeating in a pattern, and that it is impossible to write the exact value of pi as a number. Pi can only be approximated, or measured to a value that is close enough for practical purposes.[2]

A value close to pi is 3.141592653589793238462643...[3] A common fraction approximation of pi is 




22

7


{\displaystyle 22 \over 7}

, which yields approximately 3.14285714. This approximation is 0.04% away from the true value of pi. While this approximation is accepted for most of its use in real life, the fraction 




355

113


{\displaystyle 355 \over 113}

 is more accurate (giving about 3.14159292), and can be used when a value closer to pi is needed.[4] Computers can be used to get better approximations of pi.

In March 2019 Emma Haruka Iwao calculated the value of pi to 31.4 trillion digits.[5][6][7][8][9]

The value of pi was known to Ancient Indian mathematicians like Bhaskaracharya and Aryabhatta.

Mathematicians have known about pi for thousands of years because they have been working with circles for the same amount of time. Civilizations as old as the Babylonians have been able to approximate pi to many digits, such as the fraction 25/8 and 256/81. Most historians believe that ancient Egyptians had no concept of π and that the correspondence is a coincidence.[10]

The first written reference to pi dates to 1900 BC.[11] Around 1650 BC the Egyptian Ahmes gave a value in the Rhind Papyrus. The Babylonians were able to find that the value of pi was slightly greater than 3 by simply making a big circle and then sticking a piece of rope onto the circumference and the diameter, taking note of their distances, and then dividing the circumference by the diameter.

Knowledge of the number pi passed back into Europe and into the hands of the Hebrews, who made the number important in a section of the Bible called the Old Testament. After this, the most common way of trying to find pi was to draw a shape of many sides inside any circle and use the area of the shape to find pi. The Greek philosopher Archimedes, for example, used a polygon shape that had 96 sides in order to find the value of pi, but the Chinese in 500 CE were able to use a polygon with 16,384 sides to find the value of pi. The Greeks, like Anaxagoras of Clazomenae, were also busy with finding out other properties of the circle, such as how to make squares of circles and squaring the number pi. Since then, many people have been trying to find out more and more exact values of pi.[12]

In the 16th century, better and better ways of finding pi became available such as the complicated formula that the French lawyer François Viète developed. The first use of the Greek symbol "π" was in an essay written in 1706 by William Jones.

A mathematician named Lambert also showed in 1761 that the number pi was irrational; that is, it cannot be written as a fraction by normal standards. Another mathematician named Lindeman was also able to show in 1882 that pi was part of the group of numbers known as transcendentals, which are numbers that cannot be the solution to a polynomial equation.[13]

Pi can also be used for figuring out many other things beside circles.[10] The properties of pi have allowed it to be used in many other areas of math besides geometry, which studies shapes. Some of these areas are complex analysis, trigonometry, and series.

Today, there are different ways to calculate many digits of π. This is of limited use though.

Pi can sometimes be used to work out the area or the circumference of any circle. To find the circumference of a circle, use the formula C (circumference) = π times diameter. To find the area of a circle, use the formula π (radius²). This formula is sometimes written as 



A
=
π

r

2




{\displaystyle A=\pi r^{2}}

, where r is the variable for the radius of any circle and A is the variable for the area of that circle.

To calculate the circumference of a circle with an error of 1 mm:

People generally celebrate March 14 as Pi Day because March 14 is also written as 3/14, which represents the first three numbers 3.14 in the approximation of pi.[2] Pi day started during 2001.