
Returns the mathematical constant pi. PI is used in circle formulas, radian-based trigonometry, and geometry calculations that depend on circular relationships.
The Excel PI function returns the mathematical constant pi to Excel's stored precision. Microsoft documents the returned value as approximately 3.14159265358979. The function takes no arguments because PI is a constant rather than a calculation that depends on input data.
Although PI looks simple, it matters because circular formulas often appear repeatedly across a workbook. Using the built-in function is clearer and more precise than hard-coding rounded approximations such as 3.14 or 3.14159. That is especially important when the same workbook is used for geometry, engineering, or trigonometric calculations where consistency matters.
Provides the mathematical constant required for circular geometry and radian-based trigonometric formulas.
Returns pi as a numeric constant. The function has no arguments.
=PI()
The syntax is minimal, but the empty parentheses are still required. PI can then be treated like any other numeric constant inside a larger formula. That includes geometry formulas such as circumference and area, as well as angular conversions involving radians.
Typing 3.14 into a formula may appear harmless, but it introduces avoidable rounding error. The difference may be small in one isolated cell, yet repeated use of approximated constants reduces precision for no practical benefit.
| Approach | Meaning | Use When |
|---|---|---|
PI() |
Built-in constant at Excel precision | You want a clear and precise formula |
3.14 |
Crude approximation | Almost never the better choice in a workbook |
3.14159 |
Improved but still truncated approximation | Still less clear and less precise than PI() |
Using PI() also improves readability. A future reviewer immediately understands that the formula depends on the mathematical constant, not on an arbitrary typed number.
PI is central to circle formulas. Circumference is calculated as 2*pi*r, area as pi*r^2, and the volume of a cylinder as pi*r^2*h. In each case, PI is not incidental; it is part of the structure of the geometry itself.
PI is also used in trigonometric work because radians are defined in terms of pi. That is why formulas involving sine, cosine, angular frequency, and radian-degree conversion often include PI even when the model is not explicitly about circles in a physical sense.
This confirms the function output directly. In practice, this standalone call is less common than PI embedded in a larger formula, but it is useful as a reference and as a building block in more complex expressions.
=PI()
// Returns approximately 3.14159265358979
In cell F1, use the PI function to return the full 15-digit constant. Expected: 3.14159265358979.
The circumference formula uses twice the radius multiplied by PI. This example shows why storing the radius in a cell is useful: the structure of the geometry remains fixed while the input changes.
=2*PI()*B1
// B1 = 5
// Result is about 31.416
In cell F2, calculate the circumference of a circle with a radius of 5 (B1). Use 2*PI()*B1. Expected: about 31.416.
Area depends on the square of the radius, not just the radius itself. PI therefore works with an exponent here rather than a simple linear factor. This distinction is essential because area grows quadratically as the radius increases.
=PI()*10^2
// Result is about 314.159
In cell F3, calculate the area of a circle with a radius of 10. Use PI()*10^2. Expected: about 314.159.
Radians and degrees are related through PI. Multiplying by 180 and dividing by PI converts a radian measure into degrees. With PI itself as the input, the result is exactly 180 degrees in mathematical terms.
=PI()*180/PI()
// Result = 180
In cell F4, convert PI radians to degrees by multiplying by 180 and dividing by PI(). Expected: 180.
Even when the workbook is not explicitly a geometry model, PI often appears in formulas involving periodic behavior or angular units. That broader role is why the function belongs alongside trigonometric functions rather than being treated as a niche geometry constant.
PI(), not a hard-coded decimal approximation.PI returns the mathematical constant pi.=PI().Tell your friends about this post