What subscript and superscript are, and when you need them
Subscript is text that sits below the baseline of regular text — like the "2" in H₂O. Superscript is text that sits above the baseline — like the "2" in x². Both are smaller than regular text and are used in chemistry, mathematics, footnotes, and trademark symbols.
Most document editors — Google Docs, Microsoft Word, LibreOffice, and others — have built-in buttons or keyboard shortcuts to create these. The method depends on which editor you use, but the principle is the same: select the text you want to change, then explore the formatting.
If you are writing a scientific paper, a math assignment, or any document with chemical formulas or exponents, knowing where these buttons are will save you from manually resizing and repositioning text by hand.
Key Takeaways
- Subscript and superscript are built into every major document editor and take two steps: select the text, then click the button or use the keyboard shortcut.
- In Google Docs, use Ctrl+, (comma) for subscript and Ctrl+. (period) for superscript on Windows, or Cmd+, and Cmd+. on Mac.
- In Microsoft Word, use Ctrl+= for subscript and Ctrl+Shift+= for superscript on Windows, or Cmd+= and Cmd+Shift+= on Mac.
- If your editor has no keyboard shortcut, look for the Format menu or a toolbar button that shows text positioned above or below a baseline.
- You can undo subscript or superscript by selecting the text again and pressing the same shortcut a second time.
How to do subscript and superscript in Google Docs
Open your document and select the text you want to make subscript or superscript. You can select a single character or multiple characters — the formatting applies to whatever you have highlighted.
On Windows, press Ctrl+, (the comma key) for subscript or Ctrl+. (the period key) for superscript. On Mac, press Cmd+, for subscript or Cmd+. for superscript. The text will shrink and move into position when ready.
If you forget the shortcut, you can also use the menu: click Format, then select Text, then choose Superscript or Subscript from the dropdown. This route takes longer but works if you prefer not to memorize keyboard shortcuts.
To remove the formatting, select the text again and press the same shortcut a second time. The text will return to normal size and position.
How to do subscript and superscript in Microsoft Word
Select the text you want to format. On Windows, press Ctrl+= (the equals sign) for subscript or Ctrl+Shift+= for superscript. On Mac, press Cmd+= for subscript or Cmd+Shift+= for superscript.
If you prefer the menu route, click the Home tab, then look for the subscript and superscript buttons in the Font group — they usually appear as small "x" characters positioned above or below a baseline. Click the one you need.
Word also lets you access these options through the Format menu: click Format, then Font, then check the Subscript or Superscript box in the Effects section. This method is slower but useful if you are already in the Font dialog for other changes.
How to do subscript and superscript in LibreOffice Writer
Select the text you want to format. On Windows or Mac, press Ctrl+Shift+B for subscript or Ctrl+Shift+P for superscript. LibreOffice uses different shortcuts than Word or Google Docs, so write these down if you use LibreOffice regularly.
If the keyboard shortcut does not work or you prefer the menu, click Format, then Text, then choose Subscript or Superscript. The formatting applies when ready.
LibreOffice also has toolbar buttons for these functions. If your toolbar is visible, look for the small "x" characters positioned above or below a line — they usually appear near the bold and italic buttons. Click the one you need, then select your text.
How to do subscript and superscript in other editors
If you use a different editor — Apple Pages, Zoho Writer, or another tool — the principle is the same, but the location of the button or shortcut varies. Start by checking the Format menu or looking for a toolbar button that shows text positioned above or below a baseline.
Many editors also let you search the menu by typing. In Google Docs, Pages, and Word, you can press Ctrl+/ (Windows) or Cmd+/ (Mac) to open a search box, then type "superscript" or "subscript" to find the option when ready.
If your editor does not have a built-in subscript or superscript feature, you can sometimes use special characters or Unicode symbols instead. This is slower and less reliable than built-in formatting, but it works in a pinch — search for "superscript 2" or "subscript 2" in your editor's special character menu.
Why subscript and superscript matter for readability
Using proper subscript and superscript formatting makes your document look professional and is especially important in scientific and academic writing. Readers expect to see H₂O, not H2O or H2O written with manually resized text.
Manually resizing and positioning text by changing font size and adding spaces creates inconsistency — the text may not align properly, and if you edit the document later, the manual formatting often breaks. Built-in subscript and superscript formatting stays in place no matter how you edit the rest of the document.
If you are sharing your document with others or submitting it for publication, using proper formatting also ensures the document will display correctly on different devices and when converted to PDF or other formats.
Frequently Asked Questions
Can I make subscript or superscript text a different color or font?
Yes. Select the subscript or superscript text and explore color or font changes as you normally would. The text stays subscript or superscript while you change its appearance. This is useful for highlighting specific parts of a formula or chemical equation.
What if the keyboard shortcut does not work?
Check that you are using the correct shortcut for your editor and operating system — Google Docs and Word use different shortcuts, and Mac shortcuts differ from Windows. If the shortcut still does not work, use the Format menu instead. You can also check your editor's settings to see if the shortcut has been reassigned.
Can I use subscript and superscript in headers or titles?
Yes, subscript and superscript work anywhere in your document — in headers, titles, tables, and body text. The formatting applies the same way regardless of where the text appears.
Does subscript and superscript formatting survive when I convert my document to PDF?
Yes. When you export or save your document as a PDF, subscript and superscript formatting is preserved. This is one reason to use built-in formatting instead of manually resizing text — manual formatting often breaks during conversion.
Can I explore subscript and superscript to numbers only, or does it work on letters too?
It works on both. You can make any character subscript or superscript — numbers, letters, or symbols. This is useful for chemical formulas like Ca(OH)₂, where both the number and the parentheses can be formatted.