MS Excel: How to use the PI Function (WS)
This Excel tutorial explains how to use the Excel PI function with syntax and examples.
Description
The Microsoft Excel PI function returns the mathematical constant called pi, which is 3.14159265358979.
The PI function is a built-in function in Excel that is categorized as a Math/Trig Function. It can be used as a worksheet function (WS) in Excel. As a worksheet function, the PI function can be entered as part of a formula in a cell of a worksheet.
Syntax
The syntax for the PI function in Microsoft Excel is:
PI( )
Parameters or Arguments
There are no parameters or arguments for the PI function.
Returns
The PI function returns pi which is a value of 3.14159265358979.
Applies To
- Excel for Office 365, Excel 2019, Excel 2016, Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000
Type of Function
- Worksheet function (WS)
Example (as Worksheet Function)
Let's look at some Excel PI function examples and explore how to use the PI function as a worksheet function in Microsoft Excel:
Based on the Excel spreadsheet above, the following PI examples would return:
=PI() Result: 3.141592654 =PI() * A1 Result: 59.69026042 =PI() / A2 Result: 0.184799568 =PI() + A3 Result: -9.858407346
Advertisements