Empirical formula from masses

Empirical formula from masses: calculate a transparent estimate from the values and assumptions you provide.

Empirical formula from masses: calculate a transparent estimate from the values and assumptions you provide.

Your inputs stay in your browser. Displayed results are rounded to a maximum of 12 significant digits.

Method and assumptions

Method version 1.0.0 · Updated

Calculate

Formula: Mole ratios normalized to the smallest, then approximated by small integers

Empirical formula from masses: calculate a transparent estimate from the values and assumptions you provide.

symbols
Element symbols separated by ;
masses
Matching masses separated by ;
atomicMasses
Matching atomic masses separated by ;

Numerical approximation; ambiguous near-ratios should be checked against experimental data.

Calculate with code

These short examples use the same inputs and core calculation as this tool. Adapt validation and formatting to your application.

JavaScript
const ratios = [40 / 12.011, 6.72 / 1.008]; // divide mole amounts by the smallest ratio