Chemical Formula Formatter
Turn a plain chemical formula into one with subscript numbers and superscript charges, such as H2O into H₂O or SO4^2- into SO₄²⁻. Arrows in reactions are also converted.
1 Fill in the box
2 Your answer
Your answer shows here as you type.
How to use the Chemical Formula Formatter
- Type a formula such as C6H12O6 or Ca(OH)2.
- Write charges after a caret, such as SO4^2- or Fe^3+, to show them as superscripts.
- Use -> for a reaction arrow. Copy the formatted result from the output box.
Frequently asked questions
Why are numbers in chemical formulas written as subscripts?
A subscript number gives how many atoms of the element before it are in one molecule or formula unit. In H2O, there are two hydrogen atoms and one oxygen atom.
What does a number in front of a formula mean?
A number at the start of a formula is a coefficient in a balanced equation. It applies to the whole formula, so 2H2O means two water molecules, and it stays at normal size.
How are ion charges written?
The charge is written as a superscript after the ion, with the number first and then the sign. Sulfate is SO4 with a 2- charge, written SO₄²⁻.
Will the subscript characters paste into documents?
Yes. The subscript and superscript digits are standard Unicode characters, so they copy into most word processors and web forms, although a few fonts do not include them.
Wrote something with AI? Slop Monkey rewrites it so it sounds like you, and keeps your facts.