Percent Composition Calculator
ChemistryCalculate the percent composition by mass for each element in a compound. Enter up to 3 elements with atom counts to get elemental mass percentages and molar mass.
Element 1 (% mass)
Breakdown
How the total splits
What is a Percent Composition?
The Percent Composition Calculator determines the mass percentage of each element in a compound. Select up to 3 elements with atom counts and the calculator computes %element = (n ร M_element / M_total) ร 100 for each, plus the total molar mass. The default shows glucose (CโHโโOโ): 40% C, 6.7% H, 53.3% O.
Percent composition connects the chemical formula of a compound to the mass fractions of its elements โ the information you would measure in combustion analysis or elemental analysis. It is the starting point for determining empirical formulas from experimental data: convert percentages to mole ratios (divide by atomic mass), then find the simplest whole-number ratio. The Empirical Formula Calculator automates this reverse calculation.
For building the calculation from element atomic masses, the Molar Mass Calculator is the complementary tool โ it calculates total molar mass with the same element-select interface but highlights the molar mass rather than the elemental percentages. For compounds with more than three elements, combine these calculations manually using the atomic masses from the Atomic Mass Calculator.
How to use this Percent Composition calculator
- Select Element 1 and enter Count 1. For glucose: C ร 6.
- Select Element 2 and enter Count 2. For glucose: H ร 12.
- Select Element 3 and enter Count 3. For glucose: O ร 6.
- Read Element 1 (% mass) as the primary result โ the mass percentage of the first element.
- Check that elements 1 + 2 + 3 percentages sum to 100% โ verify the calculation is complete.
Formula & Methodology
Percent composition by mass:%element_i = (nแตข ร Mแตข / M_compound) ร 100 M_compound = nโMโ + nโMโ + nโMโWorked example โ Urea (CHโNโO): Urea can be entered as Cร1, Hร4, Nร2, Oร1 โ but this calculator only handles 3 elements. Use the first three (C, H, N) to find their percentages, then compute O% by subtraction (100 โ %C โ %H โ %N):M(urea) = 1ร12.011 + 4ร1.008 + 2ร14.007 + 1ร15.999 = 60.055 g/mol %C = 12.011/60.055 ร 100 = 19.998% โ 20.00% %H = 4.032/60.055 ร 100 = 6.714% %N = 28.014/60.055 ร 100 = 46.646% %O = 100 โ 20.00 โ 6.71 โ 46.65 = 26.64%Urea's 46.65% nitrogen content (the highest of common fertilisers) is why it is the most widely used nitrogenous fertiliser in India, applied to rice, wheat, sugarcane, and cotton. IFFCO (Indian Farmers Fertiliser Cooperative) is the world's largest producer and distributor of urea.
Frequently Asked Questions