Excel function

PIfunction

Returns π (about 3.14159265358979).

All versions
=PI()

Result (to 14 decimal places)16 chars

13
2.
31
44
51
65
79
82
96
105
113
125
138
149
157
169

This function has no arguments. The area of a circle is =PI()*radius^2. Try breaking it on purpose to see the errors.

Result

3.14159265358979

What is the PI function?

=PI()

PI returns the number π. It has no arguments; just write the parentheses.

Use it for the area of a circle (π × radius²), its circumference (2 × π × radius) and converting degrees to radians.

Arguments

This function has no arguments. Write it with empty parentheses, like =NAME().

PI examples

  1. Example 1. Area of a circle

    =PI()*A2^2

    The area of a circle with radius A2.

  2. Example 2. Circumference

    =2*PI()*A2

    The circumference of the circle.

  3. Example 3. Degrees to radians

    =A2*PI()/180

    The same as RADIANS(A2).

Common mistakes

FAQ

How many digits?
15-digit precision: 3.14159265358979.
Square root of π?
Use =SQRT(PI()).