Math & Trig

PI Formula

PI returns the mathematical constant pi (approximately 3.14159265358979). It's the ratio of a circle's circumference to its diameter. Use it in any geometry formula involving circles, spheres, or angles, as well as in trigonometric calculations that require radian conversion.

Syntax

PI()
ParameterDescription
Try PI in Viztab — free, no signup

Examples

Circle area

Formula
=PI()*5^2
Returns ~78.54. The area of a circle with radius 5 is pi × r² ≈ 78.54 square units.

Circumference

Formula
=2*PI()*10
Returns ~62.83. The circumference of a circle with radius 10 is 2πr ≈ 62.83 units.

Convert degrees to radians

Formula
=45*PI()/180
Returns ~0.7854 (π/4 radians). Multiply degrees by PI()/180 to convert to radians for trig functions.

Common Errors

#N/A

PI takes no arguments. =PI(1) will error because the function expects an empty argument list.

Tips

No arguments needed

PI() takes no arguments — always include the empty parentheses. Writing just PI without () won't work.

Full precision

PI() returns 15 digits of precision (3.14159265358979). This is more than sufficient for any practical calculation.

Use RADIANS() instead

Instead of =angle*PI()/180, use =RADIANS(angle) for cleaner formulas. Similarly, =DEGREES(radians) is cleaner than =radians*180/PI().

Try PI in Viztab

Import your data and use PI with 370+ other formulas. No signup required.

Open Viztab

Related Formulas