How to Type the Pi Symbol π on Any Device

Igor R.

July 16, 2026

Short answer: On a Mac, press Option + P. On Windows, hold Alt and type 227 on the numeric keypad. In Word, type 03C0 and press Alt + X. On a phone, copy π from the tool below.

Tap to copy pi and Greek letters

The pi symbol (π) is the mathematical constant for the ratio of a circle’s circumference to its diameter — about 3.14159. It turns up in geometry, trigonometry, physics and engineering, but it isn’t on any standard keyboard. This is part of the Greek symbols hub; here’s the quickest way to type it everywhere, plus how to tell it apart from its capital and the product operator it’s often confused with.

Quick reference

WhereMethod
MacOption + P
Windows (keypad)Hold Alt, type 227
Windows (no numpad)Win + . → Symbols tab → search pi
Word03C0 then Alt + X
iPhoneAdd the Greek keyboard, π is on the P key
Android (Gboard)?123=< → tap π
Chromebook / LinuxCtrl + Shift + U, type 03c0, Enter
HTML&pi; or &#960;
UnicodeU+03C0

Mac

Press Option + P. It’s one of the most memorable symbol shortcuts on macOS — P for pi — and it works in every app: Pages, Word, Notes, Safari, Messages, Google Docs.

If Option + P gives you something else (or nothing), your active input source isn’t a compatible layout. Click the input-source icon in the menu bar and switch to ABC, US or British; Option + P then produces π. One catch: if you use Unicode Hex Input as your source, that layout intercepts the Option key for hex entry, so Option + P won’t behave normally there.

Pi symbol shortcuts — Option+P on Mac, Alt+227 on Windows

Windows

With a numeric keypad: turn on Num Lock, hold Alt, and type 227 on the keypad. This is the legacy code-page value for π and it works almost everywhere, including Word, Excel and browsers. For the capital Π, use Alt + 928.

There’s also Alt + 960 (the Unicode decimal value), but it only works in fully Unicode-aware apps and can fail in older software — so 227 is the more reliable everyday choice.

Without a numeric keypad (most laptops): press Win + . to open the emoji and symbols panel, click the symbols tab (the Ω icon), and find π under Greek letters — or just type pi in the panel’s search box. That’s the same panel behind the Windows emoji shortcut.

iPhone and Android

There’s no π on the default phone keyboards, so pick one of these:

  • iPhone — add the Greek keyboard. Go to Settings → General → Keyboard → Keyboards → Add New Keyboard → Greek. Switch to it with the globe key and π sits on the P key. Best if you type Greek letters often.
  • Android (Gboard). Tap ?123, then =< for the extended symbols, and tap π. On some Gboard versions, long-pressing P on the main layout also reveals π.
  • Either phone — copy it. For one-off use, copy π from the tool above. For repeat use, save a text replacement (iPhone: Settings → General → Keyboard → Text Replacement; Android: Settings → Dictionary → Personal dictionary) so a trigger like pisym expands to π.

Word, Google Docs and equations

Microsoft Word: type 03C0 and immediately press Alt + X — Word converts it to π (use 03A0 for Π). The Alt + 227 keypad code works here too. Or go Insert → Symbol → More Symbols and choose the Greek and Coptic subset. For formulas, press Alt + = to open an equation field and type \pi followed by a space.

Google Docs: go to Insert → Special characters and search pi (or greek small letter pi). The equation toolbar also accepts \pi.

Chromebook / Linux: press Ctrl + Shift + U, type 03c0, then Enter.

HTML / web: use the named entity &pi; or the numeric entity &#960; (capital: &Pi; / &#928;). In CSS use content:"\03C0"; in JavaScript use "\u03C0". The Unicode code point is U+03C0.

π vs Π vs ∏ — don’t mix them up

These look related but mean different things:

  • π (U+03C0) — lowercase pi, the constant ≈ 3.14159. This is what almost everyone wants.
  • Π (U+03A0) — capital Pi, used for product notation (the multiplication equivalent of the summation sign Σ).
  • (U+220F) — the n-ary product operator, a taller math symbol used in formal notation. It’s a different character from the capital letter Π, even though they look alike.

If a formula needs “the product of,” reach for ∏ or Π depending on your style guide — not the lowercase constant.

Troubleshooting

ProblemFix
Option + P gives the wrong characterInput source isn’t ABC/US/British — switch it in the menu bar. Unicode Hex Input also blocks it.
Alt + 227 does nothingNum Lock is off, or you used the top-row numbers. Use the numeric keypad. See why Alt codes don’t work.
Alt + 960 fails but 227 worksThe app isn’t fully Unicode-aware. Stick with 227.
π shows as a box ▯The font lacks the glyph. Switch to a common font (Arial, Times New Roman, Segoe UI). More: symbol showing as a box.
Need it in a formulaUse Word/Docs equation mode and type \pi, or see LaTeX math symbols.

Frequently asked questions

How do you type the pi symbol on Windows?

Turn on Num Lock, hold Alt, and type 227 on the numeric keypad, then release Alt. This works in Word, Excel, browsers and most apps. In Word you can also type 03C0 and press Alt + X.

How do you type pi on a Mac?

Press Option + P. It works in every app as long as your keyboard input source is ABC, US or British. If it produces the wrong character, switch your input source in the menu bar.

What is the difference between π, Π and ∏?

π (U+03C0) is lowercase pi, the constant about 3.14159. Π (U+03A0) is capital Pi, used for product notation. ∏ (U+220F) is the n-ary product operator, a separate math symbol that looks like the capital letter but is used in formal notation.

Is there a pi symbol on the phone keyboard?

Not on the default layout. On iPhone, add the Greek keyboard in Settings and π appears on the P key. On Android’s Gboard, tap ?123 then =< and select π. On either phone you can also copy π or save a text replacement.

Why doesn’t Option + P give me π on my Mac?

Your active input source isn’t a compatible layout — switch it to ABC, US or British in the menu bar. If you use Unicode Hex Input as your source, it intercepts the Option key, so Option + P won’t work there.

What are the Unicode code point and HTML entity for pi?

The pi symbol is U+03C0 (decimal 960). In HTML, use the named entity π or the numeric entity π. The capital Pi is Π (U+03A0).

Recap

  • Mac → Option + P (the fastest of all).
  • Windows → Alt + 227 on the keypad; Word: 03C0 then Alt + X.
  • Phone → add the Greek keyboard, or copy it.
  • Equations → type \pi.

Written by Igor R.. Tested on Windows 11, macOS, iOS, Android, ChromeOS, Word and Google Docs. Last updated July 2026. Symbol code points follow the Unicode Standard.

Leave a Comment