Empirical Formula Calculator

Find the smallest whole-number atom ratio from elemental masses or percentages.

Enter two to four elements

How to use the Empirical Formula Calculator

Use this empirical formula calculator to convert elemental masses or percentages into the smallest whole-number atom ratio. It can support a molecular formula calculation when molar mass is known separately.

Inputs and units

  1. Enter element 1.
  2. Enter mass or percentage 1.
  3. Enter element 2.
  4. Enter mass or percentage 2.
  5. Complete optional fields only when needed: element 3, mass or percentage 3, element 4, mass or percentage 4.
  6. Select Calculate to show the result and calculation step.

Formula

ratio = (mass / atomic mass) / smallest mole amount

Treat percentage composition values as masses from a 100 g sample. Ratios near simple fractions may need multiplication before rounding to whole-number subscripts.