Molecular Weight Calculator
Enter a chemical formula to get its molar mass in g/mol using IUPAC standard atomic weights. The parser handles nested parentheses and brackets, hydrates such as CuSO4·5H2O and a leading coefficient. A breakdown table shows how many atoms of each element there are, their contribution to the total mass and the mass percent composition.
How to use the Molecular Weight Calculator
- Type a formula with correctly capitalised symbols, e.g. Ca(OH)2 or K4[Fe(CN)6].
- Use · or a full stop for hydrates, e.g. CuSO4.5H2O.
- Read the molar mass and the per-element breakdown as you type.
- Copy the result or download the breakdown as CSV.
Features
- Nested ( ), [ ] and { } groups
- Hydrates and leading coefficients
- Mass contribution and mass percent for each element
- Hill formula and mass of a single molecule
- Clear errors for unknown or mis-capitalised symbols
Benefits
- Get molar masses for stoichiometry and solution preparation
- Find percent composition for empirical formula problems
- Live results with no button presses
Frequently asked questions
Is molecular weight the same as molar mass?
Numerically, yes. Molecular weight is a relative mass with no units, while molar mass is the same number in grams per mole.
Which atomic weights are used?
IUPAC abridged standard atomic weights, for example H 1.008, C 12.011 and O 15.999. For elements with no stable isotopes the mass number of the most stable isotope is used and flagged.
Why is my formula rejected?
Symbols are case-sensitive and must start with a capital letter. "co" is not valid; "Co" is cobalt and "CO" is carbon monoxide. Brackets must also be closed.
Related tools
- Chemical Equation Balancer — Balance chemical equations exactly, including brackets, hydrates and ionic charges, with an atom-by-atom check of the result.
- Periodic Table Reaction Predictor — Pick elements or compounds and get a rule-based prediction of common school-level reactions, balanced automatically with an explanation.
- Molarity Calculator — Solve for molarity, moles, mass or volume of a solution from a formula or molar mass, plus a C1V1 = C2V2 dilution solver.
- Percentage Calculator — Work out X% of Y, what percent one number is of another, percentage change, or increase and decrease a value by a percent.
- Loan EMI Calculator — Calculate the monthly EMI for any loan, plus total interest, total payment and a year-by-year repayment breakdown.
- Invoice Generator — Create a professional invoice with your details, line items, discounts, tax and shipping, then download it as a PDF or print it.