Greek Small Letter Pi Alt Code and Symbol

The Alt code for Greek Small Letter Pi is 227. Hold Alt, type 227 on the numeric keypad, then release Alt. Greek Small Letter Pi also has the Unicode codepoint U+03C0, so you can type it with Alt+960 on Windows, search for U+03C0 in macOS's Character Viewer, use π in HTML, or \03C0 in CSS. If your keyboard has no numeric keypad, use the Character Viewer, the HTML entity, or copy the character directly — the Alt key method requires a physical numpad. On a US Mac keyboard, press ⌥P for Greek Small Letter Pi; shortcuts can differ on other layouts. HTML also defines the named entity π for Greek Small Letter Pi, but the numeric form π is safer when compatibility is uncertain.

Codes for this symbol

Copy any value by clicking it.
MethodValue
Legacy Alt code
Alt + decimal
Alt + X hex
macOS Option
HTML named entity
HTML decimal
HTML hex
CSS escape
Python escape
JavaScript escape
UTF-8 bytes
Unicode codepoint
Unicode block
Unicode category

How to type greek small letter pi on Windows

  1. Turn Num Lock on so the numeric keypad is active.
  2. Hold the left Alt key.
  3. Type 2 2 7 on the numeric keypad.
  4. Release Alt. The Greek Small Letter Pi character (π) appears.

If your keyboard has no numeric keypad, see how to type symbols without a numpad.

How to type greek small letter pi on macOS

On a US keyboard layout, press ⌥P to insert Greek Small Letter Pi. This shortcut assumes a US layout; other layouts may remap it.

If the shortcut does not work on your layout, open the Character Viewer with ⌃⌘Space, search for "Greek Small Letter Pi" and click the character.

How to use greek small letter pi in code

  • HTML: or , also
  • CSS: content:"\03C0"; ()
  • Python: \u03C0 or chr(0x3C0)
  • JavaScript: \u03C0 or String.fromCodePoint(0x3C0)
  • JSON: "\u03C0"
  • LaTeX: $\pi$ (math mode)

Frequently asked questions

What is the Alt code for Greek Small Letter Pi?

The legacy Alt code for Greek Small Letter Pi is 227. Hold Alt, type 2 2 7 on the numeric keypad, then release Alt.

How do I type π without a numpad?

Use the Windows Character Viewer (Win+.), the macOS Character Viewer (⌃⌘Space), an HTML entity such as π, or copy the character directly from this page.

Why does Alt+960 not work?

Alt+960 only works on a keyboard with a physical numeric keypad. It also requires the application to accept the numeric-keypad input path. Laptops without a numpad need an alternative method.

What is the Unicode for Greek Small Letter Pi?

The Unicode codepoint for Greek Small Letter Pi is U+03C0. You can use this value in HTML as π, in CSS as \03C0, and in Word with Alt+X.

How do I type π on a Mac?

On a US Mac keyboard, press ⌥P. If that does not work on your layout, open ⌃⌘Space and search for U+03C0.