Empirical Formula Two Element
Calculator

Inputs

Mole ratio, element A
1

Results

Mole ratio, element A
1
Mole ratio, element B
1.126031
Moles of A per 100 g sample
3.33028
Moles of B per 100 g sample
3.75

Chemistry results

Mole ratio, element A1
Mole ratio, element B1.126031
Moles of A per 100 g sample3.33028
Moles of B per 100 g sample3.75

formula-map diagram

Mole ratio, element A
1
Mole ratio, element B
1.126031
Moles of A per 100 g sample
3.33028
Moles of B per 100 g sample
3.75

Formula breakdown

Formula

ratio = (mass% ÷ atomic mass)A : (mass% ÷ atomic mass)B, normalized to the smaller value

= 1

Note

Simplified model: these results assume ideal behaviour (ideal gases, dilute solutions, complete reactions) and standard textbook constants. Real laboratory values vary with temperature, pressure, purity and activity coefficients. Do not rely on this for safety-critical or analytical work.

Example: with the default inputs, calculator.chemistry.moles_ratio_a is 1.

More in Chemistry

See all →

Frequently asked questions

What does the empirical formula calculator compute?+

For a compound of two elements, it divides each mass percent by its atomic mass to get moles per 100 g, then divides both by the smaller value to give the ratio.

Which inputs do I enter?+

The mass percent and atomic mass in g/mol of element A and of element B. All four values must be greater than zero.

How do I read the ratio?+

The ratio is shown as two numbers, one per element. With the defaults, 40 % of carbon and 60 % of oxygen give about 1 : 1.13.

What if the ratio is not whole numbers?+

The calculator only normalizes to the smaller value and does not round to whole numbers. You may need to multiply both numbers by a small integer to get the subscripts.

Do the percentages need to add up to 100?+

The calculator does not check this. For a true two-element compound they should total 100 %, otherwise the moles per 100 g are not meaningful.