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:
- Subscripts: For indicating the number of atoms (e.g., H₂O).
- Superscripts: For ionic charges and oxidation states (e.g., Ca²⁺).
- Arrows: For indicating reaction direction (→) and equilibrium (⇌).
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₂
- Type 6C on your keyboard.
- Click O.
- Click the subscript ₂ on our digital pad.
- 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 write | Subscript (H₂O) | Superscript (Ca²⁺) | Reaction arrow |
|---|---|---|---|
| Microsoft Word | Ctrl+= | Ctrl+Shift++ | Type 2192 then Alt+X for → |
| Google Docs | Ctrl+, (⌘+, on Mac) | Ctrl+. (⌘+. on Mac) | Insert → Special characters, search "arrow" |
| LaTeX (mhchem) | \ce{H2O} | \ce{Ca^2+} | \ce{->} and \ce{<=>} |
| HTML | H<sub>2</sub>O | Ca<sup>2+</sup> | → and ⇌ |
| Anywhere (Unicode) | Copy ₂ from the chemistry keyboard | Copy ² 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
- → (U+2192) – a reaction that goes to completion: 2H₂ + O₂ → 2H₂O.
- ⇌ (U+21CC) – a reversible reaction at equilibrium: N₂ + 3H₂ ⇌ 2NH₃.
- ↑ and ↓ – a gas given off and a precipitate formed: CaCO₃ + 2HCl → CaCl₂ + H₂O + CO₂↑.
- (s), (l), (g), (aq) – state symbols for solid, liquid, gas and aqueous solution: NaCl(aq).
- Δ over the arrow – the reaction needs heat; ΔH is the enthalpy change.
- · (U+00B7) – water of crystallisation in hydrates: CuSO₄·5H₂O.
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.