Chemical Name Calculator

Convert any chemical formula to its IUPAC name and common name, or look up a formula from a compound's name.

🧪 Chemical Name Calculator
Chemical Formula
Enter formula with correct capitalisation: NaCl, H2SO4, Fe2O3, Ca(OH)2
Compound Name
Try: water, ammonia, baking soda, sulfuric acid, sodium chloride, bleach
IUPAC Name
Common Name
Compound Type
Molar Mass

🧪 What is a Chemical Name Calculator?

A chemical name calculator converts a chemical formula into its IUPAC systematic name and common name, or performs the reverse lookup to find a formula from a compound's name. It is an essential reference tool for chemistry students, lab technicians, educators, and anyone working with chemical compounds in research, industry, or education.

Chemical compounds have two types of names. The IUPAC systematic name is assigned by the International Union of Pure and Applied Chemistry and follows strict, universal rules. It is unambiguous and internationally recognised. The common name (also called a trivial name) is a traditional or historical name established through long usage: NaCl is "sodium chloride" by IUPAC rules, but most people call it "table salt". Both names are widely used and understanding the connection between them is a fundamental chemistry skill.

This calculator covers more than 200 common compounds spanning inorganic acids, salts, metal oxides, hydroxides, carbonates, sulfates, nitrates, and common organic molecules. For binary ionic compounds not in the database, it applies IUPAC rules automatically: it determines the metal oxidation state by charge balance and appends the appropriate Roman numeral for transition metals (iron, copper, chromium, manganese, cobalt, nickel, and others). For binary covalent compounds (two nonmetals), it applies Greek prefix naming: di, tri, tetra, penta, hexa.

The Name to Formula mode accepts both common names and IUPAC names. Typing "water", "oxidane", or "dihydrogen monoxide" all return H2O. Typing "baking soda" returns NaHCO3 (sodium hydrogen carbonate), and "Epsom salt" returns MgSO4 (magnesium sulfate). The molar mass is calculated automatically using IUPAC 2021 standard atomic weights and displayed in g/mol alongside each result.

📐 Naming Rules

Binary Ionic: [metal name] [nonmetal stem]-ide
Fixed-charge metals (Groups 1, 2, Al, Zn, Ag): no Roman numeral needed. NaCl = sodium chloride; CaO = calcium oxide.
Variable-charge metals (Fe, Cu, Cr, Mn, Co, Ni, Pb, Sn, Hg): Roman numeral shows oxidation state. FeO = iron(II) oxide; Fe2O3 = iron(III) oxide.
Oxidation state from charge balance: total positive charge = total negative charge. In Fe2O3: 3 oxygens × -2 = -6 total; 2 irons × +3 = +6. Iron is +3.
Binary Covalent: [prefix][element 1] [prefix][element 2 stem]-ide
Prefixes: 1=mono (omit for first element), 2=di, 3=tri, 4=tetra, 5=penta, 6=hexa, 7=hepta, 8=octa, 9=nona, 10=deca.
Vowel elision: drop the trailing a or o from a prefix when the element stem starts with a vowel. penta + oxide = pentoxide; mono + oxide = monoxide.
Examples: CO = carbon monoxide; CO2 = carbon dioxide; N2O5 = dinitrogen pentoxide; SF6 = sulfur hexafluoride.
Molar Mass: Mr = ∑ ni × Ar(i)
ni = number of atoms of element i in the formula
Ar(i) = standard atomic weight of element i (IUPAC 2021)
Example: H2SO4: Mr = 2(1.008) + 32.065 + 4(15.999) = 98.077 g/mol

📖 How to Use This Calculator

Steps

1
Choose your starting point - Click "Formula to Name" if you have a chemical formula. Click "Name to Formula" if you know the compound name and need the formula.
2
Enter the formula or name - Type the formula using correct IUPAC capitalisation (NaCl, H2SO4, Fe2O3, Ca(OH)2), or type a common name (water, ammonia, bleach, Epsom salt) or IUPAC name (sodium chloride, sulfuric acid).
3
Click Calculate - The calculator returns the IUPAC name, common name, compound type (ionic, covalent, acid, or organic), and the molar mass in g/mol.
4
Use the links or share - Click any "Try this example" link below to pre-fill the inputs. Use the share buttons to copy the result or send via WhatsApp.

💡 Example Calculations

Example 1 - Table Salt (NaCl)

NaCl: sodium chloride, a binary ionic salt

1
Na is sodium, a Group 1 metal with a fixed +1 charge. Cl is chlorine, a nonmetal with -1 charge. Since sodium has a fixed charge, no Roman numeral is needed.
2
Change the nonmetal suffix: chlorine becomes chloride. Molar mass: Na (22.990) + Cl (35.453) = 58.443 g/mol.
IUPAC Name = sodium chloride | Common Name = table salt | Molar Mass = 58.443 g/mol
Try this example →

