### Excel PI Function

##### Associated Files Download Links

In this Article

This Excel Tutorial demonstrates how to use the **Excel PI Function** in Excel to return the value of PI, with formula examples.

## Formula Examples:

`Example: 1`

=PI()

Result: 3.14159265358979

## PI Function Description:

The PI Function The value of PI.

## How to use the PI Function in Excel:

To use the PI Excel Worksheet Function, type the following into a cell:

`=PI(`

After entering it in the cell, notice how the PI formula inputs appear below the cell:

You will need to enter these inputs into the function. The function inputs are covered in more detail in the next section. However, if you ever need more help with the function, after typing “=PI(” into a cell, without leaving the cell, use the shortcut **CTRL + A** (**A** for **A**rguments) to open the “Insert Function Dialog Box” for detailed instructions:

## Syntax and Arguments:

The Syntax for the PI Formula is:

`=PI()`

### Function Arguments ( Inputs ):

## Additional Notes

Use the PI Function to return the value of PI. 3.14??

## PI Examples in VBA

You can also use the PI function in VBA. Type:

`application.worksheetfunction.pi()`

For the function arguments (, etc.), you can either enter them directly into the function, or define variables to use instead.

Return to the List of all Functions in Excel

For more information about the PI Formula visit the

Microsoft Website.