Try it yourself:


pi: the circle constant

pi represents π, the ratio of a circle’s circumference to its diameter. It is an exact mathematical constant used in geometry, trigonometry, probability, and complex analysis.

Common formulas

A circle of radius r has circumference 2 × pi × r and area pi × r². Angles in radians use π naturally: a half-turn is pi and a quarter-turn is pi/2.

Related functions

Use pi with sin(), cos(), and tan(). Convert angle units with asin() and acos(). Use numeric() only when a decimal approximation is required.

Precision

Keep pi symbolic for exact transformations; round a decimal only at the output boundary.

All functions