Molar Mass Calculator
Calculate the molar mass of any chemical formula, with the mass percent of each element and moles from grams.
Runs in your browser. Your files never leave your device. See how to check
…
How to do it
- 1Step 1: Open Molar Mass Calculator and add your input
Type your numbers or text, add your file, or pick the options you need. Nothing is uploaded: everything stays in your browser.
- 2Step 2: What Molar Mass Calculator does
Calculate the molar mass of any chemical formula, with the mass percent of each element and moles from grams.
- 3Step 3: Read the result and compare
The result appears at once. Change one value to see how the answer moves, then keep the figure that fits your case.
- 4Step 4: Copy or save it
Copy the result or download it. For an important decision, confirm it with the official source or an adviser.
About this tool
Type a formula such as Ca(OH)2, Fe2(SO4)3 or CuSO4·5H2O. The calculator gives the molar mass in g/mol, a table of the elements with their counts, atomic weights and mass percent, and, if you enter a mass in grams, the amount in moles and the number of molecules.
Formula syntax
Use element symbols with capital first letters (Na, Cl), numbers for counts, round or square brackets for groups and a dot or · for hydrates, as in CuSO4·5H2O. Charges and state symbols are not part of the formula.
Atomic weights
Standard atomic weights from IUPAC (abridged) are used. Elements with no stable isotopes use the mass number of the longest-lived isotope. Moles = grams ÷ molar mass; molecules = moles × 6.02214076 × 10²³.
Worked example
Ca(OH)2 has a molar mass of 74.092 g/mol: Ca 54.09 %, O 43.19 %, H 2.72 %. CuSO4·5H2O is 249.677 g/mol.
Tips for best results
Check every box before you rely on a result, because one wrong digit changes the whole answer. Use the exact figures from your payslip, bill, certificate or contract, and keep a note of the date you calculated. Rates, thresholds and rules change from time to time, so for tax, fees and legal matters treat the output as an estimate and confirm with the official source named on this page. You can run as many scenarios as you like; nothing is saved or sent, and refreshing the page clears the boxes.
Quick facts
- Category: Math & Science
- Works in your browser, no sign-up, no upload.
- Your input stays on your device.
- Available in many languages.
- Content last reviewed:
Frequently asked questions
Can it handle hydrates?
Yes, write CuSO4·5H2O or CuSO4.5H2O.
How accurate are the masses?
They use standard atomic weights to 3–5 significant figures, as in a periodic table.
Does case matter?
Yes: Co is cobalt but CO is carbon monoxide.
Can I get moles?
Enter grams to get moles and molecules.
