HTTA is reader supported. When you buy through links on our site, we may earn an affiliate commission at no extra cost to you. Learn more.

Pi Symbol (π): How to Type It on Any Keyboard (Windows, Mac, Word, Excel, Google Docs + Phone)

The pi symbol looks like this: π.

It’s used in maths and science to represent pi, the famous number that starts like this:

π = 3.1415926535…

Pi is used a lot with circles, especially formulas like:

  • Circumference = 2πr
  • Area = πr²

In this thorough guide, you’ll learn all the reliable ways to type π on Windows, Mac, Microsoft Word, Excel, PowerPoint, Google Docs, and phones — plus the Unicode and HTML codes.


Quick copy (fastest way)

Pi Symbol (π) – Copy, Shortcuts & Codes

Click any button to copy the symbol, shortcut, or code. The “Copied!” tip appears above the button you clicked.

π
Main Symbol
Used in maths to represent pi (π ≈ 3.14159…).

Quick Methods (How to type π)

Pick the method that matches your device or app. You can copy any shortcut below.

Windows Alt Code (numpad)
Alt + 227
Windows Symbol Panel
Win + . → Symbols
Mac (Character Viewer)
Ctrl + Cmd + Space → “pi”
Word “Alt + X”
03C0 + Alt + X → π
Google Docs
Insert → Special characters → “pi”
Phone (Fastest)
Copy π from this widget

Unicode + HTML Codes

Use these if you’re adding π to a website, HTML block, or code editor.

Unicode
U+03C0
HTML Decimal
π
HTML Hex
π
HTML Entity Name
π

Paste:

  • Windows: Ctrl + V
  • Mac: Command + V
  • Phone: tap and hold → Paste

Pi symbol vs “Pi number” (π vs 3.14) — quick clarification

Beginners often ask: “Do I type π or do I type 3.14?”

  • π is the symbol used in formulas and maths writing.
  • 3.14 (or more digits) is the approximation you use when you need a decimal number.

So if you’re writing a formula, you usually type π.
If you’re calculating, you might use 3.14 or a calculator’s π button.


Method 1: Type π on Windows (easy methods)

Option A: Windows symbol panel (quick and beginner-friendly)

This is easy because you can pick symbols from a panel.

  1. Click where you want the symbol.
  2. Press Windows key + . (Win + period)
  3. Go to Symbols
  4. Find π and click it

If you don’t see it there, use Character Map (Method 6) or copy/paste.

Option B: Alt code (works on many Windows PCs)

Alt codes let you hold Alt and type a number on the numeric keypad.

A commonly used Alt code for π is:

  • Alt + 227 (numeric keypad)

Steps:

  1. Turn Num Lock ON
  2. Hold Alt
  3. Type 227 on the numeric keypad
  4. Release Altπ

Beginner note: Alt codes often require a full keyboard with a numpad. If you’re on a laptop, Word Alt+X or copy/paste is usually easier.


Method 2: Type π on Mac (Character Viewer method)

On Mac, the most reliable way is Character Viewer.

  1. Click where you want to insert π
  2. Press Control + Command + Space
  3. Search for pi
  4. Click π to insert it

This works in most apps on macOS.


Method 3: Type π in Microsoft Word using “Alt + X” (best Word method)

Word can convert Unicode codes into symbols. For π, the Unicode is:

03C0

Steps:

  1. In Word, type 03C0
  2. Press Alt + X
  3. It converts into π

Method 4: Insert π in Word (menu method)

  1. Go to InsertSymbolMore Symbols
  2. Find π
  3. Click Insert

Tip: After inserting once, Word usually keeps it in “recent symbols.”


Method 5: Type π in Excel (easy ways)

Option A: Copy and paste (fastest)

Copy π from this page and paste into a cell.

Option B: Insert Symbol

  1. Click the cell
  2. Go to InsertSymbol
  3. Find π
  4. Click Insert

Bonus: Pi in Excel formulas (not the symbol)

If you want the value of pi in a formula, Excel has a built-in function:

  • =PI()

This returns 3.14159265358979…


Method 6: Windows Character Map (reliable backup)

  1. Click Start and search Character Map
  2. Open it
  3. Find π
  4. Click SelectCopy
  5. Paste anywhere

Tip: If you don’t see it, change the font in Character Map (try Segoe UI Symbol).


Method 7: Google Docs (Insert → Special characters)

  1. Click where you want the symbol.
  2. Go to InsertSpecial characters
  3. Search pi
  4. Click π

Method 8: iPhone and Android

Option A: Copy and paste (fastest)

Copy: π
Paste into any app.

Option B: Create a shortcut

If you type π often:

  • iPhone: Settings → General → Keyboard → Text Replacement
    • Shortcut: pi → Phrase: π
  • Android: Add piπ in your keyboard dictionary/shortcuts

Unicode + HTML codes for π (for websites and coding)

  • Symbol: π
  • Unicode: U+03C0
  • HTML decimal: π
  • HTML hex: π
  • HTML entity name: π

Common problems (quick fixes)

“I typed π but got Π”

That’s the capital pi (Π), which is a different symbol sometimes used for products in maths.

  • Lowercase pi: π
  • Uppercase pi: Π

If you need Π, Word Alt+X code is 03A0 then Alt+X.

“Alt code didn’t work”

Usually because:

  • you didn’t use the numeric keypad
  • Num Lock is off
  • your app doesn’t support that Alt code

Fix: Use Word Alt+X (03C0), Character Viewer, Character Map, or copy/paste.


Best method summary (easy to remember)

  • Windows: Win + . → Symbols, or copy/paste π
  • Mac: Ctrl + Cmd + Space → search “pi”
  • Word: 03C0 + Alt + X
  • Excel: copy/paste π, or use =PI() for the value
  • Google Docs: Insert → Special characters → “pi”
  • Phone: copy/paste π (or text replacement)

Related Math Symbols