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
- Hold the Alt key and type 0178 or 253 on the numeric keypad, then release Alt. Num Lock must be on, and the number row above the letters will not work.
- In Word and Outlook, type 00B2 and then press Alt + X. The code turns into ².
- On Windows 10 and 11, press the Windows key and the full stop key together to open the emoji panel, then switch to its symbols tab.
Mac
- Press Control + Command + Space to open the Character Viewer, search for "superscript two", and double-click the result.
iPhone and Android
- The squared symbol (superscript two) is not on the standard iPhone or Android keyboard. Copy it from this page and paste it where you need it.
- If you use it often, save it as a text shortcut. On iPhone: Settings, General, Keyboard, Text Replacement. In Gboard: Settings, Dictionary, Personal dictionary.
Linux and Chromebook
- Press Ctrl + Shift + U, type 00b2, then press Enter. This works in most Linux desktop apps and on Chromebooks.
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.