Home / Science & Education / Molar Mass Calculator

Molar Mass Calculator

Work out the molar mass and mass percentages of any chemical formula, and convert grams to moles.

Free, no uploads, no sign-up. Runs 100% in your browser.

How Molar Mass Calculator works

All maths runs in your browser. Exact fractions and big integers are used where rounding would give wrong answers. Brackets, hydrates and charges are understood, so CuSO4ยท5H2O and K4[Fe(CN)6] both work.

Input: Text. Output: Text.

How to use Molar Mass Calculator

  1. Type a formula.
  2. Read the molar mass and element shares.
  3. Convert between grams, moles and molecules.

Tips

  • Exact fractions are used where rounding would give wrong answers.
  • Every tool works offline once the page has loaded.

Molar Mass Calculator FAQ

Are my files uploaded?
No. This tool runs entirely in your browser tab. Files are read from your disk into memory and the result is generated locally.
Is it free? Are there limits or watermarks?
Free and open source (MIT). There are no file-size caps, daily quotas, accounts or watermarks.
Does it work offline?
Yes, once the page (and any engine it needs) has loaded, it keeps working without a connection thanks to the service worker cache.

Related tools

  • Chemical Equation Balancer: Balance chemical equations, including ionic and redox ones, with exact whole number coefficients.
  • Periodic Table: Interactive periodic table with masses, categories, electron configurations and shell diagrams.
  • LaTeX Equation Renderer: Type LaTeX and get a crisp equation as PNG, SVG or JPG, or copy it as MathML for Word.
  • Function Plotter: Graph several functions of x with zoom, pan, zeros and derivatives, then export PNG or SVG.

OpenFile runs in your browser. Turn on JavaScript to use the tools.