Pi Symbol (π): How to Type It in Word & Excel

The pi symbol is π. In Word, type 03C0 and press Alt+X. On a Mac, press Option+P. In Excel or Google Sheets, use the formula =UNICHAR(960). Pi sits outside the standard Windows Alt code table, so these routes beat hunting for an Alt code that does not exist.

Every way to type the pi symbol

MethodInputWorks in
Word / Outlook / OneNoteType 03C0 (hex), then Alt+XWord, Outlook, OneNote
Mac shortcutOption + PMost Mac apps
Excel / Google Sheets=UNICHAR(960)Excel, Google Sheets
Windows, Unicode-aware apps03C0 then Alt+X in Word (decimal, numeric keypad)Word, WordPad; not Notepad or browsers
Windows legacyAlt+0227 (decimal, numeric keypad)US code page only (see note)
Chromebook / LinuxCtrl + Shift + U, then 03c0ChromeOS, Linux text fields
Google DocsInsert → Special characters, search “pi”Google Docs
HTML entityπ, π, or πWeb pages
CSS\03C0Web page content property
LaTeX\piMath typesetting
Unicode code pointU+03C0 (hex)Universal reference

Windows has no leading-zero Alt code for the pi symbol; the two Windows rows above each have limits, covered next.

Type π on Windows

Pi sits at code point 960, past the 255 characters the classic Alt code table covers, so there is no reliable Alt+0xxx form for it. Three routes work instead, and each has a catch.

  • 03C0 then Alt+X in Word in Unicode-aware apps. Turn on Num Lock, hold Alt, type 960 on the numeric keypad, then release. This works in Word and WordPad. It does nothing in Notepad, browsers, or chat boxes. A numeric keypad is required; the top-row number keys will not trigger it.
  • Alt+0227 (legacy). On a US-configured PC this pulls π from the old CP437 table. Machines set to the UK, Ireland, Canada, or Australia default to CP850, where the same code gives a different letter, so it is not portable.
  • Emoji panel. Press Win + . (period), open the Ω symbols tab, and pick π under the Greek letters. No keypad needed.
  • Character Map. Open charmap, choose a Unicode font, type 03C0 in the Go to Unicode box, then click Copy.

If you reach for Greek and math symbols often, our Alt code finder lists the working codes in one place.

Type π on Mac

Press Option + P. Pi appears in Pages, Keynote, Numbers, Mail, Notes, and most text fields. There are no Alt codes on a Mac, so this Option shortcut is the fast route.

If nothing shows, your keyboard layout may not be set to U.S. or ABC. Open the Character Viewer with Control + Command + Space, search “pi” or “greek small letter pi,” and double-click the result.

Type π in Word and PowerPoint

In Word, type 03C0 and press Alt+X. Word turns the hex code into π. The same trick works in Outlook and OneNote, but not in Excel, PowerPoint, or Google Docs.

For PowerPoint, and as a menu alternative in Word, go to Insert → Symbol → More Symbols, set the subset to Greek and Coptic, select π, and click Insert. The identical Insert → Symbol route covers PowerPoint. Inside a Word equation (press Alt + =), typing \pi followed by a space converts to π on its own.

Alt+X reads the characters right before the cursor. If you get the wrong glyph, Word grabbed a digit or letter touching your code. Select exactly the four characters 03C0, or put a space in front of them, then press Alt+X.

Type π in Excel and Google Sheets

Neither program has a pi shortcut, so use a formula. In Excel or Google Sheets, =UNICHAR(960) returns π. To keep it as fixed text in Excel, copy the cell and use Paste Special → Values.

Do not use =CHAR(960): CHAR only reaches 255 and errors out on pi. Keep =PI() separate too, since that returns the number 3. 14159…, not the glyph.

Excel on Windows also has Insert → Symbol (Greek and Coptic → π). Google Sheets has no Insert Symbol menu, so stick with the formula or paste; if you use an OS input method inside a cell, press F2 first to enter edit mode.

Type π in Google Docs

Open Insert → Special characters. Type “pi” in the search box, or draw the shape in the sketch pad, then click π to drop it at the cursor. Docs has no Alt code; this dialog is the native route, and you can also paste π from anywhere.

Type π on iPhone and Android

No default English phone keyboard has a long-press for π, so pick one of two routes.

  1. Add a Greek keyboard. iPhone: Settings → General → Keyboard → Keyboards → Add New Keyboard → Greek, then switch with the globe key. Android: add a Greek layout to Gboard under Settings → System → Languages & input. Pi becomes a regular key.
  2. Paste it. Copy π once from the button near the top of this page and paste it where you need it.

For a shortcut you can reuse, set up a text replacement. The exact steps are in the FAQ below.

Type π on a Chromebook

