Skip to content
2x2xKit

Molecular Weight Calculator

Calculate the molecular weight of a chemical compound from its formula.

How this is calculated
Molecular weight = Σ (atomic weight × atom count) for each element

Assumptions used in this calculation

  • Formula format: Supports flat formulas with element symbols and counts (e.g. C6H12O6); nested parentheses like Ca(OH)2 are not supported.

About this calculator

The molecular weight calculator parses a chemical formula and sums the atomic weights of its constituent elements to find the total molecular weight.

Worked example

Water (H2O)

Result: 18.015 g/mol

Was this helpful?

Frequently asked questions