excel functions

MS Excel: PI Function (WS)

This Excel tutorial explains how to use the Excel PI function with syntax and examples.


The Microsoft Excel PI function returns the mathematical constant called pi, which is 3.14159265358979.


The syntax for the PI function in Microsoft Excel is:

PI( )

Parameters or Arguments

There are no parameters or arguments for the PI function.

Applies To

The PI function can be used in the following versions of Microsoft Excel:

  • Excel 2013, Excel 2011 for Mac, Excel 2010, Excel 2007, Excel 2003, Excel XP, Excel 2000

Type of Excel Function

The PI function can be used in Microsoft Excel as the following 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:

Microsoft Excel

Based on the Excel spreadsheet above, the following PI examples would return:

Result: 3.141592654

=PI() * A1
Result: 59.69026042

=PI() / A2
Result: 0.184799568

=PI() + A3
Result: -9.858407346