Several methods depending on where you’re typing — here’s the right one for each context
Typing exponents — the small raised numbers in expressions like x² or 10³ — works differently depending on whether you need formatted superscript text, Unicode superscript characters, or mathematical notation for code and equations.
The right method depends entirely on where you’re typing and what you need the output for.
Here’s every method organized by context.
The Two Types of Exponent Representation
Formatted superscript — text that’s visually raised above the baseline using the application’s formatting system. The underlying character is still a regular number, just displayed smaller and higher. Works in word processors, email clients, and rich text environments. Doesn’t work in plain text, chat apps, or code.
Unicode superscript characters — actual Unicode characters that look like raised numbers regardless of formatting. Work anywhere text is displayed. Limited to the available Unicode superscript set — not every character has a superscript equivalent.
Mathematical notation — platform-specific syntax for equations, used in LaTeX, coding environments, and spreadsheets. The caret symbol ^ is the most universal exponent operator in programming and spreadsheet contexts.
Microsoft Word
Method 1: Keyboard Shortcut (Fastest)
Select the text you want to make superscript and press Ctrl + Shift + + (Ctrl, Shift, and the plus key simultaneously). The selected text becomes superscript. Press the same combination again to toggle back to normal.
To type in superscript mode without selecting first, press Ctrl + Shift + + before typing, enter the exponent characters, then press it again to return to normal text.
Method 2: Home Tab Button
Go to Home → Font group and click the x² superscript button. Same toggle behavior as the keyboard shortcut.
Method 3: AutoCorrect for Common Exponents
Word automatically converts some common exponent notations. Type ^2 or ^3 and Word may convert it automatically depending on your AutoCorrect settings.
Google Docs
Method 1: Keyboard Shortcut
Press Ctrl + . (Ctrl and the period key) to toggle superscript mode on and off. Select existing text first to convert it, or activate before typing to enter exponent characters directly.
Method 2: Format Menu
Go to Format → Text → Superscript. Same toggle behavior as the shortcut.
Mac — System Wide
Method 1: Character Viewer
Press Control + Command + Space to open the Character Viewer. Search “superscript” to find superscript number characters. Double-click to insert.
Method 2: In Word and Pages
Cmd + Shift + + toggles superscript in Microsoft Word on Mac. In Pages, go to Format → Font → Baseline → Superscript.
HTML and Web Development
Use the <sup> tag for superscript:
html
x<sup>2</sup>
10<sup>3</sup>
E = mc<sup>2</sup>
This renders the enclosed text as superscript in every browser. Semantically correct for exponents, footnote markers, and ordinal indicators.
LaTeX
In LaTeX, the caret symbol creates superscript in math mode:
latex
% Single character exponent
$x^2$
% Multi-character exponent — use curly braces
$x^{n+1}$
$10^{23}$
% Full equation example
$E = mc^2$
```
Single characters after the caret are superscripted directly. For multi-character exponents, wrap in curly braces — `x^10` only superscripts the 1, while `x^{10}` superscripts the full 10.
---
## Spreadsheets: Excel and Google Sheets
**In spreadsheet formulas, the caret ^ is the exponent operator:**
```
=2^10 returns 1024
=A1^3 cubes the value in A1
=POWER(2,10) equivalent to 2^10
The caret doesn’t create visual superscript — it’s a calculation operator. For display purposes in a cell label, use the superscript formatting approach.
For visual superscript in Excel cells:
Double-click the cell to enter edit mode. Select the specific characters you want superscripted. Press Ctrl + 1 to open Format Cells. Go to the Font tab and check Superscript. Click OK.
Programming and Code
The caret ^ is the exponent operator in many languages but not all:
python
# Python — double asterisk for exponent
result = 2 ** 10 # 1024
result = x ** 2 # x squared
# JavaScript — double asterisk (ES2016+)
result = 2 ** 10 # 1024
result = Math.pow(2, 10) # equivalent
# C and C++
#include <math.h>
result = pow(2, 10); # use math library
# Java
result = Math.pow(2, 10);
# Excel formula / Google Sheets
=2^10
# SQL
SELECT POWER(2, 10)
Note: In many programming languages the caret ^ is the bitwise XOR operator, not an exponent. Using ^ for exponentiation in C, Java, or JavaScript produces incorrect results — use ** or the math library function.
Unicode Superscript Characters
For plain text contexts where formatting isn’t available — chat apps, social media, plain text files — Unicode superscript characters display as raised numbers without requiring any formatting.
Superscript digits:
| Normal | Superscript | Unicode |
|---|---|---|
| 0 | ⁰ | U+2070 |
| 1 | ¹ | U+00B9 |
| 2 | ² | U+00B2 |
| 3 | ³ | U+00B3 |
| 4 | ⁴ | U+2074 |
| 5 | ⁵ | U+2075 |
| 6 | ⁶ | U+2076 |
| 7 | ⁷ | U+2077 |
| 8 | ⁸ | U+2078 |
| 9 | ⁹ | U+2079 |
Common superscript letters:
| Normal | Superscript | Unicode |
|---|---|---|
| n | ⁿ | U+207F |
| i | ⁱ | U+2071 |
| + | ⁺ | U+207A |
| – | ⁻ | U+207B |
| = | ⁼ | U+207C |
| ( | ⁽ | U+207D |
| ) | ⁾ | U+207E |
Note: Unicode superscript letters are limited — not every letter has a superscript equivalent. For full superscript alphabet coverage in plain text, you’re limited to the available set.
Typing Unicode Superscripts by Platform
Windows: Hold Alt and type the decimal code on the numpad. For ², Alt + 0178. For ³, Alt + 0179. For ¹, Alt + 0185.
Mac: Press Control + Command + Space for the Character Viewer, search “superscript,” and double-click to insert.
Chromebook and Linux: Press Ctrl + Shift + U, type the hex code (00B2 for ², 00B3 for ³, 207F for ⁿ), and press Enter.
iPhone and iPad: No long-press shortcut for superscripts by default. Set up text replacement in Settings → General → Keyboard → Text Replacement — map ^2 to ², ^3 to ³, and so on.
Android: Gboard symbol search — tap the G logo and type “superscript” to find available superscript characters.
Quick Reference by Context
| Context | Method | Example |
|---|---|---|
| Microsoft Word | Ctrl + Shift + + | x² |
| Google Docs | Ctrl + . | x² |
| HTML | <sup> tag | x<sup>2</sup> |
| LaTeX | Caret in math mode | x2x^2 x2 |
| Excel / Sheets formula | Caret operator | =2^10 |
| Python | Double asterisk | 2**10 |
| JavaScript | Double asterisk | 2**10 |
| Plain text / chat | Unicode superscript | x² (U+00B2) |
| Windows (any app) | Alt + 0178 (numpad) | ² |
| Mac (any app) | Character Viewer | ² |
The Bottom Line
The right exponent method depends on where you’re typing. In Word and Google Docs, the keyboard shortcut toggles superscript formatting instantly. In HTML, <sup> tags handle it semantically.
In LaTeX, the caret in math mode is the standard. In code, use ** or your language’s math library — never ^ in languages where it means bitwise XOR.
For plain text and chat where formatting isn’t available, Unicode superscript characters ² and ³ cover the most common cases — they’re widely supported and display correctly without any formatting.
Exponents in documents use formatting shortcuts. Exponents in code use language operators. Exponents in plain text use Unicode characters. Know which context you’re in and the right method is obvious.
Meet Ry, “TechGuru,” a 36-year-old technology enthusiast with a deep passion for tech innovations. With extensive experience, he specializes in gaming hardware and software, and has expertise in gadgets, custom PCs, and audio.
Besides writing about tech and reviewing new products, he enjoys traveling, hiking, and photography. Committed to keeping up with the latest industry trends, he aims to guide readers in making informed tech decisions.