Example 1: percentages and a molecular mass
A sample contains 40.00% C, 6.71% H and 53.29% O. Its molecular molar mass is 180.156 g/mol.
On a 100 g calculation basis| Element | Mass / atomic weight | Moles | Ratio |
|---|
| C | 40.00 / 12.011 | 3.330 | 1 |
| H | 6.71 / 1.008 | 6.657 | ≈2 |
| O | 53.29 / 15.999 | 3.331 | ≈1 |
The simplest candidate is CH2O. Its formula mass is 12.011 + 2(1.008) + 15.999 = 30.026 g/mol. The molecular multiplier is 180.156 / 30.026 = 6, so the molecular formula is C6H12O6. This formula does not by itself specify glucose rather than another isomer.
Try these default values in the calculator ↗Example 2: the 1.5 ratio matters
An iron oxide contains approximately 69.94% Fe and 30.06% O. On a 100 g basis, divide by 55.845 and 15.999 g/mol: approximately 1.252 mol Fe and 1.879 mol O.
Dividing by the smaller gives Fe : O ≈ 1 : 1.5. Multiply both by 2 to obtain 2 : 3, giving Fe2O3. Rounding 1.5 directly to 2 would give FeO2 and fail the composition check. Fe2O3 contains approximately 69.94% Fe by mass.
Load the iron oxide example ↗