Mass Percent Calculator

Calculate mass percent (w/w%) or percent composition of a compound.

Three modes: mass percentage for a solute, for a chemical, and percent composition. Supports 12 mass units.

Updated September 15, 2026
Frank Zhao - Creator
CreatorFrank Zhao
Loading calculator…

What Is Mass Percent?

Mass percent — also written as w/w% (weight/weight percent) — tells you what fraction of a solution or compound is made up of a particular substance, expressed as a percentage. It is one of the most fundamental concentration units in chemistry, used everywhere from introductory lab exercises to industrial quality control.

This calculator handles three common scenarios:

  • Mass percentage for a solute — find the concentration of a dissolved substance when you know the solute and solvent masses (or any two of the four related values).
  • Mass percentage for a chemical — find what percent one chemical contributes to a compound mixture.
  • Percent composition — break down any compound (up to 6 elements) into the mass percentage of each element.

How to Use This Calculator

Mode 1: Mass Percentage for a Solute

  1. 1
    Select Mass percentage for a solute from the radio buttons.
  2. 2
    Enter any two of the four values — the other two are calculated automatically. You can mix units freely (e.g., solute in grams, solvent in kilograms).

Quick example — 25 g salt in 75 g water:

msolute=25 gm_{\text{solute}} = 25\ \text{g}==2525,msolvent=75 gm_{\text{solvent}} = 75\ \text{g}
Mass %=2525+75×100\text{Mass \%} = \frac{25}{25 + 75} \times 100==25%25\%

Mode 2: Mass Percentage for a Chemical

  1. 1
    Select Mass percentage for a chemical.
  2. 2
    Enter any two of the three values (mass of chemical, total mass of compound, mass percentage). The calculator finds the third.

Mode 3: Percent Composition

  1. 1
    Select Percent composition. Six element slots appear, each with a dropdown to choose from 118 elements.
  2. 2
    For each element in your compound, select the element and enter the number of atoms. You don't have to fill all six — leave unused slots empty.
  3. 3
    The results table shows each element's mass contribution and its percentage of the total molecular weight, updated live as you type.

Quick example — water (H₂O):

1×1.008+1×15.9991 \times 1.008 + 1 \times 15.999==17.007 amu17.007\ \text{amu}
H: 1.00817.007×100\text{H: } \frac{1.008}{17.007} \times 100==5.93%5.93\%,O: 94.07%\text{O: } 94.07\%

Formulas Explained

Mass Percentage (Modes 1 & 2)

Mass %=mpartmtotal×100\text{Mass \%} = \frac{m_{\text{part}}}{m_{\text{total}}} \times 100

Where:

  • mpartm_{\text{part}} = mass of the substance of interest (solute or chemical)
  • mtotalm_{\text{total}} = total mass (solution mass or compound mass)

In Mode 1, mtotal=msolute+msolventm_{\text{total}} = m_{\text{solute}} + m_{\text{solvent}}. The calculator supports bidirectional solving — enter any two known values and it will derive the others.

Percent Composition (Mode 3)

For each element in a compound, three quantities are linked:

mi=ni×Mim_i = n_i \times M_i
M=i=1kmiM = \sum_{i=1}^{k} m_i
%i=miM×100\%_i = \frac{m_i}{M} \times 100

Where:

  • nin_i = number of atoms of element ii
  • MiM_i = atomic mass of element ii (from the periodic table, in amu)
  • mim_i = total mass contribution of element ii in the compound
  • MM = molecular weight of the compound (sum of all element contributions)

Note on atomic masses: The calculator uses IUPAC-recommended standard atomic weights. When you select an element from the dropdown, its current atomic mass is loaded automatically — no need to look it up.

Real-World Examples

1

Saline Solution (Mode 1)

A medical saline solution contains 9 g of sodium chloride dissolved in water to make 100 g of solution. What is the mass percent?

Mass %=9100×100\text{Mass \%} = \frac{9}{100} \times 100==9%9\%

This is the standard 0.9% saline used in IV drips. Enter 9 g solute and 100 g solution to verify.

2

Sodium Bicarbonate Percent Composition (Mode 3)

Baking soda is NaHCO3\text{NaHCO}_3. With 1 Na, 1 H, 1 C, and 3 O atoms:

M=22.990+1.008+12.011+3×15.999M = 22.990 + 1.008 + 12.011 + 3 \times 15.999==84.007 amu84.007\ \text{amu}
Na: 22.99084.007×100=27.37%\text{Na: } \frac{22.990}{84.007} \times 100 = 27.37\%
H: 1.20%, C: 14.30%, O: 57.14%\text{H: } 1.20\%,\ \text{C: } 14.30\%,\ \text{O: } 57.14\%
3

Finding Solute Mass (Mode 1, Reverse)

You need 500 g of a 12% glucose solution. How much glucose do you weigh out?

msolute=0.12×500m_{\text{solute}} = 0.12 \times 500==60 g60\ \text{g}

Enter 500 g solution mass and 12% mass percent — the calculator instantly shows 60 g of glucose.

Tips & Best Practices

  • Mix units freely in Modes 1 & 2. Enter the solute in grams and the solvent in kilograms — the calculator handles the conversion automatically. This is handy when data comes from different sources.
  • Percent composition doesn't require all 6 slots. If your compound has only 3 elements, leave the other slots empty. The results table shows only the elements you filled in.
  • Use the element dropdown to auto-fill atomic mass. When you select an element (e.g., Carbon), the calculator loads its standard atomic weight. You don't need to look up values from a periodic table.
  • Verify that percentages add up to ~100%. In Mode 3, the sum of all element percentages should equal 100% (within rounding). If it doesn't, double-check the number of atoms entered.

Frequently Asked Questions

What's the difference between mass percent and molarity?

Mass percent (w/w%w/w\%) is based on mass — how many grams of solute per 100 g of solution. Molarity (MM) is based on moles of solute per liter of solution. Mass percent is temperature-independent (mass doesn't change with temperature), while molarity can shift as a solution expands or contracts.

Can I use this calculator for dilute aqueous solutions?

Yes. For dilute solutions (below ~5% mass percent), mass percent and weight/volume percent give very similar numbers because the density of water is close to 1 g/mL. For concentrated solutions, the difference matters — always use mass percent when precision is important.

Why does the percent composition table update as I type?

The calculator recalculates instantly whenever you change any input. In Mode 3, as soon as you enter or modify the number of atoms for any element, the molecular weight and all percentages update in real time. This lets you explore "what if" scenarios quickly — try changing one atom count and watch the percentages shift.

How many elements can I include in percent composition?

Up to 6 different elements per calculation. If your compound contains more than 6 elements, split the analysis into two passes and combine the results manually. For most common compounds (water, CO₂, NaCl, glucose), 6 slots are more than enough.

Limitations

  • Mass percent ≠ volume percent. This calculator computes mass-based percentages only. If you need volume percent (v/v%) or mass/volume percent (w/v%), use a different formula that accounts for density.
  • Atomic masses are standard values. The calculator uses IUPAC-recommended standard atomic weights. Isotope-specific masses (e.g., for mass spectrometry) are not supported.
  • Maximum 6 elements in percent composition mode. Compounds with more elements require multiple passes.
  • For educational and planning use. While the arithmetic is precise, always verify critical lab calculations with your own checks and follow your institution's protocols.
Mass Percent Calculator – Calculate w/w% Concentration & Percent Composition