molecalculator

Moles & Molar Mass

Grams to Percentage Calculator: Formula and Examples

Calculator No. 01-0801 · Updated · Formula and assumptions shown below

Mass percentage 12.50 %
Mass remaining
175.00 g
= Total mass − Part mass
Part mass
25 g
Set in the form below
Total mass
200 g
Set in the form below
You enter
Part mass (g), Total mass (g)
You get
Mass percentage (%), Mass remaining (g)
Rounding
2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A grams-to-percentage calculator finds what percentage a mass represents of a larger total mass: enter the grams of the part and the grams of the whole to get the mass percentage. It uses percentage = part mass ÷ total mass × 100, so both values must describe masses measured on the same basis.

Formula

The mass percentage is the mass of the part divided by the total mass, multiplied by 100:

Mass percentage (%) = (part mass ÷ total mass) × 100

  • p is the mass of the part being measured, in grams (g).
  • t is the total mass that contains the part, in grams (g).
  • pct is the part’s mass percentage of the total, in percent (%).

The calculator also reports the mass remaining after subtracting the part from the total: t − p, in grams. This is a helper result; the percentage is the headline answer. The formula assumes the part is included in the total, which is why the part mass cannot exceed the total mass.

Worked Example

Using the calculator’s defaults, the part mass is 25 g and the total mass is 200 g.

  1. Divide the part by the total: 25 g ÷ 200 g = 0.125.
  2. Convert the ratio to a percentage: 0.125 × 100 = 12.50%.
  3. Find the remaining mass: 200 g − 25 g = 175.00 g.

So 25 g is 12.50% of 200 g, and 175 g remains outside the part being counted.

Assumptions

  • The part is contained within the stated total, so the part mass is no greater than the total mass.
  • Both masses use the same unit and refer to the same material or mixture at the same measurement stage.
  • The result is a mass percentage, not a percentage by volume, mole fraction, or concentration per unit volume.
  • Input masses are nonnegative, and the total mass must be greater than zero.

How to Use a Grams-to-Percentage Calculator

First identify the quantity whose share you want. Enter its mass as the part. Then enter the mass of the complete mixture or whole that contains it. The calculator divides the first value by the second and multiplies by 100. If the masses were recorded in different units, convert them to the same unit before entering them.

  • For 8 g out of 40 g: 8 ÷ 40 × 100 = 20%.
  • For 3 g out of 500 g: 3 ÷ 500 × 100 = 0.6%.
  • For 125 g out of 250 g: 125 ÷ 250 × 100 = 50%.

The gram unit cancels in the division: g ÷ g is a dimensionless ratio. Multiplying by 100 expresses that ratio as a percentage. Therefore, using grams is convenient but not essential; the same calculation works with kilograms or milligrams if both inputs use the same unit.

What Does the Percentage Mean?

A result of 20% means that, for every 100 mass units of the whole, 20 mass units are the part. It does not mean the part weighs 20 g unless the total weighs 100 g. For a 250 g total, a 20% part weighs 50 g.

In chemistry and food labeling, this kind of calculation is often described as mass percent or percent by mass. When the total is a solution, the convention is commonly written as % (m/m), meaning grams of solute per 100 grams of final solution. For example, 5 g of a substance in 100 g of final solution is 5% (m/m). The denominator is the mass of the complete solution, not just the mass of the liquid used as a solvent.

Mass percentage is not the same as grams per 100 mL, which is a mass-per-volume concentration, or % (v/v), which compares volumes. These quantities have different denominators and cannot be substituted for one another without additional information such as density.

Common Errors and Limits

  • Using the wrong whole: The denominator must be the total that includes the part. Dividing by the mass of a separate ingredient answers a different question.
  • Mixing units: Convert, for example, 0.2 kg to 200 g before comparing it with a value in grams. A mismatch can make the answer wrong by a factor of 1,000.
  • Using solvent mass instead of final solution mass: In a mass-percent solution calculation, include the solute in the total solution mass.
  • Confusing mass and volume percentages: Grams alone cannot establish a volume percentage. Do not assume that a gram and a millilitre are interchangeable; that depends on density.
  • Rounding too early: Keep the original values through the calculation and round only the final display to a precision justified by the measurements.

If the part is greater than the stated total, check whether the denominator was entered correctly or whether the two values refer to different samples. A percentage above 100% is possible in other comparisons, but not when the part is genuinely contained within the total mass as this calculator assumes.

Frequently Asked Questions

How do I calculate what percentage 10 g is of 250 g?
Divide 10 by 250 and multiply by 100: 10 ÷ 250 × 100 = 4%. Thus, 10 g is 4% of 250 g.

What is the formula for grams to percent?
Use (grams of the part ÷ grams of the whole) × 100. The two masses must use matching units, and the whole must include the part.

Can I calculate a percentage if the masses use different units?
Yes, but convert them to the same unit first. For example, convert kilograms to grams by multiplying by 1,000, or grams to milligrams by multiplying by 1,000.

Is grams to percent the same as percent by mass?
It is when the grams describe a part and the complete total mass. For a solution, percent by mass is usually grams of solute per 100 grams of final solution, written % (m/m).

Can the result be more than 100%?
Not if the part is included in the total. A result above 100% usually signals an incorrect denominator, incompatible samples, or a different comparison than part-of-whole mass percentage.

Related

Formula used
in p | Part mass | g | 25 | 0
in t | Total mass | g | 200 | 0.000001
out pct | Mass percentage | % | p / t * 100 | 2
out rem | Mass remaining | g | t - p | 2

Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.

More in this section

The whole Moles & Molar Mass section →