Infer the simplest whole-number chemical formula from elemental mass percentages.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Each percentage is divided by atomic weight to obtain relative moles, values are divided by the smallest, and near-integer ratios become subscripts. An optional molar mass scales the empirical formula.
H 11.19,O 88.81
Empirical formula: H2O Empirical mass: 18.02 Molecular formula: H2O Molecular mass: 18.02 Multiplier: 1
Combustion analysis infers simplest formula, lab reports convert mass percentages, and molecular-mass exercises scale empirical formulas.