Skip to content

How to Type Subscript and Superscript in Google Docs

3 Ways to quickly type subscript and superscript in Google docs

Quick answer: To format subscript in Google Docs on a computer, select the characters and choose Format → Text → Subscript. For superscript, choose Format → Text → Superscript. The common shortcuts are Ctrl+, and Ctrl+. on Windows/ChromeOS, or Command+, and Command+. on Mac, respectively.

Method 1: Use the Format menu

  • Either place the cursor where you want to start subscript or superscript or select the text that you need as subscript or superscript.
  • Go to Format > Text and click Subscript or Superscript.
Google Docs Format menu showing the Text submenu with Subscript and Superscript options

Method 2: Keyboard Shortcut

For faster formatting, select the text first and use the keyboard shortcut for your operating system. The comma and period keys are literal punctuation keys; they do not mean you should type a comma or period into the document. Press the shortcut again to turn the formatting off.

You can quickly search any Google docs shortcut using Ctrl + / (Windows, Chrome OS) or ⌘ + / (Mac).

OSSubscript Shortcut Superscript Shortcut
Windows PC & Chrome OSCtrl + ,Ctrl + .
Mac⌘ + ,⌘ + .

Method 3: Magic Search

Open the Google Docs command search (Search the menus) using Alt + / (Windows, Chrome OS) or Option + / (Mac). Search and select subscript / superscript (or any desired task say bold, italics, insert page break etc) to apply it. This lets you find commands without navigating through several menus.

Animated demonstration of opening Google Docs command search and selecting a formatting command
All in one shortcut – Google Docs

This command search can help when you forget a menu location. Google Docs and Microsoft Word both provide ways to search for commands, so choose the method that is easiest for your workflow.

Google Docs command search interface used to find formatting options

Summary

These three methods format selected text rather than inserting special Unicode characters:

MethodSubscriptSuperscript
Format TabGo to Format > Text and select Subscript.Go to Format > Text and select Superscript.
Keyboard Shortcut Ctrl + , (Windows & Chrome OS) or ⌘ + , (macOS) Ctrl + . (Windows & Chrome OS) or ⌘ + .(macOS)
Magic SearchAlt + / and then search & select subscript Alt + / and then search & select superscript

Subscript vs. Superscript Examples

Use subscript for chemical formulas such as H₂O and superscript for exponents such as x². Formatting existing characters is different from inserting Unicode subscript or superscript symbols; Unicode supports only a limited set of characters.

How to Turn the Formatting Off

Place the cursor after the formatted text and use the same formatting command again, or select normal text formatting before continuing. If the shortcut is intercepted by the browser or operating system, use Format → Text instead.

Common Problems and Fixes

If only part of a formula changes, select exactly the characters you want to raise or lower. For complex equations with fractions and multiple scripts, consider Google Docs’ Insert → Equation tools rather than manually formatting every character.

Practice exercise: H₂O, CO₂ and x²

In a test document, type H2O, CO2, and x2. Select only the 2 in H2O and CO2 and apply Format > Text > Subscript. Select the 2 in x2 and apply Superscript. The expected appearance is H₂O, CO₂, and x², with the letters on the baseline. Undo if you accidentally format the whole expression.

Mobile and accessibility considerations

In the Google Docs mobile app, open the document for editing, select the character and check the text-formatting menu (often shown as an underlined A). Available subscript and superscript controls can vary by app version. If you cannot find them, edit on a computer. For scientific writing, explain complex notation in nearby text and inspect exported PDF or Word files to confirm scripts remain legible and correctly positioned.

Frequently Asked Questions

How do I type H₂O in Google Docs?

Type H2O, select only the 2, then choose Format > Text > Subscript. This keeps the letters H and O on the baseline while lowering the number.

How do I type x squared?

Type x2, select the 2, then choose Format > Text > Superscript. For a mathematical expression with more complicated notation, use Insert > Equation when appropriate.

Why does the shortcut not work?

Make sure the document is in editing mode and the intended characters are selected. Browser, keyboard-layout, and accessibility shortcuts can conflict. Use the Format > Text menu as a reliable fallback.

For the equivalent steps in Microsoft Word, see our subscript and superscript guide for Word.

Leave a Reply

Your email address will not be published. Required fields are marked *