Molar Mass Calculator: Chemical Formulas
Count atoms and sum their mass contributions for typical reference weights or weights you supply.
Result
How is this calculated?
Multiply each counted atom by the adopted atomic weight, then sum the mass contributions.
Worked example: Count two hydrogen atoms and one oxygen
With H = 1.008 and O = 15.999, two H atoms contribute 2.016 and oxygen 15.999, together 18.015 g/mol on the tool’s rounded reference scale.
Method and limits
Standard mode uses the rounded standard atomic-weight values for 84 elements with defined values for normal material. It uses NIST SP 966, version 15 (June 2024), checked against the CIAAW 2024 abridged reference, with the CIAAW 2024 numeric correction for zirconium. Republished courtesy of the National Institute of Standards and Technology. For a symbol without a standard atomic weight, supply a specific atomic mass yourself; no isotope mass number is substituted automatically. This does not identify an isotope or natural abundance. All entered masses mode overrides all reference weights. Relative formula mass is dimensionless; the numeric approximation in g/mol is suitable only for elementary arithmetic. Uncertainties, isotope-labelled formulas and ions/charges are not modeled. Separate hydrate groups with a period or centered dot. Only abstract classroom arithmetic. Not intended for clinical, safety, production, laboratory or dosing decisions.
How to use this calculator
- Choose a preset or type a case-sensitive formula.
- Use reference values when available, or supply all masses if you need a particular fictional arithmetic scenario.
Count two hydrogen atoms and one oxygen
With H = 1.008 and O = 15.999, two H atoms contribute 2.016 and oxygen 15.999, together 18.015 g/mol on the tool’s rounded reference scale.
Molar mass and relative mass
Molar mass is mass per amount in g/mol here. Relative formula mass is dimensionless; on the approximate scale shown the numeric values match.
Count symbols before multiplying
Parentheses multiply the enclosed counts, and a hydrate group adds its own counts to the earlier groups. Read the atom-count and contribution rows to check interpretation.
Reference data are not universal
The 84 available reference values are rounded standard values for normal material, with CIAAW’s zirconium correction. The calculator does not silently choose an isotope number for other symbols.
Frequently asked questions
- Does the calculator distinguish Co and CO?
- Yes. Co is one cobalt symbol, whereas CO contains one carbon and one oxygen.
- Why is my element’s reference weight missing?
- Some elements have no standard weight. Only supply a mass you can justify; otherwise the calculator cannot give a reference-weight result.
- How do I separate hydrate groups?
- Use a period or a centered dot between the formula groups. This grammar does not interpret decimal atom counts.
- Are charged or isotope-labeled formulas supported?
- No, and this output does not report isotope distributions, uncertainty or measurement precision.
Common mistakes and limits
- Educational formula arithmetic only.
- Does not infer isotopes, ionic forms, composition uncertainty or handling requirements.
Sources & methodology
Related calculators
- Molarity Calculator: Concentration, Mass and Volume
Solve for one missing quantity from three known values. Choose the units separately for every field.
- Density, Mass & Volume Calculator
Find density from mass and volume, or solve for the missing mass or volume. Mix grams, kilograms, litres and supported US customary units.
- Mass Calculator from Density and Volume
Estimate material mass from density and volume, with separate metric and customary units for both inputs and the result.