Home·Special characters

π Special characters

Maths · U+03C0

UnicodeU+03C0 (960)
HTML entityπ
Named entityπ
CSScontent: "\03C0"
JavaScript"\u03C0"
URL encoded%CF%80
UTF-8 size2 bytes
CategoryMaths

Symbols for formulas. Most are not on the keyboard, so people copy them.

How to read this

  • A Unicode code point is a name tag unique to each character. Different fonts, same number — still the same character.
  • In HTML, the numeric form &#number; works everywhere. Named entities like ♥ read nicer but exist only for some characters.
  • In CSS, use a backslash and hexadecimal: content: "\2764".
  • If the character shows as a box, the copy did not fail — that font simply has no glyph for it. Another font will show it.

Frequently asked questions

Q. What is the Unicode code point of π?

U+03C0, which is 960 in decimal. Stored as UTF-8 it takes 2 bytes.

Q. How do I write π in HTML?

Use π and every browser shows the same character. The named form π also works.

Q. How do I use π in CSS or JavaScript?

In CSS, content: "\03C0". In JavaScript, "\u03C0". In a URL it becomes %CF%80.

Q. What kind of character is π?

It belongs to the maths group. The rest of that group is listed further down this page, ready to copy.

Other characters in the same group