Example 2 - Carbon Dioxide (CO2)

CO2: carbon dioxide, a binary covalent compound

1
Both carbon (C) and oxygen (O) are nonmetals, so IUPAC covalent naming applies. One carbon atom: "mono" prefix is dropped for the first element, so just "carbon".
2
Two oxygen atoms: prefix "di". Oxygen stem is "ox", add -ide = "oxide". "di" + "oxide" = "dioxide" (no vowel elision since d-i does not end in a or o). Result: carbon dioxide.
3
Molar mass: C (12.011) + 2 × O (15.999) = 12.011 + 31.998 = 44.009 g/mol.
IUPAC Name = carbon dioxide | Molar Mass = 44.009 g/mol
Try this example →

Example 3 - Looking up Water by Name

Name to Formula: "water" returns H2O

1
Switch to the "Name to Formula" tab and type "water". The database matches the common name to H2O.
2
The IUPAC retained name for H2O is "oxidane" (systematic) or "water" (retained). Molar mass: 2(1.008) + 15.999 = 18.015 g/mol.
Formula = H2O | IUPAC Name = oxidane | Common Name = water | Molar Mass = 18.015 g/mol
Try this example →

Example 4 - Iron(III) Oxide (Fe2O3, Rust)

Fe2O3: iron(III) oxide, systematic naming with Roman numeral

1
Iron (Fe) is a transition metal with variable oxidation states. We must determine the charge. Three oxygen atoms each carry -2, giving a total negative charge of -6.
2
Two iron atoms must balance the -6 total, so each Fe carries +3. The Roman numeral III is appended: iron(III). Oxygen becomes oxide.
3
Molar mass: 2(55.845) + 3(15.999) = 111.690 + 47.997 = 159.687 g/mol.
IUPAC Name = iron(III) oxide | Common Name = ferric oxide (rust/hematite) | Molar Mass = 159.687 g/mol
Try this example →

❓ Frequently Asked Questions

