Syntax
| Parameter | Description |
|---|
Examples
Circle area
=PI()*5^2
Circumference
=2*PI()*10
Convert degrees to radians
=45*PI()/180
Common Errors
PI takes no arguments. =PI(1) will error because the function expects an empty argument list.
Tips
PI() takes no arguments — always include the empty parentheses. Writing just PI without () won't work.
PI() returns 15 digits of precision (3.14159265358979). This is more than sufficient for any practical calculation.
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