Skip to content

Add to your Home Screen

  1. Tap the Share button in Safari's toolbar.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add. The generator opens full-screen and works offline.

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: 0 on the sup or sub element 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?

  1. 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.
  2. 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.
  3. 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.
  4. 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.
  5. Font coverage. Less common raised letters can show as empty boxes on older devices. Read more in why fancy text shows boxes.
  6. Not for data. Do not write x² where a program expects a number or formula. Spreadsheets and databases treat it as text.
  7. 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?
On Windows, press Ctrl, Shift and the plus key (Ctrl+Shift+=) to switch superscript on and off. For subscript, Ctrl+= is the long-standing shortcut, though Microsoft's current list names Ctrl+Shift+Minus. On Mac, Microsoft lists Cmd+Shift+Plus for superscript. If a shortcut does nothing, use the Font group on the Home tab.
What is the difference between superscript and a footnote number?
A footnote number is usually written in superscript, but superscript is a general style for raised text, used for exponents, ordinal endings and trademark marks. Footnote references in Word are automatic and stay linked to their notes. Typing a raised digit by hand does not create a footnote, so use the footnote feature.

Where it works

How to type superscript on a Mac?
Mac has no default shortcut for superscript letters. Open the Character Viewer with Control+Cmd+Space, search for superscript and click the character. In Word for Mac, Microsoft lists Cmd+Shift+Plus for superscript. System Settings, Keyboard, Text Replacements lets you save characters you use often as shortcuts.
How to type superscript on Windows without a numeric keypad?
Alt codes need a numeric keypad, so on a laptop without one use the Character Map, the Emoji and symbols panel (Win+period), or copy and paste from a generator. In Word you can still use formatting shortcuts or the Font group. Only a few characters, such as ² and ³, have Alt codes at all.

How it works

How to type superscript in Google Docs, Slides and Sheets?
Select the text and press Ctrl+. (Windows or Chromebook) or Cmd+. (Mac) for superscript; subscript is Ctrl+, or Cmd+, (Google Docs Editors Help, Keyboard shortcuts). You can also use Format, Text. Google Sheets cells do not support partial superscript formatting, so use Unicode characters there instead.
How to type superscript in HTML?
Wrap the text in sup tags for raised text, such as E = mc followed by sup 2, and in sub tags for lowered text, as in H, sub 2, O. Browsers shrink and shift the text by default, and screen readers read it as normal text. Use CSS vertical-align and font-size if you need to adjust the look.
How do I write an exponent in LaTeX?
In math mode, type ^ for a superscript and _ for a subscript, as in $x^2$ and $x_i$. Use braces whenever more than one character is raised: x^{10} raises both digits, but x^10 raises only the 1. In normal text, a dedicated textsuperscript command raises a word ending such as th.

Tips & limits

Can I use superscript in a text message or social media bio?
Formatting is stripped from plain text, so use Unicode superscript characters, which you can copy and paste. Our superscript generator converts text for you. Not every letter exists as a superscript and some apps display a few as empty boxes, so keep important text readable without them.
Why can I not type some letters in superscript or subscript?
Unicode has superscript forms for all 26 lowercase letters, though q is a recent addition that many fonts lack. It has only some capitals, and subscript covers only seventeen letters: a, e, h, i, j, k, l, m, n, o, p, r, s, t, u, v and x. Other letters need real formatting.
How do I add superscript in Excel or a spreadsheet cell?
In Excel, enter edit mode, select the characters, open Format Cells and tick the Superscript or Subscript effect. Google Sheets cannot format part of a cell, so use Unicode characters such as ², or the UNICHAR function, for example =UNICHAR(178). Treat the result as text, not a number or formula.