Percent Composition Calculator
Calculate the molar mass and percentage by mass of every element present in a chemical compound.
Compound Formula
Enter a chemical formula to calculate its elemental composition.
Formula Preview
—
Supports parentheses, square brackets
and hydrate notation.
Composition Result
Element-by-element percentage composition.
Total Molar Mass
—
g/mol
| Element | Atomic Mass | Atoms | Mass Contribution | % Composition |
|---|---|---|---|---|
| Enter a formula and calculate. | ||||
Calculation
Enter a chemical formula to see
the detailed percent composition.
% Element = (Element Mass Contribution ÷ Total Molar Mass) × 100
The calculated percentages should add up to approximately 100%.
Supported examples: H₂O, NaCl, Ca(OH)₂, Al₂(SO₄)₃, CuSO₄·5H₂O and Na₂CO₃·10H₂O.