PI Function
Returns the constant π (about 3.14159).
Syntax
Basic Example
Return π
=PI()PI() returns the constant π to about 15 digits of precision.
Advanced Examples
Example 1: Circumference of a circle
Radius 4.C = 2πr.
=2*PI()*4Example 2: Convert π to degrees
Verify radians-to-degrees.Wrap PI() in DEGREES.
=DEGREES(PI())How PI Works
PI() is a constant function that returns the value of π (the ratio of a circle's circumference to its diameter), accurate to the worksheet's 15-digit floating-point precision. It takes no arguments.
Important Notes & Limitations
PI takes no arguments; supplying one (e.g. PI(1)) returns #VALUE!.
Precision is limited to the worksheet's ~15 significant digits.
It returns a static constant, not a function of any input.
Common Errors & Fixes
#VALUE!Arguments were passed to PI, such as PI(1).Fix: Call it with empty parentheses: =PI().
Download Practice File
PI
piPractice PI with Real Data
Download a sample CSV file with pre-populated data and practice exercises for the PI function. Works in both Excel and Google Sheets.
File format: CSV (comma-separated values) - opens in Excel, Google Sheets, and all spreadsheet apps