Percent Composition Calculator
Calculate the percent composition by mass of each element in a chemical compound.
Enter Compound
Calculate element masses for a specific sample size
Compound Analysis
C6H12O6
Molar Mass
180.156 g/mol
Total Atoms
24
Percent Composition
OOxygen
53.28%6 atoms x 15.999 g/mol = 95.994 g/mol
CCarbon
40.00%6 atoms x 12.011 g/mol = 72.066 g/mol
HHydrogen
6.71%12 atoms x 1.008 g/mol = 12.096 g/mol
Mass in 100g Sample
Oxygen (O)53.2838 g
Carbon (C)40.0020 g
Hydrogen (H)6.7142 g
Total100.0000 g
Formula Summary
Molecular Formula
C6H12O6
Empirical Formula
OCH2
💡
Help us improve!
How would you rate the Percent Composition Calculator?
Editorial Note
MyCalcBuddy Editorial Team
This page is maintained as an educational calculator reference.
📚
Formula Source: Chemistry: The Central Science
by Brown, LeMay, Bursten
🔄Last reviewed: May 2026
✓Formula checks are based on standard references and internal QA review.