How to use the molar mass calculator
Calculate the molar mass of any chemical formula. Enter chemical formula in the field above; the molar mass, atoms per formula unit are computed instantly and plotted on the chart so you can see how the answer changes.
Formula
Variables
- f — Chemical formula
Worked example
With chemical formula = Ca(OH)2, the calculator gives molar mass ≈ 74.092 g/mol; atoms per formula unit ≈ 4.
Frequently asked questions
What is the formula for the molar mass calculation?
Molar mass (g/mol) = molmass(f). Atoms per formula unit = elemCount(f). Here f is chemical formula.
What inputs do I need for the molar mass calculator?
You need chemical formula. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use this calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.