Find each element's mass percentage from a chemical formula, or convert a known sample mass using that percentage.
High school to introductory general chemistry
Your result
Enter your values and press Calculate to see your answer and all five solution steps.
%E = [n(E) × A(E) / M(formula)] × 100
Common Mistakes
Using atom counts as percentages: percent composition is based on mass, not number of atoms.
Forgetting that a subscript outside parentheses multiplies every atom in that group, such as (OH)2.
Omitting waters of hydration after a dot, which changes both molar mass and every percentage.
Rounding element contributions before calculating the percentage; retain full calculator precision until the final display.
Assumptions and limitations
This is a theoretical composition from a pure formula. It does not measure an impure sample or determine an empirical formula from laboratory data.
The calculator supports molecular and ionic formulas with standard symbols, integer subscripts, nested () or [], dot hydrates, and a terminal ion charge. Charge has no material effect on these mass percentages. It does not support equations, isotope labels, fractions, mixtures, polymers, or non-stoichiometric solids.
%E = [n(E) × A(E) / M(formula)] × 100
Learn More
Connect the calculation to your chemistry course and try a related tool.
I teach Chemistry online for IGCSE, GCSE, A Level, AP Chemistry and university students. We can work through the reasoning behind your calculation, step by step, in a lesson on Preply.
Book a Trial LessonThe calculators stay free. Booking is optional and takes place on Preply.