Active experiment

Percent Composition Calculator

Calculate percent composition with validated inputs, formula substitution, and worked steps.

Step 01 · Set up

Fill in the mathematics

Replace the highlighted values below. Tab moves naturally through the equation.

Step 03 · Answer

Ready when you are

Substitution & process

Enter the known values, then select Calculate. Your working steps will appear here.

Understand the method

What does the percent composition calculation mean?

Percent composition states each element’s share of a compound’s total mass, which is not the same as its share of atoms. Each share is the total mass of that element in one formula unit divided by the molar mass of the compound.

When to use it

Use it to verify a proposed formula, report a material’s composition, or check an elemental analysis result.

Formula

Use the relationship shown in the interactive formula panel.

In plain text: Use the relationship shown in the interactive formula panel.

Variables and units

SymbolMeaning
element massatoms of the element × its atomic mass
molar masstotal mass of one mole of the formula
%element mass divided by molar mass, times 100

How to use the calculator

  1. Enter each known value in its labeled field.
  2. Select the answer precision you want.
  3. Choose Calculate answer to see the result and working.

Worked example

In water, hydrogen contributes 2(1.008) = 2.016 g/mol and oxygen 15.999 g/mol out of 18.015 g/mol, giving about 11.19 per cent hydrogen and 88.81 per cent oxygen.

Common mistakes

  • Hydrogen dominates numerically only because it is light; oxygen dominates by mass here.
  • The percentages must sum to 100, which catches an arithmetic slip.
  • Hydrates include the water of crystallization in the molar mass.

Interpret the result

The shares should total 100 per cent and each should be consistent with the atomic masses involved.