It’s 11pm and you’re finishing a chemistry lab report. You’ve typed “H2O” for the tenth time tonight, and it still looks wrong sitting next to the properly formatted formulas in your textbook. You know the 2 is supposed to sit lower and smaller, but you can’t remember where that setting lives in Google Docs, and you’re not about to dig through menus at this hour for something this small.
Quick answer: The fastest way to get subscript numbers into a chemical formula, on any app or device, is to convert the formula with a subscript text generator, then paste the ready-made result wherever you need it. Type H2O, get H₂O back, then copy and paste it anywhere. No menus, no shortcuts to memorize, and it works identically in Google Docs, Word, WhatsApp, or a PowerPoint slide.
Why chemistry formulas need real subscript
Writing “H2O” with a regular number 2 isn’t just a style preference. In chemistry, the subscript number tells you how many atoms of an element are in a molecule. H₂O means two hydrogen atoms and one oxygen atom. Written as plain text, H2O reads as a formula to a chemist but doesn’t follow the actual typographic convention used in textbooks, journals, and lab reports, and most instructors will mark it down.
This is also where a related mix-up happens. The subscript tells you what’s inside one molecule, while a number written in front of the formula, like the 2 in 2H₂O, tells you how many separate molecules you have. Mixing these up (writing H₂O₂ when you mean two water molecules, instead of 2H₂O) changes the chemistry entirely. H₂O₂ is hydrogen peroxide, a completely different compound. Getting the subscript right isn’t just about looking correct, it’s about not accidentally writing a different molecule.
For a broader look at what subscript text is and where else it’s used beyond chemistry, the complete guide to subscript text covers that ground in more depth. This post sticks to one thing: getting subscript formulas typed correctly, fast, on whatever device you’re using right now.
The universal fix: a subscript text generator
The most reliable method, and the one that works the same way everywhere, is typing your formula into a subscript generator and copying the result. Type “H2O”, “CO2”, or “C6H12O6”, and the tool converts the numbers into proper Unicode subscript characters instantly. Because these are real Unicode characters and not a font effect, they paste correctly into Google Docs, Word, Notion, WhatsApp, Instagram captions, and PowerPoint without losing formatting.
This matters most on mobile, where there’s no built-in subscript key at all, and in apps like WhatsApp or Slack that don’t support Word-style formatting shortcuts. Copy-paste subscript sidesteps all of that.
Typing subscript in Google Docs
If you’re already working in Google Docs and want native subscript rather than pasted Unicode characters:
- Select the number you want to convert (the “2” in H2O).
- Press Ctrl+, (Windows) or Cmd+, (Mac).
- The selected number drops into subscript formatting.
Or go through the menu: Format > Text > Subscript. This gives you true document-level subscript, which is useful if you’re also using superscript elsewhere in the same document (like ion charges) and want consistent formatting throughout.
Typing subscript in Microsoft Word
Word uses a similar shortcut, though the keys are different from Google Docs. Select the number, then press Ctrl+=. Toggle it again to turn subscript off before continuing to type normal text.
If you’re formatting a long lab report with many formulas, native Word subscript is worth using since it keeps the document’s formatting consistent if you later change fonts or export to PDF. For a single formula dropped into a text message or slide, pasting pre-converted subscript text is faster.
Typing subscript on phone (iOS and Android)
This is where most people get stuck, because phone keyboards don’t have a subscript key at all, not in the default keyboard, not in WhatsApp, not in Notes. There’s no shortcut to memorize because the option simply isn’t there.
The workaround is the same fix as above: open the subscript generator in your phone’s browser, type the formula, copy the converted text, and paste it into whatever app you’re using. It takes about as long as typing the formula once, and it works identically whether you’re texting a study group or writing a caption for a chemistry meme on Instagram.
Typing subscript in PowerPoint or Google Slides
For presentations, the same native shortcuts apply inside text boxes. In PowerPoint, select the number and press Ctrl+=. In Google Slides, select the number and use Format > Text > Subscript from the menu (Slides doesn’t support the Ctrl+, shortcut the way Docs does).
If you’re building slides with many chemical formulas and want them to look consistent without manually formatting each one, pasting pre-converted subscript text from the generator is often quicker than reformatting text box by text box.
Writing subscript in LaTeX and Overleaf
LaTeX handles subscript differently from every app above, because it isn’t a formatting toggle, it’s a syntax you type directly into the source. The underscore character _ tells LaTeX that whatever comes next is a subscript.
For a single character, this is straightforward:
H_2O
This renders as H₂O. The problem starts when your subscript is more than one character long. If you write a formula like calcium phosphate without braces:
Ca_3(PO_4)_2
this actually works fine here since each subscript is a single digit, but the moment a subscript needs more than one character, LaTeX only picks up the first character after the underscore unless you wrap it in curly braces. Compare:
% Wrong: only the "1" becomes subscript, the "0" prints as a normal character
H_10
% Right: braces group the full subscript together
H_{10}
This brace rule is the single most common LaTeX subscript mistake, and it’s worth remembering as a habit: if a subscript is ever more than one character, use braces, even if it works without them in a specific case.
If your subscript needs to contain actual text rather than just numbers, for example labeling a variable as x_solid to mean “x in the solid state,” wrap it in \text{} or \mathrm{} so LaTeX doesn’t try to italicize and space it out like a math variable:
x_{\text{solid}}
Overleaf itself doesn’t change any of this. Overleaf is just a hosted, browser-based LaTeX editor, so every rule above works exactly the same whether you’re compiling locally or in an Overleaf project.
One more thing worth knowing if you’re writing a lot of chemistry in LaTeX specifically: there’s a dedicated package called mhchem built for exactly this, so you don’t have to hand-write subscripts and braces for every formula. With the package loaded, you can write:
\ce{H2O}
and mhchem automatically handles the correct subscript formatting, along with things like reaction arrows and charges, which is worth adopting if chemistry notation is a recurring part of your document rather than a one-off formula.
Understanding subscript vs superscript in chemistry formulas
Subscript and superscript aren’t interchangeable, and chemistry formulas often need both in the same expression to mean something correct. It helps to keep the two roles separate:
- Subscript tells you how many atoms of an element are in the formula. In H₂O, the subscript 2 means two hydrogen atoms.
- Superscript tells you a charge, an oxidation state, or an isotope’s mass number. In Na⁺, the superscript plus sign means the sodium atom has lost an electron and carries a positive charge.
A common point of confusion is a formula like the sulfate ion, SO₄²⁻. Here, the subscript 4 says there are four oxygen atoms, and the superscript 2- says the whole ion carries a 2-negative charge. These aren’t two versions of the same instruction, they’re answering two different questions at once, and a formula that gets one right but drops the other is chemically incomplete.
This also means a subscript generator alone can’t produce a formula like SO₄²⁻, since its entire job is converting numbers into subscript characters, not superscript ones. To get the full correct notation, you need to combine a subscript generator with a superscript generator, and assemble the result yourself. Here’s the actual workflow:
- Type “SO” as normal text, no conversion needed.
- Type “4” into the subscript generator and copy the subscript result (₄).
- Type “2-” into the superscript generator and copy the superscript result (²⁻).
- Combine them in order: SO + ₄ + ²⁻, giving you SO₄²⁻.
Once you’ve done this a couple of times it becomes quick, but it’s not obvious the first time, especially if you only found the subscript tool and assumed it handled the whole formula.
Common mistakes people make writing chemistry formulas
Most formatting errors in chemistry formulas come down to a handful of repeat offenders, regardless of which app or tool you’re using:
- Confusing subscript with the coefficient in front of a formula. Writing H₂O₂ when you mean 2H₂O, as covered above, changes the actual compound. The subscript is part of the formula itself; the coefficient in front is how many molecules of that formula you have.
- Typing a plain number instead of subscript. H2O instead of H₂O is the most basic version of this mistake, and it’s the one this entire post exists to fix.
- Pasting Unicode subscript characters into LaTeX. If you copy a subscript character like ₂ from a generator and paste it directly into a
.texfile, it will not compile the way you expect, because LaTeX wants the syntax_2, not a pre-rendered Unicode glyph. Unicode subscript characters are for apps that display finished text; LaTeX needs its own subscript syntax to render correctly. - Dropping or misplacing charge notation. Writing SO4 2- as plain text, or putting the charge in the wrong position relative to the subscript, loses the actual chemical meaning covered in the section above.
- Misplacing subscript around parentheses in compound formulas. In something like Ca(OH)₂, the subscript 2 applies to everything inside the parentheses, meaning two hydroxide groups, not just the final atom. It’s easy to place the subscript against just the “H” instead of correctly closing it against the parenthesis.
- Autocorrect or autoformat silently reverting subscript later. In Google Docs and Word, editing a sentence that contains subscript text, or pasting new text near it, can sometimes cause the app’s autoformatting to quietly turn the subscript back into regular-sized text without any warning. If a formula that looked correct yesterday looks wrong today and you haven’t touched it directly, this is usually why, and it’s worth a quick recheck of formulas after any nearby edits.
Common chemistry formulas ready to copy
Here are a few frequently used formulas already in subscript form, ready to paste directly into your document:
- Water: H₂O
- Carbon dioxide: CO₂
- Glucose: C₆H₁₂O₆
- Sulfuric acid: H₂SO₄
- Calcium carbonate: CaCO₃
- Ammonia: NH₃
- Sodium bicarbonate: NaHCO₃
For anything not listed here, the subscript generator converts any formula in seconds.
FAQs
Q1. Why does H2O need subscript instead of just typing the number normally?
A1. The subscript indicates the number of atoms of each element in the molecule, which is the standard chemical notation used in textbooks and journals. A plain number 2 doesn’t follow that convention and can read as incorrect formatting in academic work.
Q2. Can I copy and paste subscript chemistry formulas into Word or Google Docs?
A2. Yes. Subscript text from a generator is made of real Unicode characters, so it pastes correctly into both, along with most other apps.
Q3. How do I type subscript on my phone keyboard?
A3. Phone keyboards don’t include a native subscript option. The easiest fix is converting your formula with a subscript generator and pasting the result.
Q4. Is there a keyboard shortcut for subscript in Google Docs?
A4. Yes, select the text and press Ctrl+, on Windows or Cmd+, on Mac.
Q5. Does subscript text copy correctly into WhatsApp or Instagram captions?
A5. Yes. Since it’s Unicode text rather than a formatting effect tied to a specific app, it displays correctly across chat apps and social captions.
Q6. Why do some subscript numbers look different or not show up on certain apps?
A6. Font support for Unicode subscript characters varies slightly between apps and operating systems. In rare cases, an older app or an unusual font might not render every character the same way, though this is uncommon with standard subscript numbers.
Q7. How do I write subscript in LaTeX for chemistry formulas?
A7. Use an underscore followed by the subscript, like H_2O. If the subscript is more than one character long, wrap it in braces, like H_{10}, or LaTeX will only apply the subscript to the first character. For frequent chemistry notation, the mhchem package and its \ce{} command handle this automatically.
Q8. Can I use the subscript generator for formulas that need a charge, like SO₄²⁻?
A8. Not on its own. The subscript generator only converts numbers into subscript, so for a formula that also needs a charge, generate the subscript part and the superscript part separately using the subscript and superscript generators, then combine the results in order.
Conclusion
Getting subscript numbers into a chemistry formula doesn’t need to eat up your evening. Whether you use the native shortcut in Google Docs or Word, write it directly in LaTeX, or paste in pre-converted text on your phone, the goal is the same: formulas that actually follow chemical notation instead of looking like an approximation. For a wider look at how subscript text works, where else it’s used, and how it compares to superscript, check out the complete guide to subscript text.