Molecular Weight Calculator
ChemistryCalculate the molecular weight (molar mass) of any compound by entering the number of atoms of each element. Get the result in g/mol with an element-by-element breakdown.
Molecular Weight (g/mol)
What is a Mol. Weight?
The Molecular Weight Calculator computes the molecular weight (molar mass) of a compound from the number of atoms of each element in its chemical formula. Molecular weight — measured in grams per mole (g/mol) — is the sum of the atomic masses of all atoms in one formula unit of the substance. It is the single most-used physical property in quantitative chemistry, required for every calculation that relates the mass of a substance to the number of moles it contains.
To use the calculator, read the subscript numbers in your chemical formula (for example, H₂SO₄ has H = 2, S = 1, O = 4) and enter those counts for each element. The calculator multiplies each count by the standard atomic mass from IUPAC tables, sums all contributions, and returns the molecular weight in g/mol together with an element-by-element breakdown.
The tool currently covers eight elements — H, C, N, O, Na, Cl, Ca, S — which account for the majority of compounds in general, inorganic, and introductory organic chemistry. This includes water (H₂O), NaCl, CaCO₃, H₂SO₄, glucose (C₆H₁₂O₆), urea, ethanol, amino acids such as glycine, and hundreds of other common compounds.
In the Indian school curriculum, molecular weight (called formula mass in NCERT) appears in Class 11 Chemistry Chapter 1 (Some Basic Concepts of Chemistry) and is applied in every subsequent quantitative chemistry topic. It is the required input for the Mole Calculator and the Molarity Calculator, and is typically the first value students need to look up or calculate before solving any stoichiometry or solution problem.
Beyond academics, molecular weight is used by pharmaceutical chemists calculating drug doses, food scientists converting ingredient masses in formulations, and industrial chemists scaling up reactions from lab to production.
How to use this Mol. Weight calculator
- Identify your compound's formula — write out the chemical formula and count the atoms of each element. For H₂SO₄: H = 2, S = 1, O = 4. For CaCl₂: Ca = 1, Cl = 2. For glucose (C₆H₁₂O₆): C = 6, H = 12, O = 6.
- Enter Hydrogen (H) atoms — type the number of hydrogen atoms in the Hydrogen (H) atoms field. Leave at 0 if the compound contains no hydrogen.
- Enter atoms for each element — fill in Carbon (C) atoms, Nitrogen (N) atoms, Oxygen (O) atoms, Sodium (Na) atoms, Chlorine (Cl) atoms, Calcium (Ca) atoms, and Sulfur (S) atoms as applicable. Leave unused elements at 0.
- Read Molecular Weight (g/mol) — the highlighted output shows the total molecular weight. This is the molar mass value to use in all subsequent calculations.
- Check the steps panel — expand the steps to see each element's contribution to the total. Verify that each line looks correct before using the result.
- Use the molecular weight downstream — enter it as the Molar Mass field in the Mole Calculator, Grams to Moles Calculator, or Molarity Calculator to complete your calculation.
Formula & Methodology
Molecular weight formula: > MW = Σ (nᵢ × Aᵢ) Where: - MW = molecular weight (g/mol) - nᵢ = number of atoms of element i in one formula unit - Aᵢ = standard atomic mass of element i (g/mol, from IUPAC 2021 values) Atomic masses used: | Element | Symbol | Atomic Mass (g/mol) | |---|---|---| | Hydrogen | H | 1.008 | | Carbon | C | 12.011 | | Nitrogen | N | 14.007 | | Oxygen | O | 15.999 | | Sodium | Na | 22.990 | | Chlorine | Cl | 35.453 | | Calcium | Ca | 40.078 | | Sulfur | S | 32.06 | Worked example — Sulfuric acid (H₂SO₄): - H: 2 × 1.008 = 2.016 - S: 1 × 32.06 = 32.06 - O: 4 × 15.999 = 63.996 - MW = 2.016 + 32.06 + 63.996 = 98.072 g/mol Worked example — Glucose (C₆H₁₂O₆): - C: 6 × 12.011 = 72.066 - H: 12 × 1.008 = 12.096 - O: 6 × 15.999 = 95.994 - MW = 72.066 + 12.096 + 95.994 = 180.156 g/mol One mole of glucose (180.156 g) dissolved in water to make 1 litre of solution gives a 1 M glucose solution — the standard concentration for a glucose infusion in a clinical setting.
Frequently Asked Questions