Pi is the ratio of a circle's circumference to its diameter. It was first discovered around 250 BC by Archimedes, who calculated upper and lower bounds for pi. Over centuries, many mathematicians have calculated pi to increasing levels of accuracy using polygon approximations of circles. In the modern era, computers have been used to calculate pi to trillions of digits. Pi is an irrational and transcendental number that is ubiquitous in formulas relating to circles, spheres, and trigonometry.