Chemistry Guide

How to Type Chemical Formulas & Equations Online

By Scientific Team • April 12, 2026
Chemistry Laboratory

Writing chemical equations (like the combustion of methane) or formulas (like Glucose) in standard word processors is notoriously frustrating. Between manual subscript formatting and hunting for reaction arrows, a simple equation can take minutes.

The Challenge of Chemical Notation

Standard keyboards are designed for literature, not stoichiometry. Chemistry notation requires three specific formatting tools:

Step-by-Step Guide

Using our Chemistry Keyboard, you can type complete reactions in seconds:

Example: Photosynthesis Equation

6CO₂ + 6H₂O + light → C₆H₁₂O₆ + 6O₂
  1. Type 6C on your keyboard.
  2. Click O.
  3. Click the subscript ₂ on our digital pad.
  4. Type + 6H... and so on.

Why Unicode Matters

Unlike Microsoft Word's subscript formatting, which is essentially a visual trick, our keyboard uses Unicode characters. This means when you copy "H₂O", the "₂" actually stays as a small "2" even when pasted into an email, a tweet, or a plain text editor.

How to Type Chemical Formulas in Word, Google Docs, LaTeX and HTML

If you prefer to stay inside your editor, every major tool has its own method. The table below shows how to get the subscript in H₂O and the superscript in Ca²⁺ in each one.

Where you writeSubscript (H₂O)Superscript (Ca²⁺)Reaction arrow
Microsoft WordCtrl+=Ctrl+Shift++Type 2192 then Alt+X for →
Google DocsCtrl+, (⌘+, on Mac)Ctrl+. (⌘+. on Mac)Insert → Special characters, search "arrow"
LaTeX (mhchem)\ce{H2O}\ce{Ca^2+}\ce{->} and \ce{<=>}
HTMLH<sub>2</sub>OCa<sup>2+</sup>&rarr; and &#x21CC;
Anywhere (Unicode)Copy ₂ from the chemistry keyboardCopy ² and ⁺Copy → or ⇌

The first four methods are formatting: the small 2 only exists inside that document and turns back into a normal 2 when you paste the text somewhere else. The Unicode method produces real subscript and superscript characters that survive copy and paste – useful for chat, email, spreadsheets, social media and code comments.

Common Reaction Notation

Element symbols themselves are ordinary letters – a capital followed by an optional lowercase letter, so Co is cobalt but CO is carbon monoxide. See the chemical element symbols list for atomic numbers and weights.

Symbols in this guide

Open any symbol for its Unicode code, HTML entity, LaTeX command and keyboard shortcut.

₂²⁺→⇌₃↑↓Δ·

Related guides

Related Articles