Percent Composition Calculator
ChemistryCalculate the percent composition by mass for each element in a compound instantly. Enter up to 3 elements to get mass percentages and molar mass.
Reviewed by the thecalcu.com team · Last updated January 20, 2026
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.
Why Use a Percent Composition Calculator?
Computing mass percentages requires correct atomic masses, multiplication, and division for each element. For a three-element compound like H₂SO₄: %H = 2×1.008/98.072×100, %S = 32.06/98.072×100, %O = 4×15.999/98.072×100, three separate calculations, each requiring the molar mass denominator to be correctly computed first. A single arithmetic error invalidates all percentages. This calculator eliminates the arithmetic entirely.
For NCERT Class 11 and JEE problems where percent composition is given and empirical formula is required, this calculator helps verify your work on the forward problem (formula → percent) before attempting the reverse.
Who Should Use This Calculator?
Class 11 and 12 chemistry students learning percent composition, empirical formulas, and combustion analysis, core NCERT Chapter 1 (Some Basic Concepts) topics that appear in JEE Main and NEET.
JEE aspirants verifying percent compositions for organic compounds (C, H, O, N combinations) needed for combustion analysis problems and empirical formula calculations.
Analytical chemists and quality control analysts checking expected elemental compositions against combustion analyser output to confirm compound identity or purity.
Agricultural chemists and fertiliser technologists computing N, P, K mass fractions of fertilisers for labelling compliance and subsidy calculation.
What Insights Does the Percent Composition Calculator Give You?
Element 1 (% mass) is the primary output, the mass percentage of the first element. For C₆H₁₂O₆, C = 40.00%, which immediately shows that glucose is nearly half carbon by mass.
Element 2 (%) and Element 3 (%) complete the composition picture. The three percentages should sum to 100% (within rounding), the calculator ensures this mathematically.
Molar Mass (g/mol) provides the denominator for all percentage calculations and the value needed for mole-gram conversions.
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.
Show formula & methodology ↓Show less ↑
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