Calcstack – Calculate, Plan, Grow

Percent Composition Calculator

Free percent composition calculator: find c, h and o from chemical formula. Instant result with formula and example.

Updated 18 November 2026 · Free · No sign-up · Chemistry

Enter your details

What is the Percent Composition Calculator?

Use the Percent Composition Calculator to work out c, h and o. Enter chemical formula, press Calculate and read the result below. It uses the standard formula shown on this page and runs in your browser, so your numbers stay private.

Free percent composition calculator: find c, h and o from chemical formula. Instant result with formula and example. Everything runs in your browser, so the numbers you enter stay private.

How to use this calculator

  1. Enter chemical formula.
  2. Press Calculate. Results and charts update straight away.
  3. Change a value and calculate again to compare scenarios.

Formula used

Percent by mass of an element = (atoms × atomic mass) ÷ molar mass × 100.

Worked example

With the default values (chemical formula = C6H12O6) the calculator shows c (mass %): 40.00%; h (mass %): 6.71%; o (mass %): 53.28%.

Use the example values already filled in above to check the result yourself.

Tips and important notes

Write chemical formulas with correct capital letters, for example NaCl and CO2.

Results are estimates for education only and are not financial, tax, medical or engineering advice. Please confirm important decisions with a qualified professional.

Frequently asked questions

What does the Percent Composition Calculator do?

Free percent composition calculator: find c, h and o from chemical formula. Instant result with formula and example.

Is the Percent Composition Calculator free?

Yes. It is free, needs no account and runs in your browser.

How accurate is the Percent Composition Calculator?

It applies the standard formula shown on this page to your inputs. Treat the output as an estimate, because fees, taxes, rounding and real-world conditions can change actual figures.

Is my data saved?

No. Your inputs are processed on your device and are not sent to our servers.

Related calculators