ChromeOS has no Alt codes, and plugging in a USB numpad will not add them, because the feature is Windows software rather than keypad hardware. Use the Unicode shortcut instead.

  1. Press Ctrl + Shift + U, then release.
  2. Type 03c0, four hex characters with no U+ prefix. An underlined u appears to confirm input mode.
  3. Press Enter or Space to commit π.

You can also open the symbol picker with Launcher + Shift + Space (a dedicated Quick Insert key on newer models) and search “pi.” Some web fields intercept Ctrl+Shift+U; if it fails, paste instead.

Type π in Notion, Slack, Discord, and Canva

None of these apps has a built-in pi shortcut, so pasting π is the reliable answer in all four. Two extras are worth knowing.

  • Notion. Type /inline equation (or press Ctrl/Cmd + Shift + E), then type \pi. Notion renders LaTeX, so it displays π.
  • Slack, Discord, Canva. There is no symbol command, so paste. In Canva, paste into a text box set to a font that includes Greek letters.

On a Mac, add π once under System Settings → Keyboard → Text Replacements, and it will expand in Slack, Discord, Notion, and anywhere else you type.

Pi in HTML and CSS

On the web, the named entity is π. The numeric forms π (decimal) and π (hex) render the same character. In CSS, use the escaped code point, for example content: "\03C0";.

Serve the page as UTF-8 with <meta charset="utf-8"> so a pasted π survives a save. The entities work either way, even if the encoding is off.

Troubleshooting: when π will not show

  • Blank box or question mark. The character is fine; the font lacks a Greek glyph. Switch to Calibri, Arial, Cambria, or Times New Roman, all of which include π. Decorative and icon fonts often do not.
  • Wrong glyph after Alt+X. Word read extra characters before 03C0. Select exactly the four characters, or add a space in front, then press Alt+X.
  • Excel shows a number, not the symbol. You used =PI() (the value 3.14159…) instead of =UNICHAR(960) (the glyph).
  • Nothing happens with 03C0 then Alt+X in Word. The app is not Unicode-aware, or Num Lock is off. Use Word’s Alt+X or paste.
  • Alt+0227 gives the wrong character. Your PC uses a non-US OEM code page, common in the UK, Canada, and Australia. Use a Unicode method for anything you share.

What the pi symbol is used for

π is the ratio of a circle’s circumference to its diameter, roughly 3.14159. You will see it across geometry and trigonometry (area = πr², circumference = 2πr), in physics and engineering formulas, in statistics, and in radian angle measures, where 2π radians equal 360°.

In code and spreadsheets, the value usually comes from a constant like Math.PI or =PI(), while the glyph π is reserved for labels, chart axes, and display text.

Symbols people confuse with pi

Lowercase π is the constant. Capital Pi (Π) is a separate Greek letter, and the wide product operator (∏) means “multiply this sequence” in math. They look related but carry different meanings and different code points, so insert the one you actually need.

Other Greek letters get typed the same way through Insert Symbol and the Option key. If you also work with them, see how to type the Omega symbol (Ω) and how to type the Sigma symbol (Σ). At small sizes the letter n is easy to mistake for π in some fonts, so check the font if a label looks off.

Related guides

Frequently asked questions

Is the pi symbol the same as capital Pi (Π) or the product sign (∏)?

No. Lowercase π (U+03C0) is the mathematical constant near 3. 14159.

Capital Pi (Π) is a different Greek letter, and the wide product operator (∏) means “multiply this sequence. ” They share a look but have separate code points and separate meanings.

Why does 03C0 then Alt+X in Word work in Word but not in every program?

03C0 then Alt+X in Word feeds the decimal code point directly, and only Unicode-aware apps such as Word and WordPad accept codes above 255 this way. Notepad, most browsers, and chat boxes still read the old Alt table that stops at 255, so nothing appears there. Use Word’s 03C0 then Alt+X, or paste, in those places.

Does Alt+0227 always produce the pi symbol?

Only on a US-configured PC. The zero-less Alt+0227 reads from the machine’s OEM code page, and CP437 (the US default) puts π at 227. The UK, Ireland, Canada, and Australia default to CP850, where 227 is a different character, so treat it as unreliable and use a Unicode method for anything you share.

Can I use π in a file name, password, or web address?

It works in file names on modern Windows and macOS, but avoid it when the file crosses to older systems or scripts that expect plain ASCII. Many login forms reject non-ASCII characters, so π is a poor password choice. In URLs it must be percent-encoded, which browsers usually handle, though a raw π pasted into a link can break.

How do I add π to a phone keyboard so I don’t paste it every time?

Set up a text replacement. On iPhone, go to Settings → General → Keyboard → Text Replacement, tap the plus, put π in the Phrase field and something like ;pi in the Shortcut field.

On Android, open Gboard settings → Dictionary → Personal dictionary, add π, and give it a shortcut word. Typing the shortcut then expands to the symbol.

Leave a Comment