Excel Pi Function

This guide treats “excel pi function” the way busy spreadsheet users actually want it: answer first, then the reasoning. It is written for Excel but calls out every place Google Sheets differs, and the platform toggle at the top switches all shortcuts between Windows and Mac so nothing here assumes the keyboard you are not on.

Exact answer

In Excel: use =PI() — it returns π to 15 significant digits, 3.14159265358979, with no arguments needed.

On this page8

Syntax

=PI()

Arguments

Argumentrequired / optionalDescription
pioptionalPI takes no arguments — the empty brackets are required.

Related functions

POWERSQRTROUND
Annotated stepsExcel
1

Select the result cell and type =PI() including the empty brackets.

2

Combine it with the rest of the geometry, such as =PI()*A2^2 for a circle area.

3

Press Enter.

4

Round the display with ROUND only at the point of presentation, never mid-calculation.

Ctrl+CthenCtrl+Shift+V+Cthen+Ctrl+VPaste values · WindowsMac

Need it as an auditable file?

Ships inside the linked template — formula-driven, unlocked, audit-ready.

View template

What this does

PI returns the mathematical constant π at full spreadsheet precision. Typing 3.14 by hand instead is the classic source of quiet inaccuracy in engineering and geometry sheets, and PI() removes it. It takes no arguments; the empty brackets are part of the syntax. Beyond areas and circumferences, it appears wherever radians are involved — Excel's trigonometric functions expect radians, so converting degrees means multiplying by PI()/180, though RADIANS() states that conversion more directly. The same idea underpins a lot of everyday Excel work, so the few minutes spent getting it right here pay back across every sheet you build afterwards. Treat it as a pattern, not a one-off, and it stops being something you look up and starts being something you reach for. For “excel pi function”, the reliable version is a short checking loop, not just the first command that appears to work. Run it on a deliberately small range first, watch how the affected formula change, and only then apply the same setup to the full sheet. When a formula is involved, keep the inputs labelled beside it, reference cells instead of typing values, and apply number formatting only after the result checks out. That is what makes a calculation you can defend to a CFO or an auditor useful in real work: repeatable, auditable, and not dependent on memory or luck.

A worked example

Area of a circle from a radius in A2: =PI()*A2^2. Circumference from a diameter in B2: =PI()*B2. Converting 45 degrees to radians for a trig function: =45*PI()/180, or equivalently =RADIANS(45). PI() removes hand-typed approximations from geometry sheets, which is the difference between a rounding error and a wrong answer. One habit worth forming early: name the cells that hold your inputs, so the formula reads in plain language instead of a string of cell addresses. A reviewer — or you in three months — can then follow the logic without decoding what B7 and D2 were supposed to mean, which is most of what makes a sheet maintainable.

In Google Sheets

Everything above works in Google Sheets too. Excel and Sheets share the formula syntax used here; only the surrounding menus are arranged differently. That portability is deliberate — learn it once and it follows you between the two tools and across Windows and Mac. The aim was to get you unstuck fast and leave you a little more capable than a copy-paste would. The answer is at the top and the detail above shows why it holds — so the next time a colleague asks, you can answer without reaching for search. Treat “excel pi function” as a small building block rather than a chore. Once the inputs sit in their own cells and the formula reads from them, the same setup answers a dozen related questions with a tweak, and Excel keeps every dependent figure current as the data changes. The tool above is there so you can rehearse and verify before committing anything to a real workbook; the steps and worked example are there so the logic sticks. Get it right once and it stops costing you time — it starts saving it, every time the question comes back around.

Common mistakes

  • Typing 3.14 or 3.1416 instead, which introduces avoidable error in anything downstream.
  • Omitting the brackets; =PI is read as a defined name and returns #NAME?.
  • Feeding degrees straight into SIN, COS or TAN — they expect radians, so convert with RADIANS or × PI()/180 first.

Frequently asked questions

How do I use pi in an Excel formula?

Write =PI() wherever the constant is needed, for example =PI()*A2^2. The brackets are required even though there are no arguments.

How precise is PI()?

It returns π to 15 significant digits, which is the limit of Excel's numeric precision.

How do I convert degrees to radians?

Multiply by PI()/180, or use =RADIANS(degrees), which is clearer.