Home / All calculators / Biology & Chemistry

Percent Composition Calculator

Calculate each element's mass percentage in a compound from its chemical formula.

Enter your values

Formula

Element mass percentage = (element atomic mass contribution ÷ compound molar mass) × 100.

How to use this calculator

  1. Enter each value in the unit shown.
  2. Check that isotope abundances, masses or formula inputs are consistent.
  3. Select Calculate to view the result and intermediate values.

Worked example

The pre-filled values are an illustrative example. Change the inputs to explore how the formula responds.

Assumptions and limitations

Calculate each element's mass percentage in a compound from its chemical formula. The output is an educational estimate based on the displayed formula and included atomic-weight data. Unknown elements are not inferred; verify important chemistry work independently.

Updated: 17 November 2026. Inputs are processed in your browser.

Frequently asked questions

What formula does this calculator use?

Element mass percentage = (element atomic mass contribution ÷ compound molar mass) × 100.

Are my inputs uploaded?

The calculation runs in your browser; form values are not submitted to Friendly Calculator.