Molecular Weight Calculator

Molecular weight calculator parses a chemical formula and sums atomic masses to get molar mass in g/mol.

About this calculator

Molecular weight calculator parses a chemical formula and sums atomic masses to get molar mass in g/mol. Enter H2O, CO2, NaCl, H2SO4, or glucose C6H12O6. You see total molecular weight and a per-element breakdown.

CBSE and ICSE chemistry students use molar mass for stoichiometry — converting grams to moles for reaction balancing. Lab technicians prep solutions by calculating grams needed from molarity × volume × MW.

For dilution calculations pair with [[percentage]] concentration tools. Physics students cross-link to [[half-life]] for decay chemistry. Engineering thermodynamics may use [[ideal-gas]] relations with moles derived from MW.

Common uses

  • CBSE Class 11 student finding MW of H2SO4 for mole concept homework
  • Lab prep of 1 M NaCl solution from molecular weight
  • Pharmacy student calculating drug compound molar mass
  • Environmental engineer converting ppm to mg/m³ using MW
  • Quick verification of CO2 molar mass for carbon accounting

Frequently asked questions

What is the molecular weight of water (H2O)?

18.015 g/mol. Two hydrogen atoms (2 × 1.008 = 2.016) plus one oxygen (15.999). Enter H2O to see the full breakdown.

How do I calculate molar mass of NaCl?

Na (22.99) + Cl (35.45) = 58.44 g/mol. Ionic compounds use the formula unit mass — same calculation as covalent molecules.

Does the calculator support parentheses like Ca(OH)2?

Enter expanded form without parentheses: CaOH2 for calcium hydroxide. Full parenthesis parsing may be added later — expand nested groups manually for now.

What is the molecular weight of CO2 for climate calculations?

44.01 g/mol. C (12.011) + 2×O (2 × 15.999). Used to convert grams of carbon emitted to moles and then to CO2 equivalents.