Molar Mass Calculator

Calculate molar mass from a molecular formula like H2O, NaCl, or C6H12O6

About this calculator

Calculate the molar mass of any chemical compound by entering its molecular formula. Supports simple formulas (H2O, NaCl), subscripts (C6H12O6), and parentheses (Ca(OH)2, Al2(SO4)3). See a visual breakdown of each element's weight contribution.

How to use the Molar Mass Calculator calculator

  1. Enter the quantities you know, using the units shown on each field.
  2. Read the computed results — they update instantly as you type.
  3. Use the visual explanation to see how the quantities relate.
  4. Copy the page URL to share the exact calculation.

Common examples

  • H2O = 18.015 g/mol (water)
  • NaCl = 58.443 g/mol (table salt)
  • C6H12O6 = 180.156 g/mol (glucose)
  • Ca(OH)2 = 74.093 g/mol (slaked lime)
  • Al2(SO4)3 = 342.132 g/mol (aluminum sulfate)

Frequently asked questions

How does the Molar Mass Calculator calculator work?

Enter the known quantities and the calculator applies the governing physical law or scientific formula to find the unknowns, stating the equation it used and the units of every result. Computations run at high precision.

When would I use the Molar Mass Calculator calculator?

It suits physics and chemistry homework, lab work, engineering estimates, and any time you want to explore how changing one quantity affects the others in a well-defined scientific relationship.

How accurate are the results?

The formula itself is evaluated at 30 significant digits of precision. Keep in mind that idealized models — such as neglecting friction, air resistance or measurement error — bound the real-world accuracy more than the arithmetic does.

Can I share a specific calculation with someone else?

Yes. Every value you enter updates the URL, so copying the address bar and sharing the link reopens the exact same calculation for whoever clicks it.