Chemical Name and Formula Calculator

Last updated: June 2026

Use this chemical name and formula calculator to convert common school-level inorganic formulae into names, and names into formulae. It supports simple ionic compounds, transition-metal compounds with Roman numerals, common polyatomic ions, simple covalent compounds, common acids and hydrates.

Key takeaway: Ionic formulae are obtained by balancing positive and negative charges. Covalent names use prefixes such as mono-, di- and tri- to show the number of atoms.
How to use this calculator
  1. Enter either a chemical formula, such as FeCl3, or a chemical name, such as iron(III) chloride.
  2. Select Convert. The calculator automatically decides whether to convert formula to name or name to formula.
  3. Keep “Show step-by-step reasoning” selected to see the naming or charge-balancing method.
  4. Select “Show element counts” to display the number of atoms of each element.
  5. Use the example buttons to test ionic compounds, covalent compounds, acids and hydrates.
Scope: This tool focuses on common inorganic names and formulae used in school chemistry. It is not a full organic IUPAC naming engine.

Chemical Name Calculator

When a formula such as FeCl3 is entered, the calculator identifies the ions and determines the charge on the metal ion.

FeCl3 → iron(III) chloride

Chloride has a charge of −1. Three chloride ions give a total charge of −3, so iron must have a charge of +3. The Roman numeral is therefore III.

Chemical Formula Calculator

When a name such as sodium carbonate is entered, the calculator uses ion charges to construct a neutral formula.

Na+ and CO32− → Na2CO3

Two sodium ions are required to balance one carbonate ion. The smallest whole-number ion ratio is therefore 2:1.

Naming ionic compounds

Ionic compounds are named by writing the cation first and the anion second. Fixed-charge metals do not require Roman numerals.

NaCl → sodium chloride
CaO → calcium oxide

Variable-charge metals require Roman numerals because the same metal can form ions with different charges.

FeCl2 → iron(II) chloride
FeCl3 → iron(III) chloride

Common polyatomic ions

Polyatomic ions contain several covalently bonded atoms but behave as one charged unit when ionic formulae are written.

IonNameCharge
NH4+ammonium+1
OH−hydroxide−1
NO3−nitrate−1
SO42−sulfate−2
CO32−carbonate−2
PO43−phosphate−3

Naming simple covalent compounds

Simple binary covalent compounds use Greek prefixes to show how many atoms of each element are present.

PrefixNumber
mono-1
di-2
tri-3
tetra-4
penta-5
hexa-6
CO2 → carbon dioxide
N2O5 → dinitrogen pentoxide

Naming common acids

Some common acids are recognised directly because their names are normally memorised at school level.

HCl(aq) → hydrochloric acid
HNO3 → nitric acid
H2SO4 → sulfuric acid
H2CO3 → carbonic acid

Naming hydrates

Hydrates contain water of crystallisation. The prefix after the ionic-compound name tells you how many water molecules are present.

CuSO4·5H2O → copper(II) sulfate pentahydrate

Worked examples

Example 1: FeCl3

Three chloride ions contribute a total charge of −3. Iron must therefore be Fe3+, so the compound is iron(III) chloride.

Example 2: Calcium hydroxide

Calcium is Ca2+ and hydroxide is OH−. Two hydroxide ions are needed, so brackets are used around the repeated polyatomic ion.

calcium hydroxide → Ca(OH)2

Common exam traps

Trap 1: Do not use Roman numerals for fixed-charge metals such as sodium, magnesium, aluminium and calcium.
Trap 2: Use brackets when more than one polyatomic ion is required. Calcium hydroxide is Ca(OH)2, not CaOH2.
Trap 3: Do not change the internal formula of a polyatomic ion when balancing charges. Sulfate remains SO42−.
Trap 4: Roman numerals show the charge on the metal ion, not the number of metal atoms.
Trap 5: HCl(aq) is hydrochloric acid, while HCl(g) is hydrogen chloride.

Frequently Asked Questions

What does a chemical name calculator do?

It converts supported chemical formulae into names, such as FeCl3 into iron(III) chloride.

What does a chemical formula calculator do?

It converts supported chemical names into formulae, such as sodium carbonate into Na2CO3.

Does this calculator handle transition metals?

Yes. It supports several common variable-charge metals and can infer the Roman numeral from a valid ionic formula.

Does this calculator handle organic compounds?

It recognises a few common names such as methane and glucose, but it is not a full organic IUPAC naming calculator.

Why is the correct formula important?

Students need the correct formula before calculating molar mass, mole ratios, percentage composition or balanced equations.

Scroll to Top