Molecular weight calculator parses a chemical formula and sums atomic masses to get molar mass in g/mol.
What is a molecular weight calculator?
A molecular weight calculator parses a chemical formula and sums atomic masses to get molar mass in grams per mole. Type symbols such as H2O, CO2, or NaCl in standard notation. It lists each element, atom count, and contribution to the total. Chemists use the result for stoichiometry, solution prep, and converting between grams and moles in lab work and exams. The periodic-table masses match what ICSE and CBSE textbooks use for numerical problems.
How to use the Molecular Weight Calculator
- Type the chemical formula in the text field.
- Use capital letters for elements (H, O, Na).
- Add subscript counts directly after symbols (H2O).
- Expand parentheses manually (CaOH2 for Ca(OH)2).
- Read total g/mol and the per-element table.
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.
Formula for molecular weight
MW = Σ (atomic mass × atom count) for each element- MW is molar mass in grams per mole (g/mol)
- Atomic masses come from the standard periodic table
- Subscripts in the formula give atom counts
Molecular weight example: sulfuric acid H2SO4
For CBSE stoichiometry you often need the molar mass of H2SO4. Hydrogen contributes 2 × 1.008 = 2.016 g/mol. Sulfur adds 32.06 g/mol. Each oxygen is 15.999, and four oxygens give 63.996 g/mol. Total MW = 2.016 + 32.06 + 63.996 = 98.072 g/mol.
Enter H2SO4 in the calculator to see the same breakdown rounded to table precision. To prepare 500 mL of 0.1 M solution, moles needed = 0.1 × 0.5 = 0.05 mol. Mass = 0.05 × 98.072 ≈ 4.9 g of acid to weigh on a balance. Always handle concentrated acid with lab safety rules. Glucose C6H12O6 totals about 180.16 g/mol, which is a common viva question when teachers ask you to verify the sum of six carbons, twelve hydrogens, and six oxygens from the table.
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.
Related calculators
- Scientific Calculator
- Ohm's Law Calculator
- Electricity Cost Calculator
- BTU Calculator
- Speed Calculator
- Bandwidth Calculator
- Wind Chill Calculator
- Heat Index Calculator
Maintained by J Jaya Prakash · Last updated: October 2026