²

Superscript Two (Squared) Symbol (²)

Copy the Superscript Two (Squared) symbol ² to your clipboard, and see its Unicode code point, HTML entity, LaTeX command and how to type it on any device.

What does ² mean?

Superscript two means “squared”: x², m² (square metres) and E = mc². Its official Unicode name is SUPERSCRIPT TWO.

Codes and properties

Character²
Unicode nameSUPERSCRIPT TWO
Code pointU+00B2
Decimal178
Unicode blockLatin-1 Supplement
HTML entity² · ² · ²
CSS\00B2
JavaScript / JSON\u00B2
Python\u00B2 or \N{SUPERSCRIPT TWO}
UTF-8 bytesC2 B2
LaTeX^2

How to type ²

  • Copy & paste: press the Copy button above, then paste ² anywhere — Word, Google Docs, email, chat or code.
  • Windows (Word, WordPad, Outlook): type 00B2 then press Alt+X. In any app, Win+. opens the symbol panel.
  • Windows Alt code: hold Alt and type 0178 (or 253) on the numeric keypad (Num Lock on), then release Alt. Works in Word, Notepad and most desktop apps.
  • Mac (any symbol): switch to the Unicode Hex Input keyboard, hold Option and type 00B2; or press Ctrl+Cmd+Space and search “superscript two”.
  • Linux (GTK/IBus): press Ctrl+Shift+U, type 00b2, then Space.
  • HTML: ² renders as ².
  • LaTeX: ^2 in math mode.

Frequently asked questions

How do I type ² on Windows?

In Microsoft Word type 00B2 and press Alt+X. In any app press Win+. to open the symbol panel, or copy ² from this page. You can also hold Alt and type 0178 on the numeric keypad.

How do I type ² on a Mac?

Open the Character Viewer with Ctrl+Cmd+Space and search “superscript two”, or switch to Unicode Hex Input and hold Option while typing 00B2.

What is the HTML code for ²?

Use ² or ² (hex) or ² (decimal).

What is the LaTeX command for ²?

Use ^2 in math mode.

Related symbols

Reference: Unicode code chart: Latin-1 Supplement (U+0080–U+00FF)