Home › Symbols › Squared ²

Squared symbol ²

Copy the squared symbol ² and cubed ³ in one click, type them with Alt codes and shortcuts, and copy any power from ⁰ to ⁹ for exponents like x² and 10⁶.

⧉ One-click copy⌨️ Alt 0178 / Alt 253³ Cubed: Alt 0179ⁿ All powers ⁰–⁹
²
Superscript two (squared)
U+00B2
Alt code: 253 · 0178
³
Superscript three (cubed)
U+00B3
Alt code: 0179
¹
Superscript one
U+00B9
Alt code: 0185
ⁿ
Superscript n
U+207F

How to type Squared ²

Pick your device.

CharHow to type it
²Hold Alt and type 0178 (or 253) on the number pad.
³Hold Alt and type 0179.
¹Hold Alt and type 0185.
No number pad? Copy the symbol above.
CharHow to type it
²Type 2, select it and press Ctrl + Shift + = to make it superscript.
²Type 00B2, then press Alt + X.
Ctrl + Shift + = turns any selected text into superscript — handy for x¹⁰ or 2ⁿ.
CharHow to type it
²Press Ctrl + Cmd + Space, search “superscript two”.
In Pages and Word for Mac, Cmd + Ctrl + = toggles superscript.
CharHow to type it
²On Gboard, press and hold 2 and choose ².
³Press and hold 3 and choose ³.
The iPhone keyboard has no superscripts — copy them from this page.
CharHow to type it
²Press Ctrl + Shift + U, type b2, then press Space.
³Press Ctrl + Shift + U, type b3, then press Space.

Squared, cubed and other powers

Exponents you can copy.

The squared symbol ² is a small raised 2 that means “to the power of two”: 5² = 25. The cubed symbol ³ means to the power of three, and other small raised numbers are called superscripts or exponents. They are also used in units such as m² (square metres) and cm³ (cubic centimetres).

Copy any power symbol

Ready to copy

Only ¹ ² ³ have short Alt codes. The others (⁴–⁹, ⁿ) are best copied from here.

Squared ² codes for web and code

Copy the exact code for HTML, CSS or JavaScript.

² Superscript two (squared)

UnicodeU+00B2
HTML entity²
HTML code²
CSS\00B2
JavaScript\u00B2

³ Superscript three (cubed)

UnicodeU+00B3
HTML entity³
HTML code³
CSS\00B3
JavaScript\u00B3

¹ Superscript one

UnicodeU+00B9
HTML entity¹
HTML code¹
CSS\00B9
JavaScript\u00B9

ⁿ Superscript n

UnicodeU+207F
HTML entityⁿ
HTML codeⁿ
CSS\207F
JavaScript\u207F

Frequently asked questions

Squared, cubed and power symbols.

What is the Alt code for squared?

Hold Alt and type 0178 on the number pad for ². Alt + 253 also works in many programs.

What is the Alt code for cubed?

Hold Alt and type 0179 for ³.

How do I type a power symbol like x⁴?

Copy ⁴ from the power list on this page. In Word, type x4, select the 4 and press Ctrl + Shift + = to make it superscript.

How do I write square metres?

Write m² — copy it from the “Ready to copy” list above, or type m and then Alt + 0178.

What is the HTML code for squared?

Use ² or ² for ², and ³ or ³ for ³.

Related symbols

More characters you can copy in one click.

Copied!