InputTestHub

Molar Mass Calculator

Works out the molar mass of any chemical formula and breaks it down element by element, with the percentage each contributes by mass.

Calculators Nothing uploaded No sign-up Free, unlimited
Calculators tool
Brackets nest to any depth. A dot means a hydrate — CuSO4·5H2O or CuSO4.5H2O both work. Case matters: CO is carbon monoxide, Co is cobalt.
Optional — gives the moles in that mass and how much of each element it contains.
Enter your figures and press Calculate.
In short The molar mass of a compound is the sum of the standard atomic weights of every atom in its formula, in grams per mole. Copper sulfate pentahydrate, CuSO4·5H2O, comes to 249.68 g/mol: one copper at 63.546, one sulfur at 32.06, nine oxygens at 15.999 each and ten hydrogens at 1.008 each, because the five waters contribute ten hydrogens and five oxygens on top of the four already in the sulfate. Glucose C6H12O6 is 180.16, sodium chloride 58.44, water 18.015. Two things about that sum surprise people. The first is that almost no atomic weight is a whole number, because each one is an average over the isotopes actually found on Earth — chlorine is 35.45 because natural chlorine runs about three parts Cl-35 to one part Cl-37, and no single chlorine atom weighs 35.45. The second is that capitalisation is not a style choice but part of the notation. CO is carbon monoxide at 28.01 g/mol; Co is cobalt at 58.93. A symbol is one capital letter optionally followed by one lower-case letter, and getting that wrong changes the compound rather than the formatting. Percent composition falls straight out of the same sum: divide each element's total contribution by the molar mass. In copper sulfate pentahydrate the water is 36.1% of the mass, which is why the blue crystals lose over a third of their weight when you drive it off.

How to use the Molar Mass Calculator

  1. Type the formula, with brackets and a hydrate dot if it needs them.
  2. Read the molar mass and the element-by-element breakdown.
  3. Add a sample mass to see the moles it contains and the mass of each element in it.

About the Molar Mass Calculator

Molar mass and percent composition from a formula, with hydrates, nested brackets and charges.

What people use it for

  • Weighing out a reagent for a solution of known concentration.
  • Checking percent composition against an elemental analysis.
  • Working out how much of a hydrate is water before drying it.

Details

Water18.015 g/mol
Sodium chloride58.44 g/mol
Glucose C6H12O6180.16 g/mol
Copper sulfate pentahydrate249.68 g/mol, of which 36.1% is water
Case mattersCO is 28.01 g/mol, Co is 58.93 g/mol
Atoms in a mole6.02214076 × 10²³, exact by definition since 2019
PrivacyEverything runs in your browser. Nothing you enter is sent anywhere
Percent composition here is by mass, which is what an elemental analysis reports. Percentage by number of atoms is a different figure and is given in the Atoms column of the same table.

Where this tool stops

These are the ideal, dilute-solution equations taught everywhere and used on every bench, and each of them has a range. Molarity and pH assume concentration behaves like activity, which stops being true above roughly 0.1 M. The ideal gas law ignores molecular volume and attraction, so it drifts near condensation. None of this replaces a safety data sheet: check compatibility, protective equipment and disposal before you mix anything.

Frequently asked questions

What is the difference between molar mass and molecular weight?
In practice, the units. Molecular weight is a ratio against one twelfth of a carbon-12 atom and has no units; molar mass is the same number in grams per mole. Every calculator here reports g/mol, which is what you weigh out.
How do I enter a hydrate?
Use a dot: CuSO4·5H2O, or CuSO4.5H2O if the middle dot is awkward to type. The number before the water multiplies the whole group, so five waters add ten hydrogens and five oxygens.
Why are atomic weights not whole numbers?
Because each is an average over the isotopes found naturally on Earth, weighted by how common they are. Chlorine is 35.45 because natural chlorine is roughly three parts Cl-35 to one part Cl-37. No individual atom weighs the average.
Does case really matter in a formula?
Yes, and it is the most common mistake. CO is carbon monoxide; Co is cobalt. An element symbol is one capital letter, optionally followed by one lower-case letter, and this tool reads it that way.
Can I enter an ion?
Yes. Na+, Fe3+, MnO4- and SO4^2- all parse. The charge does not change the mass in any way you would weigh, but it is recognised so the same formula works in the equation balancer.
Why do some elements show a warning?
Thirty-four of the 118 elements have no stable isotope, so they have no standard atomic weight at all. The figure used is the mass number of the longest-lived isotope, which is a convention rather than a measurement.
Does the Molar Mass Calculator cost anything?
There is no cost and no cap. The Molar Mass Calculator is not a demo of a paid product, so nothing is held back or watermarked.
Is what I paste into the Molar Mass Calculator stored?
No. The Molar Mass Calculator runs entirely in your browser using JavaScript. Nothing is transmitted, logged or stored, which you can verify yourself in the Network tab of your browser's developer tools.
Who is the Molar Mass Calculator for?
Typical uses: weighing out a reagent for a solution of known concentration. Checking percent composition against an elemental analysis. Working out how much of a hydrate is water before drying it. It is built for exactly those cases rather than being a general-purpose tool with this bolted on.
When is the Molar Mass Calculator not the right tool?
These are the ideal, dilute-solution equations taught everywhere and used on every bench, and each of them has a range. Molarity and pH assume concentration behaves like activity, which stops being true above roughly 0.1 M. The ideal gas law ignores molecular volume and attraction, so it drifts near condensation. None of this replaces a safety data sheet: check compatibility, protective equipment and disposal before you mix anything. Knowing where a tool stops being trustworthy matters more than the cases where it works.
Which values should I know?
Water is 18.015 g/mol. Sodium chloride is 58.44 g/mol. Glucose C6H12O6 is 180.16 g/mol. These are printed on the page itself, so you do not have to take them on trust.
Can I rely on this for exact work?
The calculation runs in double precision and the result is shown to ten significant figures, so converting a value and converting it back returns the original. What is displayed is rounded for readability; what is copied is not.

Related calculators tools

All 382
01

Loan Calculator

Works out the monthly payment, total interest and full repayment schedule for any loan from…

02

EMI Calculator

Calculates your Equated Monthly Instalment with a full principal-versus-interest breakdown and…

03

Mortgage Calculator

Estimates a full monthly housing payment including principal, interest, property tax…

04

Car Loan Calculator

Calculates a car finance payment from the price, deposit, trade-in, interest rate and term…

05

Personal Loan Calculator

Works out instalments and total cost for an unsecured personal loan, including any processing…

09

SIP Calculator

Projects the maturity value of a monthly Systematic Investment Plan, showing invested amount…