How to Type Superscript and Subscript in Excel
By ExcelReady TeamUpdated 6 min read
The short answer
To type superscript or subscript in Excel, select the characters, press Ctrl+1 (Mac: ⌘1) to open Format Cells, and tick Superscript or Subscript on the Font tab. This works on text, not on numbers or formula results. For a number that must still calculate, use a symbol such as ² in a custom number format.
Key takeaways
- Format Cells (Ctrl+1 or ⌘1) > Font > Superscript or Subscript works in every version of Excel.
- You can raise part of a cell only when the cell holds text; double-click the cell and select the characters first.
- A number formatted as 10² by hand becomes text and stops calculating, so use ^ or POWER for maths.
- Ready-made symbols such as ², ³ and ₂ keep working in formulas and custom number formats.
- In formulas, CHAR(178) gives ² on Windows, and UNICHAR(178) or UNICHAR(8322) work on any platform in Excel 2013 and later.
On this page+
- How to apply superscript or subscript with Format Cells
- Is there a superscript shortcut in Excel?
- Why superscript doesn't work on numbers
- How to type ² and ³ as ready-made symbols
- How to add superscript characters with a formula
- Show units like m² without breaking your numbers
- How to remove superscript and subscript
- Practise it
Superscript and subscript in Excel are small characters set above or below the line, like the 2 in m² or the 2 in H₂O. You add them through Format Cells on the Font tab, and the main catch is that this only works on text, not on numbers you still want to calculate with. This guide shows the menu route, the keyboard route on Windows and Mac, symbol and formula tricks, and the best way to show units like m² without breaking your numbers.
How to apply superscript or subscript with Format Cells#
Format Cells is the standard method and works in every version of Excel, on Windows and Mac. Follow these steps:
- Select the cell. To change only part of it, double-click the cell (or press F2 on Windows) and select just the characters you want to raise or lower.
- Press Ctrl+1 on Windows or ⌘1 on a Mac. You can also right-click and choose Format Cells.
- On the Font tab, under Effects, tick Superscript or Subscript.
- Click OK.
If you selected the whole cell, all of its text moves. If you selected a few characters in edit mode, only those change, and the dialog shows just the Font tab. The more formatting lesson practises Format Cells options like these.
Is there a superscript shortcut in Excel?#
Excel has no one-key default shortcut for superscript or subscript, unlike bold (Ctrl+B) or strikethrough (Ctrl+5). You can still do it from the keyboard.
| Step | Windows | Mac |
|---|---|---|
| Edit the cell to select characters | F2, then Shift+arrow keys | Double-click, then select with Shift+arrows |
| Open Format Cells | Ctrl+1 | ⌘1 |
| Tick Superscript | Alt+E | Tick the box on the Font tab |
| Tick Subscript | Alt+B | Tick the box on the Font tab |
| Confirm | Enter | Return |
In recent Microsoft 365 versions of Excel for Windows, you can also add Superscript and Subscript buttons to the Quick Access Toolbar. Go to File > Options > Quick Access Toolbar, choose All Commands, and add them. Each button then gets an Alt shortcut based on its position, such as Alt+4. If you don't see the commands, your version doesn't have them, and Format Cells still works.
For more time-saving keys, see the formatting shortcuts lesson.
Why superscript doesn't work on numbers#
Excel can format part of a cell only when the cell holds text. A number is a single value, so you can't raise just one of its digits. A formula result is the same: the whole result gets one format.
Say you want to show 10² in a cell. If you type 102, Excel stores the number one hundred and two, and the Superscript box applies to the whole cell or nothing. To format just the 2, you have to store it as text: type '102 (the apostrophe tells Excel to keep it as text), then edit the cell and superscript the last character.
That cell now looks like 10², but Excel sees the text "102". It won't calculate, and it certainly isn't 100. Superscript is only a visual effect. For the maths, use the ^ operator or POWER:
=10^2
=POWER(10,2)Both return 100. Keep the calculation in one cell and, if you need it, the display version in another.
How to type ² and ³ as ready-made symbols#
Some superscript and subscript characters exist as real symbols, so you don't need formatting at all. Common ones are ¹, ², ³ and the subscript digits ₀ to ₉. Because they're ordinary characters, they survive copying, sorting, CSV exports and formulas.
On Windows, hold Alt and type the code on the number pad:
| Character | Alt code | Use |
|---|---|---|
| ¹ | Alt+0185 | Footnote 1 |
| ² | Alt+0178 | m², x² |
| ³ | Alt+0179 | m³, cm³ |
These Alt codes need a number pad. Without one, go to Insert > Symbol, choose the subset Superscripts and Subscripts, and insert the character.
On a Mac, open the Character Viewer with Control+⌘+Space, search for "superscript two" or "subscript two", and double-click the result.
How to add superscript characters with a formula#
Use CHAR or UNICHAR when a formula builds a label, so the small character appears automatically. For example, if B2 holds 4.5 and C2 holds 3:
=ROUND(B2*C2,1)&" m"&CHAR(178)This returns 13.5 m². ROUND keeps one decimal place, & joins the parts, and CHAR(178) is the ² character on Windows.
CHAR uses your system's character set, so on a Mac it can return a different symbol. UNICHAR uses Unicode codes and gives the same result everywhere. It needs Excel 2013 or later:
| Formula | Result |
|---|---|
=UNICHAR(178) | ² |
=UNICHAR(179) | ³ |
="H"&UNICHAR(8322)&"O" | H₂O |
="CO"&UNICHAR(8322) | CO₂ |
The result of these formulas is text, so use them for labels, not for numbers you need to add up.
Show units like m² without breaking your numbers#
A custom number format adds a unit to a number while the cell stays a number. Select the cells, press Ctrl+1 (Mac: ⌘1), choose Custom, and type this into the Type box:
0.0" m²"Type the ² with Alt+0178 or paste it in. Now 13.5 displays as 13.5 m², but the cell still holds 13.5, so SUM and AVERAGE work on it. This is the best option for tables of areas or volumes. The guide to custom number formats explains the codes, and formatting numbers as currency and percent covers the built-in formats.
If you need a full mathematical expression for a report, such as x² + y², Excel for Windows also has Insert > Equation. It creates a floating object rather than a cell value, so treat it like a picture.
How to remove superscript and subscript#
To undo the effect, select the cell or characters, press Ctrl+1 (Mac: ⌘1) and untick the box. To strip every format from a cell, including fonts and colours, use Home > Clear > Clear Formats. The guide to clearing formatting in Excel shows when that's the faster choice.
Symbols like ² are characters, not formatting, so Clear Formats leaves them in place. Delete them like any other character, or remove them in bulk with Find & Replace (Windows: Ctrl+H; Mac: ⌃H).
Practise it#
Formatting is quick once your hands know the keys. Practise Format Cells options in a live spreadsheet, then speed up with the formatting shortcuts lesson: each task checks your work instantly. Try the area label exercise on this page too, which builds m² with a formula.
Try it yourself
This is a live spreadsheet. Type the formula in the green cell and press Enter.
The office is 4.5 m long and 3 m wide. Click D2 and build the label 13.5 m²: multiply B2 by C2, round to 1 decimal place, then join the text " m" and the superscript ² character from CHAR(178).
| A | B | C | D | E | |
|---|---|---|---|---|---|
| 1 | Area label | ||||
| 2 | |||||
| 3 | |||||
| 4 | |||||
| 5 | |||||
| 6 |
Tip: Use & to join three parts: ROUND(B2*C2,1), then " m", then CHAR(178).
Practise this in a lesson
Frequently asked questions
What is the shortcut for superscript in Excel?
Excel has no single default shortcut. On Windows, select the characters, press Ctrl+1, then Alt+E for superscript or Alt+B for subscript, and press Enter. On a Mac, press ⌘1 and tick the box on the Font tab.
How do I write m2 or m3 with a small number in Excel?
Type the ready-made characters ² or ³. On Windows, hold Alt and type 0178 or 0179 on the number pad. In a formula, use CHAR(178) on Windows or UNICHAR(178) anywhere.
Why can't I superscript a number in Excel?
Excel can only format part of a cell when the cell holds text. A number or a formula result is one value, so the Superscript box applies to the whole cell or is not available. Type the number as text with a leading apostrophe if it doesn't need to calculate.
How do I type H2O with a subscript 2 in Excel?
Type H2O, double-click the cell, select only the 2, press Ctrl+1 (Mac: ⌘1) and tick Subscript. Or use a formula: ="H"&UNICHAR(8322)&"O" returns H₂O with a real subscript character.
How do I remove superscript in Excel?
Select the cell or the characters, press Ctrl+1 (Mac: ⌘1) and untick Superscript or Subscript. To remove all formatting at once, use Home > Clear > Clear Formats.