Chemical Name Calculator
Look up IUPAC chemical names from molecular formulas. Find compound type, molar mass, and convert between grams, moles, and molecules for common chemical
Chemical Name Calculator
Calculator
Adjust values & calculateEnter your values below. Every result is computed in your browser โ no data is sent to any server.
Formula: Moles = Mass (g) / Molar Mass (g/mol)
Worked example โ NaCl = Sodium Chloride, 0.5 mol
Formula
Moles = Mass (g) / Molar Mass (g/mol)
Enter a molecular formula to find the IUPAC name, compound type, and molar mass. Optionally enter mass in grams to calculate moles and number of molecules using Avogadro constant (6.022 x 10^23).
Worked Examples
Example 1: Identifying Sodium Chloride
Problem:Identify the chemical name, type, and molar mass of NaCl. If you have 29.22 g, how many moles is that?
Solution:Formula: NaCl Name: Sodium Chloride Type: Ionic compound Molar Mass: 58.44 g/mol Moles = 29.22 / 58.44 = 0.5 mol
Result:NaCl = Sodium Chloride, 0.5 mol
Example 2: Working with Sulfuric Acid
Problem:How many molecules are in 49.04 g of H2SO4?
Solution:Molar Mass of H2SO4: 98.079 g/mol Moles = 49.04 / 98.079 = 0.5 mol Molecules = 0.5 x 6.022 x 10^23 = 3.011 x 10^23
Result:3.011 x 10^23 molecules
Frequently Asked Questions
How are ionic compounds named in chemistry?
Ionic compounds are named by stating the cation (positive ion) first, followed by the anion (negative ion). For simple binary ionic compounds, the metal name stays unchanged and the nonmetal gets a -ide suffix. For example, NaCl is sodium chloride. When a metal can form multiple ions, Roman numerals indicate the charge, such as Iron(III) Oxide for Fe2O3. Polyatomic ions retain their special names, like sulfate, nitrate, and carbonate.
What is the naming convention for covalent (molecular) compounds?
Covalent compounds use Greek prefixes to indicate the number of each atom: mono (1), di (2), tri (3), tetra (4), penta (5), hexa (6), and so on. The first element uses a prefix only if there is more than one atom, while the second element always uses a prefix and ends with -ide. For example, CO2 is carbon dioxide (one carbon, two oxygens) and N2O5 is dinitrogen pentoxide. The mono- prefix is typically dropped for the first element.
How do you determine the molar mass of a compound from its formula?
To find the molar mass, add up the atomic masses of all atoms in the chemical formula. Look up each element on the periodic table, multiply its atomic mass by the number of atoms of that element in the formula, then sum all contributions. For example, H2O has 2 hydrogen atoms (2 x 1.008 = 2.016) plus 1 oxygen atom (15.999), giving a molar mass of 18.015 g/mol. This value is essential for converting between grams and moles.
What is the difference between empirical and molecular formulas?
The empirical formula gives the simplest whole-number ratio of atoms in a compound, while the molecular formula shows the actual number of atoms. For example, glucose has an empirical formula of CH2O (ratio 1:2:1) but a molecular formula of C6H12O6 (actual atoms). The molecular formula is always a whole-number multiple of the empirical formula. You can determine the molecular formula if you know both the empirical formula and the molar mass of the compound.
Why does one formula often have more than one accepted name?
Several naming systems remain in parallel use. NaHCO3 is sodium hydrogen carbonate under current IUPAC rules, sodium bicarbonate in older and commercial usage, and baking soda in a kitchen; C2H5OH is ethanol systematically and ethyl alcohol traditionally. The older Latin-derived suffixes also survive alongside Stock notation, so Fe2O3 is met as ferric oxide as well as iron(III) oxide. The systematic name is the one that can be read back into a formula without ambiguity, which is why it is preferred in a laboratory record even where a trivial name is far more familiar.
Why does capitalisation matter when you type a chemical formula?
Element symbols follow the convention Berzelius introduced: a capital first letter, plus a lower-case second letter where one is needed. CO is carbon monoxide, a compound of two elements, while Co is cobalt, a single metal; NO is nitrogen monoxide but No is nobelium. Because the lookup matches the symbol string exactly, entries such as h2o or NACL will not resolve to a compound. Several symbols also come from Latin rather than English names, including Na for natrium, K for kalium and Fe for ferrum.
How are acids named from the anion they contain?
Binary acids, hydrogen plus one other element, take hydro- plus the element stem plus -ic acid, so HCl in aqueous solution is hydrochloric acid. Oxyacids are named from their polyatomic ion instead: an -ate anion produces an -ic acid and an -ite anion produces an -ous acid. Sulfate therefore gives sulfuric acid, H2SO4, phosphate gives phosphoric acid, H3PO4, nitrate gives nitric acid, HNO3, and nitrite gives nitrous acid, HNO2. The hydrogen count matches the charge on the anion.
How do I count atoms in a formula that uses parentheses, such as Ca(NO3)2?
A subscript placed after a closing parenthesis multiplies every atom inside the group. Ca(NO3)2 therefore holds one calcium, two nitrogen and six oxygen atoms, because the nitrate ion NO3- is present twice. Its molar mass is 40.078 + 2 x (14.007 + 3 x 15.999) = 164.09 g/mol. Parentheses appear whenever a polyatomic ion must be repeated to balance charge, as in Mg(OH)2 or Al2(SO4)3, and omitting them changes the composition completely.
How does water of crystallisation in a hydrate change the molar mass?
The water in a hydrate is part of the compound and must be counted. Anhydrous CuSO4 is about 159.61 g/mol, but the blue pentahydrate CuSO4.5H2O adds five waters at 18.015 g/mol each for roughly 249.7 g/mol. Weighing out the hydrate as though it were the anhydrous salt therefore delivers only about 64 percent of the copper sulfate intended. The dot in a hydrate formula denotes a fixed stoichiometric ratio, and gentle heating drives the water off to leave the white anhydrous solid.
What is the difference between molar mass, molecular weight and formula mass?
Relative molecular mass, loosely called molecular weight, is a dimensionless ratio comparing a molecule's mass with one twelfth of a carbon-12 atom. Molar mass carries units of g/mol and is the mass of one mole of the substance. The two are numerically identical, which is why water reads 18.015 either way. Formula mass is the term reserved for ionic compounds such as NaCl, which contain no discrete molecules but a repeating lattice, so the particle count for a salt is strictly formula units rather than molecules.
References
Background & Theory
History
Reviewed for accuracy by Manoj Kumar, Mathematics Educator ยท Editorial policy
Related Calculators
๐งฎProcess Carbon Footprint Calculator
Calculate carbon footprint chemical process with inputs, formulas, and instant results.
๐งฎChemical Oxygen Demand Calculator
Calculate chemical oxygen demand with inputs, formulas, and instant results.
๐งฎChemical Equation Balancer
Balance chemical equations by adjusting coefficients to satisfy the law of conservation of mass.
๐งฎGreen Chemistry Atom Economy Calculator
Calculate green chemistry atom economy with inputs, formulas, and instant results.
๐งฎAbsorbance Calculator (Beer-Lambert Law)
Calculate absorbance with inputs, formulas, and instant results.
๐งฎBeer Lambert Extended Calculator
Calculate beer lambert extended with inputs, formulas, and instant results.
๐งฎBeer Lambert Law Calculator
Calculate beer lambert law with inputs, formulas, and instant results.
๐งฎCalibration Curve Calculator
Calculate calibration curve with inputs, formulas, and instant results.