Chemical Name Calculator
Convert chemical formulas to IUPAC names, calculate molar mass, and analyze compound composition. Supports ionic, covalent, and acid nomenclature.
| Element | Symbol | Count | Mass Contribution | Mass % |
|---|
About
Incorrect chemical nomenclature causes misidentification of reagents, failed experiments, and safety hazards. A formula like Fe2O3 must resolve to iron(III) oxide, not iron oxide. This tool implements IUPAC 2005 Recommendations for inorganic nomenclature: Stock notation for transition metals, compositional naming with Greek prefixes for covalent compounds, and systematic acid naming. It parses formulas with nested parentheses, assigns oxidation states using electronegativity rules, and computes molar mass from IUPAC 2021 standard atomic weights. Limitation: organic compounds beyond simple functional groups require a full IUPAC organic parser not covered here.
The parser handles formulas like Ca(OH)2 or K4[Fe(CN)6] by tokenizing element symbols, counts, and group delimiters recursively. Molar mass M is computed as M = ∑ ni ⋅ Ar,i where ni is the atom count and Ar,i is the standard atomic weight. Pro tip: always verify oxidation states for transition metals. MnO2 and Mn2O7 are very different compounds with very different hazard profiles.
Formulas
The molar mass of any compound is computed by summing the contribution of each element:
where M = molar mass in g/mol, ni = number of atoms of element i, Ar,i = standard atomic weight of element i, and k = number of distinct elements.
For ionic compounds with a transition metal, the oxidation state of the metal is determined by balancing total charge to zero. Given a compound MaXb where X has known charge qX:
where qM = oxidation state of the metal, a = count of metal atoms, b = count of anion groups, qX = charge of the anion.
Covalent binary compound naming uses Greek prefixes: 1 → mono, 2 → di, 3 → tri, 4 → tetra, and so on. The prefix "mono" is omitted for the first element. Acid naming follows: binary acids use the pattern hydro- + root + -ic acid. Oxyacids with −ate anions become −ic acid; −ite anions become −ous acid.
Reference Data
| Formula | IUPAC Name | Common Name | Type | Molar Mass (g/mol) |
|---|---|---|---|---|
| NaCl | Sodium chloride | Table salt | Ionic | 58.44 |
| H2O | Dihydrogen monoxide | Water | Covalent | 18.015 |
| CaCO3 | Calcium carbonate | Limestone | Ionic | 100.09 |
| Fe2O3 | Iron(III) oxide | Rust / Hematite | Ionic | 159.69 |
| H2SO4 | Sulfuric acid | Oil of vitriol | Acid | 98.079 |
| NH3 | Ammonia | Ammonia | Covalent | 17.031 |
| CO2 | Carbon dioxide | Carbonic acid gas | Covalent | 44.01 |
| NaOH | Sodium hydroxide | Caustic soda / Lye | Ionic | 39.997 |
| HCl | Hydrochloric acid | Muriatic acid | Acid | 36.461 |
| KMnO4 | Potassium permanganate | Condy's crystals | Ionic | 158.034 |
| Ca(OH)2 | Calcium hydroxide | Slaked lime | Ionic | 74.093 |
| CH4 | Methane | Natural gas | Covalent | 16.043 |
| Al2O3 | Aluminium oxide | Alumina / Corundum | Ionic | 101.96 |
| MgSO4 | Magnesium sulfate | Epsom salt | Ionic | 120.37 |
| HNO3 | Nitric acid | Aqua fortis | Acid | 63.012 |
| Cu2O | Copper(I) oxide | Cuprous oxide | Ionic | 143.09 |
| CuO | Copper(II) oxide | Cupric oxide | Ionic | 79.545 |
| N2O5 | Dinitrogen pentoxide | - | Covalent | 108.01 |
| Na2CO3 | Sodium carbonate | Washing soda | Ionic | 105.99 |
| AgNO3 | Silver nitrate | Lunar caustic | Ionic | 169.87 |
| H3PO4 | Phosphoric acid | Orthophosphoric acid | Acid | 97.994 |
| SO3 | Sulfur trioxide | - | Covalent | 80.06 |
| PbO2 | Lead(IV) oxide | Lead dioxide | Ionic | 239.20 |
| K2Cr2O7 | Potassium dichromate | - | Ionic | 294.19 |
| BaSO4 | Barium sulfate | Barite | Ionic | 233.38 |