Skip to content
Simple But How

Squared symbol (superscript two)

²

Unicode
U+00B2
Alt code
Alt + 0178
HTML
²

When to use it

Superscript two, for squares and square units: m², x². In a document, real superscript formatting is better for anything beyond 2 and 3.

How to type ²

Windows

Mac

iPhone and Android

Linux and Chromebook

Codes for ²

Unicode U+00B2
HTML name ²
HTML decimal ²
HTML hex ²
CSS \00B2 (for the content property)
JavaScript \u00B2
URL encoding %C2%B2
UTF-8 bytes C2 B2
Windows Alt code Alt + 0178 or Alt + 253

Unicode details

The official Unicode name of this character is Superscript two. Its code point is U+00B2 (decimal 178) and it belongs to the Latin-1 Supplement block.

More fractions, superscripts and subscripts

See all 50 fractions, superscripts and subscripts