Category: FUNCTION | Updated: 2026-11-22
[PI Function] How to Get the Value of Pi (π)
Syntax
=PI()
- Arguments: None (leave the parentheses empty).
Example Table
Examples of calculating the circumference and area of a circle from its radius.
| Calculation | Radius (Col A) | Formula | Output | Formula Reference |
|---|---|---|---|---|
| Pi itself | - | =PI() |
3.141592654 | π |
| Circumference | 5 | =2*PI()*A3 |
31.41592654 | 2πr |
| Area of a circle | 5 | =PI()*A4^2 |
78.53981634 | πr² |
Common Errors and Caveats
- #N/A error: Entering an argument (a number or cell reference) inside the parentheses triggers an
#N/Aerror indicating a wrong number of arguments. - Adjusting displayed decimal places:
PIstores 15 digits internally, but depending on column width or number formatting, it may display rounded as3.14or3.141592654. Use the “Increase decimal places” button on the toolbar if needed.
Frequently Asked Questions
Q. Is it better to use the PI function instead of typing 3.14 manually?
A. Yes, using PI is recommended. It calculates with 15 digits of precision (3.14159265358979), minimizing rounding errors in large circle calculations or trigonometric angle conversions.
Q. Do you ever put a number inside the parentheses of the PI function?
A. No, PI takes no arguments. Always write "=PI()", and if you need 2π (360 degrees), multiply it in your formula like "=2*PI()".