π
Pi Symbol π
The Greek letter pi, the ratio of a circle's circumference to its diameter (about 3.14159).
How to type π
| Windows Alt code | Alt + 227Hold Alt and type the number on the numeric keypad. |
|---|---|
| Word (Windows) | 03C0 → Alt + XType the code, then press Alt + X. |
| Mac | Option + PU.S. keyboard layout. |
| iPhone / Android | Copy it from this page and paste. Most phone keyboards do not have it. |
π Unicode and HTML codes
| Unicode name | GREEK SMALL LETTER PI |
|---|---|
| Code point | U+03C0 |
| Unicode block | Greek and Coptic |
| HTML entity | π |
| HTML numeric | π |
| CSS | content: "\03C0"; |
| JavaScript | "\u03C0" |
| Python | "\u03C0" · "\N{GREEK SMALL LETTER PI}" |
| UTF-8 bytes | CF 80 |
Related symbols: Greek Letters
FAQ
How do I type π on Windows?
Hold Alt and type 227 on the numeric keypad. In Word you can also type 03C0 and press Alt+X.
How do I type π on a Mac?
Press Option + P on the U.S. keyboard layout.
What is the HTML code for π?
π or π. In CSS use content: "\03C0".
The exact look of a symbol depends on the font and device.