UtilityToolsLab

© 2026 UtilityToolsLab. Built and maintained by the UtilityToolsLab Team.

About·Changelog·Privacy Policy·Terms of Service·Contact
HomeChemistryMolar Mass Calculator

Related Tools

Equation Balancer

Molar Mass Calculator — g/mol & Mass %

Type a chemical formula such as Ca(OH)2 or CuSO4·5H2O to get its molar mass in g/mol, each element's mass percent, and grams-to-moles conversions.

You Might Also Like

All Chemistry

Equation Balancer

Balance any chemical equation in one step, including ionic and redox equations, with an atom-by-atom check and a mass check. Exact maths, no guessing.

Hash Rate Converter

Convert hash rate exactly between H/s, MH/s, GH/s, TH/s, PH/s and EH/s, then see miner efficiency in J/TH and solo mining odds from the difficulty.

Temperature

Convert Celsius to Fahrenheit, Kelvin, Rankine or Delisle instantly as you type, with common reference points like freezing, body heat and boiling.

Sci Notation

Convert 0.000345 to 3.45 × 10⁻⁴ and back. Scientific, E, engineering and standard notation, with significant figures and SI prefixes, many at once.

Every stoichiometry problem starts by turning a formula into grams per mole. Type the formula here and the Molar Mass Calculator adds up the atomic weights, breaks the total into each element’s share, and converts a mass you have into moles and particles.

It reads formulas as chemists write them. Three kinds of bracket can nest, a hydrate can follow a dot, and subscripts pasted from a document (H₂O) are understood. It also gives the Hill formula, which is the order a chemical database would index the compound under.

Worked Example: 25 Grams of Glucose

The tool opens on C6H12O6 with 25 g in the mass box. The result:

  • Molar mass: 180.156 g/mol, from 6 × 12.011 + 12 × 1.008 + 6 × 15.999
  • Mass percent: carbon 40.00%, hydrogen 6.71%, oxygen 53.28%
  • Amount: 25 ÷ 180.156 = 0.138769 mol
  • Particles: 8.3568 × 10²² molecules

Flip I have to moles and the same box takes an amount instead, returning grams. The next sample is CuSO4·5H2O at 0.05 mol, which comes to 249.677 g/mol and 12.484 g.

The amount box reads thousands commas, so 1,000 g of NaCl is 17.1116 mol. A comma used as a decimal point is refused rather than guessed, because 2,5 could otherwise become 25 g and a mole count ten times too high: it shows “Use a dot for decimals: 2.5, not 2,5. Commas only work as thousands separators, as in 1,000.”

Input Format: Brackets, Hydrates and Charges

  • Groups in ( ), [ ] or { }, nested: K4[Fe(CN)6] is 368.345 g/mol
  • Hydrates joined by ·, * or a full stop, with a leading coefficient that may be a decimal, as in CaSO4·0.5H2O
  • A charge at the end after a caret, SO4^2-, which is noted and ignored

Case is significant, since Co is cobalt and CO is carbon monoxide. A symbol that does not exist is caught by position: “"Xy" at position 1 is not an element symbol.” Subscripts must be whole numbers, and a count of 0 is refused rather than silently dropping the atom.

Precision of the Atomic Weights Used

The table holds the IUPAC abridged standard atomic weights for all 118 elements. Those are the values printed on most classroom periodic tables, so hydrogen is 1.008 and chlorine 35.45, and results are shown to three decimal places. Textbooks that use 1.00794 for hydrogen will differ in the third decimal. For elements with no stable isotope, such as technetium, the mass number of the longest-lived isotope appears in brackets, [98].

Case matters: Co is cobalt, CO is carbon monoxide. Brackets ( ) [ ] { } nest; join hydrates with · * or .

Molar mass

180.156 g/mol

Hill formula C6H12O6 · 24 atoms

ElementAtomsAtomic massSubtotalMass %
C Carbon612.01172.066
40.00%
H Hydrogen121.00812.096
6.71%
O Oxygen615.99995.994
53.28%

I have

Mass

25 g

Amount

0.138769 mol

Particles

8.3568 × 10²²

moles = grams ÷ molar mass · particles = moles × 6.02214076 × 10²³ (molecules or formula units)