Squared Symbol (²)
Tap the ² to copy it, then paste it after a number or letter, as in m² or x². It is a single Unicode character, so it stays raised in a message, a note or a spreadsheet cell. Below are ³ and the other exponents, ready-made units, and how to type ² on every keyboard. Converting a whole word or number? Use the superscript generator.
Advertisement
Exponent Numbers and Symbols to Copy
Tap any character to copy it. Put digits together for a longer exponent, as in 10⁶ or 2¹⁰, and use the signs and brackets for x⁻¹ or e⁽ⁿ⁺¹⁾. Each one is a single character, so it pastes as plain text.
Superscript numbers
Signs and brackets
Exponent letters
¹, ² and ³ are older characters (U+00B9, U+00B2, U+00B3) than ⁰ and ⁴ to ⁹ (U+2070 to U+2079), so in some fonts they sit at a slightly different height. Unicode has no superscript decimal point or slash; for 2.5 or ½ as an exponent, use superscript formatting in a document instead.
Squared and Cubed Examples to Copy
Units and formulas already written with the superscript characters. Copy one as it is, or paste ² after your own number or letter.
Square meters
m²Square centimeters
cm²Square kilometers
km²Square feet
ft²x squared
x²Pythagorean theorem
a² + b² = c²Cubic meters
m³Mass-energy
E = mc²
How to Type the Squared Symbol
The quickest way on any device is to copy ² from the top of this page. To type it yourself, here is the method for each system and app. Windows, Word, Excel and HTML have a code for it. A Mac, an iPhone, Android and a Chromebook have no documented shortcut, so the steps there use a picker, a saved shortcut or a copy from this page.
| Symbol | Unicode | HTML | Windows |
|---|---|---|---|
| ¹ Superscript One | U+00B9 | ¹ | Alt+0185 |
| ² Superscript Two | U+00B2 | ² | Alt+0178 |
| ³ Superscript Three | U+00B3 | ³ | Alt+0179 |
Squared symbol on Windows
Alt+0178- Turn on Num Lock.
- Hold the Alt key and type 0178 on the numeric keypad.
- Let go of Alt and ² appears. For ³, type 0179; for ¹, type 0185.
The numbers come from the Windows-1252 code page that English and Western European Windows use, and the number keys above the letters do not work for them. Alt+253 also gives ² on US and Western European setups. Without a numeric keypad, copy ² from this page, or in Word type 00B2 and press Alt+X.
Squared symbol on Mac
Control+Command+Space- macOS has no keyboard shortcut for ².
- Press Control+Command+Space, or Fn/Globe+E, or choose Edit > Emoji & Symbols, to open the Character Viewer.
- Search for "superscript" and double-click ².
In Word for Mac, Command+Shift+= turns selected text into superscript. In TextEdit, choose Format > Font > Baseline > Superscript. Both are formatting, not the ² character.
Squared symbol on iPhone and iPad
Text Replacement- The iPhone keyboard has no ² key, so copy it from this page first.
- Open Settings > General > Keyboard > Text Replacement and tap the Add button.
- Paste ² as the phrase, type a shortcut such as sq2, and tap Save.
From then on, typing the shortcut offers ² in its place.
Squared symbol on Android
Copy, or hold 2- Android has no standard way to type ²; it depends on your keyboard app.
- In Gboard, tap ?123 and touch and hold the 2 key. If the pop-up offers ², slide to it.
- If your keyboard has no ², copy it from this page.
Google’s Gboard help only says that holding a key shows more characters, not which ones, and other keyboards differ. If you use ² often, save it as a shortcut in your keyboard’s personal dictionary, if it has one.
Squared symbol on Chromebook
Copy from this page- ChromeOS has no documented key or code for ².
- Copy ² from the top of this page and paste it.
- In Google Docs, use Insert > Symbols > Special characters and search for superscript.
Some guides give Ctrl+Shift+U, then b2, then Space. Google does not document it, and whether it works depends on your keyboard settings, so test it before you rely on it.
Squared symbol on Microsoft Word
00B2, then Alt+X- Type 00B2 where you want the symbol.
- Press Alt+X and Word turns the code into ².
- Or go to Insert > Symbol > More Symbols, choose ² and click Insert.
To raise any text instead, select it and press Ctrl+Shift+= (Command+Shift+= on a Mac). That is formatting, so it is lost if you paste the text somewhere plain.
Squared symbol on Google Docs
Ctrl+.- Select the number and press Ctrl+. (Command+. on a Mac) to make it superscript.
- Or go to Insert > Symbols > Special characters, search for superscript and click ².
Ctrl+. is formatting, like Word’s. The special character is the real ², which stays raised when copied out of the document.
Squared symbol on Excel
=UNICHAR(178)- Type ² straight into a cell with Alt+0178, or paste it from this page.
- In a formula, =A1&UNICHAR(178) adds ² after the value in A1 (Excel 2013 and later).
- To show a unit and keep the number usable, use Format Cells > Number > Custom with a format such as 0 "m²".
Superscript formatting (Ctrl+1, then Superscript under Effects) is for text. Microsoft points to equations for numbers and formulas.
Squared symbol on HTML
²- Write ² or ² in the page source to show ².
- For ³ use ³, and for ¹ use ¹.
- For any other exponent, wrap it in a sup element: x<sup>n</sup>.
Squared symbol on LaTeX
$x^2$- In math mode, write x^2. For a longer exponent, use braces: x^{10}.
- In ordinary text, write m\textsuperscript{2}.
x^2 outside math mode stops with a "Missing $ inserted" error.
Where to Use ²
- Areas and units: m², cm², km², ft²
- Exponents in math homework: x², 2¹⁰, a² + b²
- Formulas in a chat or forum post: E = mc²
- Spreadsheet labels and column headers
- Product listings and property ads in square meters
- Footnote and reference markers like ¹ and ²
The ² Character vs Superscript Formatting
There are two ways to get a raised 2. One is the ² character itself, which is a separate letter of its own in Unicode, like é. It stays raised wherever you paste it: a chat, a form, a file name, a spreadsheet cell or a search box.
The other is superscript formatting, which Word, Google Docs and web pages apply to an ordinary 2. It looks the same on the page but disappears when you copy the text into something that only takes plain text. Use the character for anything you will paste, and formatting for long equations in a document, where every digit and letter needs to be raised.
Which Exponents Unicode Has
Every digit has a superscript character, ⁰ to ⁹, along with ⁺, ⁻, ⁼, ⁽ and ⁾, so exponents such as 10⁻⁶ or 2⁽ⁿ⁺¹⁾ can be written out in plain text. Most lowercase letters have one too, apart from q, which is how the superscript generator converts whole words.
What Unicode does not have is a superscript decimal point, comma or slash, so 2.5 or ½ cannot be raised as one exponent. For those, and for anything more complicated than a short power, use an equation editor or LaTeX. For lowered numbers, as in H₂O, use the subscript generator.
Square and Cubic Units
The ² after a unit means the unit is squared: 1 m² is the area of a square one meter on each side, and 1 km² is a million m². The ³ means cubed, as in m³ for volume. Write the symbol straight after the unit with no space (m², not m ²), and leave a space between the number and the unit: 25 m².
Frequently Asked Questions
Quick answers about the squared symbol, its codes, and typing it on each device.
What is the squared symbol?
It is ², the character Unicode calls SUPERSCRIPT TWO (U+00B2); the Unicode chart gives "squared" as its other name. It means "to the power of two", as in x² (x times x), and it marks square units such as m² for square meters.
How do I type the squared symbol on a keyboard?
On Windows, hold Alt and type 0178 on the numeric keypad. In Word, type 00B2 and press Alt+X. A Mac, iPhone or Chromebook has no shortcut for it, so open the Mac Character Viewer (Control+Command+Space) or copy ² from this page.
What is the Alt code for squared?
Alt+0178 gives ² in Windows, because 178 is its number in the Windows-1252 code page. Alt+253 gives ² too on US and Western European setups. Both need the numeric keypad with Num Lock on. For cubed, ³, use Alt+0179.
How do I type ² on an iPhone?
The iPhone keyboard has no ² key. Copy it from this page, or save it as a Text Replacement (Settings > General > Keyboard > Text Replacement) so a shortcut like sq2 turns into ² as you type.
Is x² the same as x^2?
They mean the same thing. x^2 is how you write it where there is no superscript, such as in code, a calculator or a plain email. x² uses the real superscript character, so it reads the way it is printed.
How do I write other exponents, like ⁴ or ⁿ?
Copy them from the exponent list on this page; every digit from ⁰ to ⁹ has its own character, as do ⁺, ⁻ and ⁿ. To convert a whole number or word at once, use the superscript generator.