How to Type Superscript and Subscript
How to type superscript: use formatting, which changes how letters are drawn, or Unicode characters, which are separate symbols. Shortcuts for Word, Docs, Mac and Windows, HTML and LaTeX syntax for raising and lowering text, and the limits of Unicode.
By Maya Chen, lettering designer and type educator · Checked by Jordan Hale · · Published · How we review content
Key facts
- Word for Windows toggles superscript with Ctrl+Shift+Plus, and Google Docs uses Ctrl+. for superscript and Ctrl+, for subscript.
- Formatting raises ordinary letters and is lost in plain text; Unicode superscript characters are separate symbols that survive copy and paste.
- Unicode subscript has only 17 Latin letters, so there is no subscript b, c, d, f, g, q, w, y or z.
- In HTML, the sup and sub tags raise and lower text and are read as normal text by screen readers.
- In LaTeX math mode, use ^ and _ with braces when more than one character is raised, as in x^{10}.
Raised and lowered text appears in maths (x²), chemistry (H₂O), footnotes, ordinals (1st) and trademarks (™). How you create it depends on where you are typing. In a word processor or web page you apply formatting. In a chat box, a social bio or a file name you can usually only paste special characters. The two are different things, and mixing them up is the cause of most problems.
What is the difference between formatting and Unicode superscript?
| Formatting (real superscript) | Unicode superscript characters | |
|---|---|---|
| What it is | Ordinary letters shown smaller and raised | Separate symbols that look raised |
| Where it works | Word, Docs, web pages, LaTeX, slides | Anywhere that accepts text: chat, bios, usernames, spreadsheets |
| Survives copy to plain text | No, it becomes normal text | Yes, it stays as symbols |
| Letters supported | Any | Limited set |
| Screen readers | Read as normal text | May be read as odd names or skipped |
| Search and spell check | Work normally | Often do not match normal text |
Use formatting when you can. Use Unicode when the destination ignores formatting.
How to type superscript in Microsoft Word
Keyboard shortcuts for superscript and subscript
| Action | Windows | Mac |
|---|---|---|
| Superscript on/off | Ctrl+Shift+= (Plus) | Cmd+Shift+= (Plus) |
| Subscript on/off | Ctrl+= (Microsoft’s list: Ctrl+Shift+Minus) | Cmd+Shift+Minus |
In Windows Word, the shortcut for superscript uses the plus sign, so you hold Shift and press the equals key. These come from Microsoft’s Word keyboard-shortcut list (support.microsoft.com, keyboard shortcuts in Word). The subscript shortcut differs between that list and long-standing usage, so if one fails, try the other or use the ribbon. Other Office apps may differ, and if your keyboard layout puts the equals key somewhere unusual a shortcut may fail.
Ribbon and Font dialog
Ribbon: select the text, then on the Home tab, in the Font group, click the x² or x₂ button.
Font dialog: press Ctrl+D (Windows) or Cmd+D (Mac) and tick Superscript or Subscript.
Tips for Word
- Type the text first, then select and format it. Pressing the shortcut before typing works as a toggle. Press it again to return to normal.
- Word automatically raises ordinals (typing “1st” turns the “st” into raised text) with an AutoFormat option. If you do not want this, turn off “Ordinals (1st) with superscript” under AutoCorrect Options.
- To insert footnotes properly, use References, then Insert Footnote, not manual superscripts.
- For equations, Insert, then Equation (Alt+=) gives you proper mathematical layout for exponents and indexes.
How do I type superscript in Google Docs and Slides?
| Action | Windows / Chromebook | Mac |
|---|---|---|
| Superscript | Ctrl+. | Cmd+. |
| Subscript | Ctrl+, | Cmd+, |
From the menu, choose Format, Text, Superscript or Subscript. In Slides, the same shortcuts apply.
In Google Sheets, you cannot make part of a cell superscript with formatting. Use Unicode characters (²), the CHAR and UNICHAR functions (for example =UNICHAR(178) for ²), or a separate cell for a label. For Excel, select characters in the cell (in edit mode), open Format Cells, and tick the Superscript or Subscript effect.
How do I type superscript characters on Windows and Mac?
For a few characters, a keyboard shortcut types the real Unicode symbol anywhere.
Windows Alt codes
Hold Alt and type the number on the numeric keypad:
| Character | Alt code | Name |
|---|---|---|
| ² | Alt+0178 | Superscript two |
| ³ | Alt+0179 | Superscript three |
| ¹ | Alt+0185 | Superscript one |
| ™ | Alt+0153 | Trade mark sign |
| ª | Alt+0170 | Feminine ordinal indicator |
| º | Alt+0186 | Masculine ordinal indicator |
On laptops without a numeric keypad, use the Character Map, the Emoji and symbols panel (Win+period), or a copy and paste source.
Mac Character Viewer
There are no default shortcuts for superscript letters. Open the Character Viewer with Control+Cmd+Space (or the Fn/Globe key, depending on settings), search for “superscript”, and click the character. You can also create text replacements in System Settings, Keyboard, Text Replacements.
Phones
iOS and Android keyboards typically offer a few of these characters, such as ² and ³, by long-pressing digits, with settings varying by keyboard. For a full set, paste from a generator.
How do I write superscript in HTML?
Use the semantic tags:
E = mc<sup>2</sup>
H<sub>2</sub>O
1<sup>st</sup> place
<sup> and <sub> raise and lower text, reduce its size by default and are read as normal text by screen readers. A few notes:
- Browsers apply a default style, but you can tune it with CSS (
vertical-align,font-size). - Raised text can disturb line height. Setting
line-height: 0on thesuporsubelement is a common fix. - Avoid using
<sup>just for style, such as to shrink a word. It signals meaning to assistive technology. - Markdown has no standard syntax for it. Many flavours allow raw HTML
<sup>, and some support^text^and~text~, but check your own platform.
How do I write superscript in LaTeX?
In math mode, use ^ for superscript and _ for subscript:
$x^2$ $x_i$ $x_i^2$ $x^{10}$ $\mathrm{H}_2\mathrm{O}$
Use braces whenever more than one character is raised: x^{10} raises both digits, but x^10 raises only the 1. In normal text, use \textsuperscript{th} for a raised ending and \textsubscript{2} for a lowered one. For chemical formulas, the mhchem package lets you type \ce{H2O} and handles subscripts and charges automatically.
Which Unicode superscript and subscript characters exist?
Unicode does include dedicated raised and lowered characters, spread across a few blocks (Superscripts and Subscripts at U+2070 to U+209F, Latin-1 Supplement for ¹ ² ³, and Phonetic Extensions for the raised letters). We checked the following against the Unicode character database:
| Set | Characters |
|---|---|
| Superscript digits | ⁰ ¹ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ |
| Superscript signs | ⁺ ⁻ ⁼ ⁽ ⁾ |
| Subscript digits | ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ |
| Subscript signs | ₊ ₋ ₌ ₍ ₎ |
| Superscript letters | ᵃ ᵇ ᶜ ᵈ ᵉ ᶠ ᵍ ʰ ⁱ ʲ ᵏ ˡ ᵐ ⁿ ᵒ ᵖ ʳ ˢ ᵗ ᵘ ᵛ ʷ ˣ ʸ ᶻ |
| Subscript letters | ₐ ₑ ₕ ᵢ ⱼ ₖ ₗ ₘ ₙ ₒ ₚ ᵣ ₛ ₜ ᵤ ᵥ ₓ |
What are the limits of Unicode superscript and subscript?
- Gaps. Subscript has only 17 Latin letters, so there is no subscript b, c, d, f, g, q, w, y or z. Superscript lowercase q (𐞥, U+107A5) was added to Unicode only recently, so many fonts show it as a box. Superscript capitals exist for most letters but not all, so a full-sentence conversion is impossible without gaps.
- Origin. Many of these symbols were created for phonetics (the superscript h in aspirated sounds, for example), not for general typesetting, so their size and alignment can look uneven next to regular text.
- Screen readers. They may announce each character by its long Unicode name, such as “superscript four” or “modifier letter small b”, or skip it. Do not use them for information a reader must have.
- Search and copy. A word written in modifier letters does not match a search for the plain word. This matters for names, usernames and emails.
- Font coverage. Less common raised letters can show as empty boxes on older devices. Read more in why fancy text shows boxes.
- Not for data. Do not write
x²where a program expects a number or formula. Spreadsheets and databases treat it as text. - Ordinal indicators are not superscripts. The characters ª and º are for Spanish and Portuguese ordinals and look similar but have different meaning. Do not use them for English ordinals.
If you need a quick conversion of a sentence, our superscript generator and subscript generator do it and tell you which letters had no matching character. For the engineering behind it, see how fancy text works. If you want tiny capital letters instead, the small caps generator covers that style.
Which method should I use?
| Situation | Use |
|---|---|
| Report, essay or CV in Word or Docs | Formatting (shortcut) |
| Footnote or endnote | Footnote tool |
| Chemical formula, exponent in a document | Formatting, or the equation editor |
| Web page | <sup> and <sub> |
| Scientific paper | LaTeX math mode |
| Social bio, chat message, username | Unicode characters, short text only |
| Spreadsheet cell | Unicode character or UNICHAR |
| Anything accessibility-critical | Formatting or plain text, not Unicode |
A good habit: write text with real formatting where you can, and use Unicode raised characters as a decorative option where the platform strips formatting. If a message has to be understood by everyone, write it in plain characters (“x squared”, “H2O”) instead. See our guide on fancy text and accessibility for how assistive technology treats these characters. Whichever route you pick, how to type superscript comes down to one question: does the place you are typing keep formatting?
Frequently asked questions
Basics
What is the keyboard shortcut for superscript in Word?
What is the difference between superscript and a footnote number?
Where it works
How to type superscript on a Mac?
How to type superscript on Windows without a numeric keypad?
How it works
How to type superscript in Google Docs, Slides and Sheets?
How to type superscript in HTML?
How do I write an exponent in LaTeX?
Tips & limits
Can I use superscript in a text message or social media bio?
Why can I not type some letters in superscript or subscript?
How do I add superscript in Excel or a spreadsheet cell?
Related
- Superscript GeneratorThis superscript generator turns letters, digits and signs into tiny raised Unicode characters, such as x² and 10⁻³. Type the part to raise, tap Copy and paste it into a bio, chat, note or document with no toolbar.
- Subscript GeneratorThis subscript generator turns digits and a few letters into tiny lowered Unicode characters, such as H₂O and CO₂. Type the part to lower, tap Copy and paste it into a chat, bio, spreadsheet cell or plain-text email.
- Small Caps GeneratorThis small caps generator turns your words into Unicode small capital letters, such as ꜱᴍᴀʟʟ ᴄᴀᴘꜱ, with a note on the Q and X gaps. Type your text, tap Copy and paste it into a bio, nickname or caption.
- How Fancy Text Works (and Why It Isn't Really a Font)How do fancy fonts work? They are not fonts: copy-paste styles are separate Unicode characters, mostly made for mathematics, phonetics and East Asian typesetting. The style travels with the text, but missing letters and fallback fonts change the look.
- Why Fancy Text Shows Boxes, Question Marks or Nothing at AllWhy do fancy fonts show boxes? The device showing the text has no font for that character, so it draws a placeholder; the text is not broken. Learn the symptoms, the riskiest styles, how app filtering differs, and how to test before posting.
- Fancy Text and Screen Readers: What Happens and What to DoAre fancy fonts accessible? Mostly not: styled Unicode letters are separate characters, so screen readers may read long character names or skip them. Wide text and native formatting fare best; upside-down, glitch and look-alike styles fare worst.