Pi() Function



The Excel PI function returns the value of pi. For example, the formula =2*PI() * 3 returns the circumference of a circle with a radius of 3.


Syntax

The syntax for the PI function in Microsoft Excel is:

=PI( )

Pi Function Examples

The spreadsheet below shows three examples of the Excel Pi function.

Formulas:


A
B
1
=PI( )

2
=SIN( PI( ) / 2 )

3
=2 * PI( ) * 5
- circumference of a circle with radius 5

Results:


A
1
3.141592654
2
1
3
31.41592654

References

No comments:

Post a Comment

OR Function