U+03C0
Piπ
Pi is a monochrome text character from the Unicode Greek and Coptic block, listed here under Math and Greek Letters. Copy it with one click, or use the hex, octal, decimal and HTML entity codes below to embed it in web pages, code, and documents. It is often searched for as "3.14", "circle".
Quick facts
- Unicode
- U+03C0
- Decimal
- 960
- Hex
- 0x03C0
- Octal
- 0o1700
Unicode identity
| Format | Value | Copy |
|---|---|---|
| Code pointOfficial Unicode notation | U+03C0 | |
| Official nameUnicodeData.txt, Unicode 18.0.0 | GREEK SMALL LETTER PI | |
| DecimalBase 10 | 960 | |
| HexadecimalBase 16 | 0x03C0 | |
| OctalBase 8 | 0o1700 | |
| BinaryBase 2 | 0000001111000000 | |
| General categoryLetter, lowercase | Ll | |
| Unicode blockU+0370–U+03FF | Greek and Coptic | |
| Plane | Basic Multilingual Plane (BMP, Plane 0) |
HTML & CSS
| Format | Value | Copy |
|---|---|---|
| HTML entity (decimal) | π | |
| HTML entity (hex) | π | |
| HTML entity (named) | π | |
| CSS content escapeUse inside content: "…" | \03C0 | |
| URL encodedPercent-encoded UTF-8 | %CF%80 |
Programming languages
| Format | Value | Copy |
|---|---|---|
| JavaScript / TypeScript | \u03C0 | |
| JSONUTF-16 surrogate pairs | \u03C0 | |
| Python | \u03C0 | |
| Java / C# / Kotlin | \u03C0 |
Byte encodings
| Format | Value | Copy |
|---|---|---|
| UTF-82 bytes | CF 80 | |
| UTF-16 (BE) | 03C0 | |
| UTF-32 (BE) | 000003C0 |
How to type Pi
Windows
Hold Alt and type +3C0 with the hex numeric keypad option enabled, or type 3C0 then press Alt+X in Word and most Office apps.
macOS
Enable the Unicode Hex Input keyboard, hold Option, and type 03C0. Or open Character Viewer (Control+Command+Space) and search "Pi".
Linux
Press Ctrl+Shift+U, type 3c0, then press Space or Enter in GTK apps. IBus and most terminals support the same sequence.
HTML, CSS & code
Paste the character directly, or use the escapes above: π in HTML, \03C0 in CSS, and \u03C0 in JavaScript.
Official Unicode reference
- Character name
- GREEK SMALL LETTER PI
- Block
- Greek and Coptic (U+0370–U+03FF)
- General category
- Ll — Letter, lowercase
Data from the Unicode Character Database, version 18.0.0. See the official code chart for the Greek and Coptic block: U0370.pdf (PDF, unicode.org).
Frequently asked questions
How do I copy the Pi symbol?
Click the Copy button at the top of this page, or select π and press Ctrl+C (Cmd+C on Mac). It is plain Unicode text, so it pastes into documents, chats, code, and design tools.
What is the Unicode code point for Pi?
Pi is U+03C0 (decimal 960, hexadecimal 0x03C0, octal 0o1700). It lives in the Greek and Coptic block (U+0370–U+03FF) of the Basic Multilingual Plane (BMP, Plane 0).
What is the official Unicode name of Pi?
The Unicode Standard (version 18.0.0) names this character "GREEK SMALL LETTER PI". Its General_Category is Ll (Letter, lowercase).
What is the HTML code for Pi?
Use π or π, or the named entity π. In CSS, use content: "\03C0".
How do I type Pi in code?
JavaScript: "\u03C0". Python: "\u03C0". JSON and Java: "\u03C0". The UTF-8 byte sequence is CF 80.
Is Pi an emoji?
No. Pi is a text symbol and renders as a monochrome glyph in the current font. Some platforms may offer an emoji variant when U+FE0F is appended.