Molecular Weight Calculator

Molar mass from a chemical formula.

Molar mass from a chemical formula.

How to use this calculator

Every field updates the result as you type — there is no submit step. The inputs below are pre-filled with a realistic example so you can see how the tool behaves before entering your own figures.

FieldUnitWhat it means
Chemical formulaUse element symbols with counts, e.g. H2SO4, Ca(OH)2, CuSO4

Worked example

Using the default values loaded into the calculator above, the result is:

InputValue
Chemical formulaC6H12O6
OutputValue
Molecular weight180.156 g/mol
FormulaC6H12O6
Distinct elements3
Total atoms24
Mass of 1 mole180.156 g
Moles in 100 g0.555074

Reading the result

Conversion factors and physical constants used here are the standard published values. Where a result depends on a material property, local code or regional convention, that value is exposed as an input so you can match it to your situation.

For construction and electrical work, always verify against the codes that apply in your jurisdiction.

Sharing and saving a calculation

The "Copy link" button encodes every value you have entered into the page URL. Opening that link restores the calculation exactly, which makes it easy to bookmark a scenario, send it to someone else, or keep several variations side by side in separate tabs.

Frequently asked questions

What does the Molecular Weight Calculator do?

Molar mass from a chemical formula.

What result do the default values produce?

With the values pre-loaded in the calculator, molecular weight comes to 180.156 g/mol.

Is this calculator free to use?

Yes. It is free, requires no account, and runs entirely in your browser — nothing you enter is transmitted or stored on a server.

Can I save or share a calculation?

Yes. The "Copy link" button builds a URL containing all your entered values. Anyone opening that link sees the same calculation.

How accurate is the result?

The calculation itself is exact for the inputs given. Real-world accuracy depends on how well those inputs reflect your actual situation, so review the assumptions before relying on the figure.