How do I find the IUPAC name of a chemical from its formula?+
Enter the formula in the Formula to Name tab. The calculator searches a database of 200+ compounds and, if not found, applies IUPAC binary naming rules: ionic compounds use the metal name plus the nonmetal -ide name (with Roman numeral for variable-charge metals), and covalent compounds use Greek prefixes (di, tri, tetra, penta, hexa) plus -ide. For complex organic compounds, consult a reference like IUPAC PubChem or NIST WebBook.
What is the difference between an IUPAC name and a common name?+
The IUPAC name is the internationally standardised, systematic name following rules set by the International Union of Pure and Applied Chemistry. It is unambiguous: any chemist in any country can derive the formula from the IUPAC name. The common name is a traditional name established through historical usage: "table salt" for NaCl, "Epsom salt" for MgSO4, "baking soda" for NaHCO3. Common names vary by country and language; IUPAC names do not.
How do you name binary ionic compounds using IUPAC rules?+
Step 1: Write the metal name unchanged. Step 2: For fixed-charge metals (Groups 1 and 2, Al, Zn, Ag) no Roman numeral is needed. For transition metals (Fe, Cu, Cr, Mn, Co, Ni, Pb, Hg, Sn) calculate the oxidation state by charge balance and add a Roman numeral in parentheses. Step 3: Change the nonmetal suffix to -ide (chlorine becomes chloride, oxygen becomes oxide, sulfur becomes sulfide, nitrogen becomes nitride). Example: MgCl2 = magnesium chloride; FeCl3 = iron(III) chloride.
How do you name binary covalent compounds with Greek prefixes?+
Use Greek prefixes to indicate atom counts: mono (1, always omitted for the first element), di (2), tri (3), tetra (4), penta (5), hexa (6), hepta (7), octa (8). The second element uses its root stem plus -ide. Drop the trailing vowel of the prefix when the stem starts with a vowel (penta + oxide = pentoxide, mono + oxide = monoxide). Examples: N2O = dinitrogen monoxide; N2O5 = dinitrogen pentoxide; PCl3 = phosphorus trichloride; SF6 = sulfur hexafluoride.
What is the chemical formula for baking soda?+
Baking soda is sodium hydrogen carbonate, formula NaHCO3. It is a white crystalline powder with a molar mass of 84.007 g/mol. When heated (above 50 degrees C) or combined with an acid, it decomposes to release CO2 gas (the leavening action in baking): 2 NaHCO3 + heat produces Na2CO3 + H2O + CO2. It is also used as an antacid (neutralises stomach HCl) and as a mild cleaning agent. Type "baking soda" in the Name to Formula tab to retrieve NaHCO3.
How do you determine the oxidation state of iron in iron compounds?+
Use the charge balance rule: the sum of all oxidation states in a neutral compound must be zero. Oxygen is almost always -2. In FeO: Fe + (-2) = 0, so Fe = +2, giving iron(II) oxide. In Fe2O3: 2(Fe) + 3(-2) = 0, so Fe = +3, giving iron(III) oxide. In Fe3O4 (magnetite), there are two Fe(+3) and one Fe(+2), so the IUPAC name is iron(II,III) oxide. The older naming system used "ferrous" for Fe(+2) and "ferric" for Fe(+3).
What is the chemical name for bleach?+
Common household bleach contains sodium hypochlorite (NaClO) dissolved in water at 3-8% concentration. The IUPAC name is sodium hypochlorite. The hypochlorite ion (ClO-) is the active bleaching and disinfecting agent. It oxidises and breaks down the chromophores (colour-producing molecules) in stains and kills microorganisms by destroying their cell structures. Calcium hypochlorite (Ca(OCl)2, pool chlorine) is a solid alternative used in swimming pools.
What does the molar mass of a compound tell you?+
The molar mass (Mr, in g/mol) is the mass of one mole (6.022 x 10^23 molecules) of the compound. It equals the sum of standard atomic weights of all atoms in the formula. Molar mass is essential for: (1) converting between mass (grams) and moles in stoichiometry, (2) calculating the molarity of a solution (moles = mass / molar mass), (3) determining empirical and molecular formulas. For NaCl: Mr = 22.990 + 35.453 = 58.443 g/mol, meaning 58.443 g of NaCl contains exactly one mole of ions.
What is the IUPAC name for common acids like H2SO4 and HCl?+
For oxyacids (contain oxygen), IUPAC uses the -ic acid/-ous acid system derived from the central element. H2SO4 = sulfuric acid (from sulfate SO4 2-); H2SO3 = sulfurous acid (from sulfite SO3 2-); HNO3 = nitric acid; HNO2 = nitrous acid; H3PO4 = phosphoric acid. For binary acids (H + nonmetal gas dissolved in water): HCl = hydrochloric acid; HBr = hydrobromic acid; HF = hydrofluoric acid; HI = hydroiodic acid; H2S = hydrosulfuric acid. The gas form retains the compound name: HCl gas is hydrogen chloride.
How many compounds are in this chemical name database?+
The database covers more than 200 common chemical compounds: inorganic acids, sodium and potassium salts, calcium, magnesium, aluminium, iron, copper, zinc, silver, lead, mercury, and barium compounds, plus common organic molecules (alkanes, alcohols, aldehydes, ketones, carboxylic acids). For binary ionic and covalent compounds not in the database, IUPAC systematic rules are applied automatically. For complex polyatomic ionic compounds or advanced organic molecules, consult PubChem or the NIST Chemistry WebBook.
What is the difference between sulfate and sulfide?+
Sulfate (SO4 2-, two charges negative) and sulfide (S 2-, one sulfur atom) are completely different anions. Sulfate compounds include sodium sulfate (Na2SO4), magnesium sulfate (MgSO4, Epsom salt), and calcium sulfate (CaSO4, gypsum). Sulfide compounds include sodium sulfide (Na2S), hydrogen sulfide (H2S, rotten-egg smell), and iron(II) sulfide (FeS). In compound names, "sulfate" always contains the SO4 2- polyatomic ion while "sulfide" contains only the S 2- ion. The same -ate/-ide distinction applies to phosphate vs phosphide, nitrate vs nitride, etc.

How do I find the IUPAC name of a chemical compound from its formula?

Enter the formula in the Formula to Name tab. The calculator first searches a database of 200+ common compounds, then applies IUPAC systematic rules for binary ionic compounds (e.g., iron with Roman numerals for oxidation state) and binary covalent compounds (Greek prefixes: mono, di, tri). For complex organics, a reference like IUPAC PubChem is needed.

What is the difference between an IUPAC name and a common name?

The IUPAC name is the systematic, internationally standardised name assigned by the International Union of Pure and Applied Chemistry, such as 'sodium chloride' for NaCl or 'oxidane' for H2O. A common name is a traditional or trivial name: 'table salt' for NaCl and 'water' for H2O. In lab settings and scientific literature, IUPAC names are preferred.

How do you name binary ionic compounds?

