Empirical Formula from % Composition screenshot

Empirical Formula from % Composition

Turn percent composition by mass into the simplest whole-number formula, with the ratio shown element by element.

Privacy First
0 Runs
Updated 2026-11-06
No upload
Instant
No signup

Percent composition to an empirical formula

Type one element and its mass percent per line. The page divides each percent by that element's standard atomic weight to get relative moles, divides through by the smallest, and scales the ratios to the first whole-number multiple that fits within 0.05 of an integer. Fe 69.94 and O 30.06 give Fe2O3, and the working line for each element shows the division and the final ratio.

The percents have to add to 100 within one point, or the analysis is refused as incomplete. If no multiple up to 30 reaches whole numbers, the element furthest out is named with its error, and a set of percents that only fits with a subscript above 30 is refused as not being an empirical formula at all.

The arithmetic uses the atomic weights written into the page. The same analysis gives the same formula on every reload, and the composition you type is not stored.

Type one element and its mass percent per line and the page turns the composition into the simplest whole-number formula: each percent is divided by that element's standard atomic weight to give relative moles, divided through by the smallest, and scaled to the first whole-number multiple that fits. Fe 69.94 and O 30.06 give Fe2O3.

The atomic weights are the IUPAC standard values at three or four significant figures, so the ratios are only as good as the percentages they came from. No formula is invented when the data do not support one.

How to use it

Write one element symbol and one number per line, as in Fe 69.94, and press Run. The working line for each element shows the division by its atomic weight and the final ratio, so the whole route from percent to subscript is on the page.

  • Enter one line per element: symbol then mass percent.
  • Make the percentages add to 100; a spread of one point is tolerated.
  • Read each element's relative moles, then the final subscripts.

The arithmetic, and where it stops

Percent divided by atomic weight gives relative moles, because a percent is grams per hundred grams of compound. Dividing every element by the smallest value puts the smallest at 1, and a multiple from 1 to 30 is tried until every ratio is within 0.05 of a whole number; that tolerance is what makes 33.3 percent read as a third rather than as 0.333.

An analysis whose percentages do not add to 100 within one point is refused as incomplete; if no multiple up to 30 reaches whole numbers the element furthest out is named with its error, and a composition that only fits with a subscript above 30 is refused as not being an empirical formula at all.

What to Expect

Best for

  • Going from a combustion or gravimetric analysis to the simplest formula.

What this tool keeps

  • The atomic weights are compiled into the page, so the analysis you type is never uploaded or retained. The same figures give the same result after a reload.

Sample input

Fe 69.94 O 30.06

Sample output

Fe 1.252 / 1.252 = 1 → 2 O 1.879 / 1.252 = 1.5 → 3 Fe2O3

Frequently asked questions

How do I use the Empirical Formula from % Composition?

Write one element symbol and one number per line, as in Fe 69.94, and press Run. The working line for each element shows the division by its atomic weight and the final ratio, so the whole route from percent to subscript is on the page.

Does anything leave my browser?

No. The atomic weights are compiled into the page, so the analysis you type is never uploaded or retained. Reloading the page discards every value you entered.

Which inputs does it refuse?

An analysis whose percentages do not add to 100 within one point is refused as incomplete; if no multiple up to 30 reaches whole numbers the element furthest out is named with its error, and a composition that only fits with a subscript above 30 is refused as not being an empirical formula at all.

Developer program

Build custom tools for your store

Join the SDK program to create useful ecommerce utilities for your store.