Squared Symbol ²

Click the symbol to copy the squared sign ². To type it, hold Alt and type 0178 or 253 on a Windows numeric keypad. The cubed sign ³ is Alt + 0179.

Superscript Two · U+00B2

How to type the squared symbol
UnicodeU+00B2 Superscript Two
HTML² or ²
Windows Alt codeAlt + 253 or Alt + 0178 on the numeric keypad
Windows without a keypadPress Windows + . (period) to open the emoji panel, then choose the Symbols tab, and pick ²
MacThere is no direct shortcut. Press Control + Command + Space and search for “superscript two”
Microsoft WordType 2, select it and press Ctrl + Shift + = to make it superscript, or type 00b2 and press alt + x
Google DocsPress Ctrl + . (period) to switch superscript on, type 2, and press it again to switch it off
Excel and Google SheetsIn a formula, write =A1^2 to square a number. To show ² in a label, paste the character
iPhone and iPadIt is not on the keyboard. Copy it here or set up a text replacement
Android (Gboard)On the number keyboard, press and hold the 2 key
ChromebookPress Ctrl + Shift + U, type 00b2, then press Enter
LinuxCompose, then ^, 2
LaTeXx^2 in math mode

Cubed and other raised numbers

What squared means

A number squared is the number multiplied by itself: 5² is 5 × 5 = 25. The small raised 2 is called an exponent or power. The name comes from geometry, because the area of a square with sides of length 5 is 5².

The same raised 2 turns a unit of length into a unit of area: m² is square meters, km² is square kilometers, ft² is square feet. A raised 3 does the same for volume, as in m³ and cm³.

The character or superscript formatting?

There are two ways to get a small raised 2. The character ² is a single piece of text that keeps its shape wherever you paste it: a spreadsheet cell, a file name, a social post, a text message. Superscript formatting, as in Word or Google Docs, raises an ordinary 2, and that formatting is lost when the text is pasted somewhere plain.

Use the character when the text has to travel, and formatting when you are writing a document with many different exponents. Ready-made characters exist for the digits 0 to 9, a few signs and some letters; the Superscript Generator converts any text you type into them.

When the plain-text form is clearer

In code, formulas and calculators, powers are written with a caret: x^2. Spreadsheets use the same form. Programming languages vary: many use ** or a function such as pow(x, 2), and in some the caret means something else entirely. The ² character is for people to read, not for software to calculate with.

More operators are on the Math Symbols page.

Frequently asked questions

What is the Alt code for the squared symbol?

Hold Alt and type 0178 on the numeric keypad. Alt + 253 gives the same character. Num Lock must be on.

What is the Alt code for the cubed symbol?

Alt + 0179 types ³. There is no shorter code for it.

How do I type squared in Word?

Type the 2, select it and press Ctrl + Shift + =, or type 00B2 and press Alt + X to insert the ² character.

How do I type m² for square meters?

Type m and then paste ² from this page, or use Alt + 0178 on Windows. On Android, press and hold the 2 key.

How do I square a number in Excel?

Use the caret: =A1^2 squares the value in A1. =POWER(A1, 2) does the same.