For binary ionic compounds (metal plus nonmetal): (1) Write the metal name unchanged. (2) For metals with fixed charge (Na, K, Ca, Mg, Al, Zn), no Roman numeral is needed. (3) For transition metals with variable charge (Fe, Cu, Co, Ni, Cr), calculate the oxidation state from charge balance and add it in Roman numerals: Fe2O3 contains Fe with +3 charge, so it is iron(III) oxide. (4) Change the nonmetal suffix to -ide: oxygen becomes oxide, chlorine becomes chloride.

How do you name binary covalent compounds?

Binary covalent compounds (two nonmetals) use Greek prefixes for atom counts: mono (1, omitted for the first element), di (2), tri (3), tetra (4), penta (5), hexa (6), hepta (7), octa (8). The first element uses its full name; the second uses its stem plus -ide. Examples: CO = carbon monoxide, CO2 = carbon dioxide, N2O5 = dinitrogen pentoxide, SF6 = sulfur hexafluoride. Drop the trailing vowel of the prefix when the stem starts with a vowel: penta + oxide = pentoxide.

What is the IUPAC name for water (H2O)?

The IUPAC systematic name for water (H2O) is 'oxidane'. This is the correct IUPAC PIN (preferred IUPAC name). However, 'water' is so universally established that IUPAC retains it as an acceptable name. In almost all practical and scientific contexts, 'water' is used. The systematic name 'dihydrogen monoxide' (from covalent naming rules) was historically used but is not the preferred IUPAC name.

What are the common names and formulas of everyday chemicals?

Table salt = NaCl (sodium chloride). Baking soda = NaHCO3 (sodium hydrogen carbonate). Bleach = NaClO (sodium hypochlorite). Epsom salt = MgSO4 (magnesium sulfate). Vinegar = CH3COOH (acetic acid). Ammonia = NH3 (azane). Quicklime = CaO (calcium oxide). Slaked lime = Ca(OH)2 (calcium hydroxide). Rust = Fe2O3 (iron(III) oxide).

How do you calculate the molar mass from a chemical formula?

The molar mass (Mr) is the sum of the standard atomic weights of all atoms in the formula: Mr = (number of each element) x (atomic weight). For H2SO4: Mr = 2(1.008) + 32.065 + 4(15.999) = 98.077 g/mol. Use IUPAC 2021 standard atomic weights: H=1.008, C=12.011, N=14.007, O=15.999, Na=22.990, S=32.065, Cl=35.453.

What is the difference between ionic and covalent compounds?

Ionic compounds form when a metal transfers electrons to a nonmetal, creating oppositely charged ions held together by electrostatic attraction. Examples: NaCl, CaCO3, MgSO4. Covalent compounds form when two nonmetals share electrons. Examples: CO2, H2O, NH3. Ionic compounds typically have higher melting points, dissolve in water to give conducting solutions, and name the metal first. Covalent compounds use Greek prefix naming.

What does the Roman numeral mean in an iron compound name?

The Roman numeral in parentheses after a transition metal name shows the metal's oxidation state (charge) in that compound. Iron can be Fe(+2) or Fe(+3). FeO is iron(II) oxide (iron is +2 because one oxygen is -2). Fe2O3 is iron(III) oxide (each Fe is +3 to balance three oxygens at -2 each, total -6, balanced by 2 x +3 = +6). Without the Roman numeral, the compound name would be ambiguous.

How do you name acids from their formulas?

Binary acids (H + nonmetal in aqueous solution): hydro + nonmetal stem + ic acid. HCl = hydrochloric acid, H2S = hydrosulfuric acid. Oxyacids (H + polyatomic ion with oxygen): the name depends on the -ate or -ite ion. H2SO4 = sulfuric acid (from sulfate SO4 2-), H2SO3 = sulfurous acid (from sulfite SO3 2-), HNO3 = nitric acid (from nitrate), HNO2 = nitrous acid (from nitrite), H3PO4 = phosphoric acid.

What is the chemical name for common household chemicals?

Hydrogen peroxide (H2O2): used as an antiseptic and bleaching agent. Sodium hypochlorite (NaClO): active ingredient in liquid bleach. Calcium carbonate (CaCO3): chalk, limestone, antacid tablets. Magnesium hydroxide (Mg(OH)2): milk of magnesia laxative. Aluminum oxide (Al2O3): found in sapphires and rubies. Carbon dioxide (CO2): fire extinguisher gas and carbonation in soft drinks. Acetic acid (CH3COOH): active component of vinegar.

What is the IUPAC name for ammonia (NH3)?

The IUPAC systematic name for ammonia is 'azane'. As a gas, NH3 is azane; as an aqueous solution it is ammonium hydroxide (NH4OH). The name 'ammonia' is the retained common name accepted by IUPAC for all practical purposes. Azane is used mainly in systematic nomenclature for naming organic nitrogen compounds as derivatives of NH3 (e.g., methylamine = methanamine).