Calculate grams of a substance from total mixture mass and mass percent, or find the missing total mass or percent using common weight units.

Use mass percent (w/w): the substance’s share of the total mixture mass.

The whole mixture includes the substance. Percent mode requires a positive total.

Enter 0–100% by mass (w/w). Total-mass mode requires a percentage above zero.

Display precision

Very small nonzero values use scientific notation rather than displaying zero.

Percent to Grams (Total Mixture = 100 g)
Percent to GramsGrams to Percent
0.1% of 100 g = 0.1 g0.2 g in 100 g = 0.2%
0.25% of 100 g = 0.25 g0.4 g in 100 g = 0.4%
0.5% of 100 g = 0.5 g0.8 g in 100 g = 0.8%
1% of 100 g = 1 g3 g in 100 g = 3%
2% of 100 g = 2 g6 g in 100 g = 6%
5% of 100 g = 5 g15 g in 100 g = 15%
10% of 100 g = 10 g25 g in 100 g = 25%
25% of 100 g = 25 g50 g in 100 g = 50%
50% of 100 g = 50 g75 g in 100 g = 75%
75% of 100 g = 75 g100 g in 100 g = 100%
Formula: grams = total x % / 100. Assumes total mixture = 100 g.
Percent to Grams (Total Mixture = 1 kg)
Percent to GramsGrams to Percent
10% of 1 kg = 100 g1 g in 1 kg = 0.1%
12.5% of 1 kg = 125 g2.5 g in 1 kg = 0.25%
15% of 1 kg = 150 g5 g in 1 kg = 0.5%
20% of 1 kg = 200 g10 g in 1 kg = 1%
25% of 1 kg = 250 g25 g in 1 kg = 2.5%
33.3% of 1 kg = 333 g50 g in 1 kg = 5%
50% of 1 kg = 500 g100 g in 1 kg = 10%
75% of 1 kg = 750 g250 g in 1 kg = 25%
Formula: grams = total x % / 100. Assumes total mixture = 1 kg.
Illustrative Mass Percent (w/w%) Examples
SubstanceSoluteAssumed w/w%g per 1 kg mixture
Salt mixture ADissolved salts3.5%35 g
Salt mixture BNaCl0.9%9 g
Carbohydrate mixtureCarbohydrates6-8%60-80 g
Acetic acid mixtureAcetic acid4-5%40-50 g
Sodium hypochlorite mixtureSodium hypochlorite (NaOCl)3-8%30-80 g
Hydrogen peroxide mixtureH2O23%30 g
Fat-containing mixtureFat3.25-3.5%32.5-35 g
Protein mixtureTotal protein6-8%60-80 g
Retinol-containing mixtureRetinol0.025-1%0.25-10 g
Salt mixture CNaCl0.9%9 g
Assumed mass fractions for arithmetic examples, not verified commercial or clinical formulations. Each result is per 1 kg of total mixture. A real product’s percentage may use a different basis.

Percent to Grams Formula

The formula below calculates the mass in grams of a substance given its mass percent and total mixture mass.

G = TM × POM / 100
  • G = grams of the substance
  • TM = total mass of the mixture (grams)
  • POM = percent of mass the substance represents (%)

w/w% vs w/v%: A Key Distinction

Mass percent (w/w%) is 100 times the substance mass divided by total mixture mass, consistent with the IUPAC mass fraction definition. A component’s mass percentage is between 0 and 100; the component cannot exceed the whole. Mass per volume (w/v%) instead gives grams per 100 mL of final solution. These are different concentration bases. This calculator uses mass percent only.

Converting between w/w and w/v requires the solution’s density. With density ρ in g/mL, the numerical w/v percentage = w/w percentage × ρ, and w/w percentage = w/v percentage / ρ. Volume percent (v/v) is another basis and must not be inferred from pure-component density alone. For example, the official 0.9% sodium chloride injection label specifies 0.9 g per 100 mL, not per 100 g. Do not treat a volume label as a mass percentage without the required basis and density.

Worked Example

Suppose a mixture is explicitly 5.25% sodium hypochlorite (NaOCl) by mass (w/w). The total mixture weighs 750 g. How many grams of NaOCl does it contain? This is an arithmetic example, not an assumption about a product label’s concentration basis.

G = 750 g × 5.25 / 100 = 39.375 g NaOCl. At 2 maximum decimal places, the calculator displays 39.38 g; at 4 places, it displays 39.375 g.

Conversely, 9 g of NaCl in a hypothetical 1,000 g total mixture is POM = (9 / 1000) × 100 = 0.9% by mass. That arithmetic example is not the volume-based definition of a saline product. To find the total instead, 39.375 g at 5.25% by mass gives TM = 39.375 × 100 / 5.25 = 750 g. A zero percentage cannot determine a total; a positive total with zero substance gives 0%.