Thursday, August 11, 2016

PI Function(WS)

Description

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

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.

Applies To

  • 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:
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