Mass Percent Calculator
Mass percent (also written % w/w, percent by mass, or weight percent) tells you how much of a mixture’s mass comes from one component. Divide the mass of the component by the total mass of the mixture and multiply by 100. Chemists use it to describe solutions, food scientists use it for formulations, and students meet it in every stoichiometry chapter. The calculator below goes beyond a one-formula tool: it solves mass percent in five directions, so you can also work backwards from a target percentage to the masses you need.
Mass percent from component and total
Quick Answer
Key takeaways
- The total always includes the component itself. For a solution, total mass means solute plus solvent, never the solvent alone.
- Mass percent is a ratio, so the units cancel: grams, kilograms, or pounds all work, as long as both masses use the same unit.
- The three reverse modes solve for the mass you are missing: the solute, the total, or the solute implied by a solvent you already have.
- A correct mass percent always lands between 0% and 100%, and Mode 1 refuses inputs that would break that rule.
- Quick Answer
- The five formulas, one per mode
- How to prepare a solution at a target mass percent
- Worked example: salt water, forward and back
- Mass percent and the concentration calculator: which page does what
- Where mass percent is used, and its neighbours
- What competing calculators miss
- Frequently asked questions
- Add This Calculator to Your Website
- References
The five formulas, one per mode
Each tab runs one rearrangement of the same relationship, and every result prints the intermediate values so you can follow the algebra. The five formulas below are written exactly as the code computes them.
Total mass = mass of solute + mass of solvent
Solute mass = (target percent / 100) x total mass
Total mass from solute = solute mass / (target percent / 100)
Solute mass from solvent = (percent x solvent) / (100 – percent)
| Mode | You enter | You get | Pre-filled example result |
|---|---|---|---|
| Mass Percent | Component mass, total mass | The percent | 8 g in 50 g = 16.00% |
| Solute + Solvent | Solute mass, solvent mass | The percent, total computed for you | 8 g + 42 g = 16.00% |
| Find Solute | Target percent, total mass | Solute to weigh, solvent to add | 16% of 50 g = 8.0000 g solute |
| Find Total | Target percent, solute mass | Total mixture, solvent to add | 8 g at 16% = 50.0000 g total |
| From Solvent | Target percent, solvent mass | Solute to dissolve, final total | 16% with 42 g water = 8.0000 g solute |
Validation is part of the tool’s behaviour and worth knowing before you rely on it. Modes 1 and 2 accept zero for a single mass but reject negatives and blanks. The three target-percent modes require a percent above 0; Find Solute and Find Total allow exactly 100, while From Solvent requires the target to stay below 100, because at 100% there is no solvent left in the mixture by definition.
How to prepare a solution at a target mass percent
The most common lab task is not computing a percent but hitting one. The Find Solute mode turns the target into a weighing instruction in four steps.
Step 3 is where most errors happen in practice: adding solvent to a target volume makes a volume-based concentration, not a mass percent. Mass percent is weighed, start to finish, which is why it does not drift when a solution warms up and expands the way volume-based measures do. OpenStax states the definition the same way in its OpenStax Chemistry section on other units for solution concentrations: the ratio of the component’s mass to the solution’s mass, expressed as a percentage.
Worked example: salt water, forward and back
Dissolve 8 g of table salt (NaCl) in 42 g of water. Using the Solute + Solvent tab, total mass = 8 + 42 = 50 g, and mass percent = (8 / 50) x 100 = 16.00% w/w. The calculator returns 16.00% and shows the 50 g total it computed, so nothing is hidden inside the division.
Now the reverse direction, with the From Solvent tab: to make a 16% solution with those 42 g of water, solute = (16 x 42) / (100 – 16) = 672 / 84 = 8.0000 g, and the total is 50.0000 g. The round trip confirms the tool is consistent: the reverse solver lands on exactly the solute mass the forward calculation started from. The Find Solute and Find Total modes close the same loop from the other two directions, 16% of a 50 g total giving 8.0000 g of solute, and 8 g of solute at 16% giving a 50.0000 g total.
Mass percent and the concentration calculator: which page does what
These two pages overlap in exactly one place, and it is worth being precise about the boundary. The core division is the same: a component’s share of a whole. Mode 1 of this tool and the mass-percent side of the concentration calculator will give you the same number for the same two masses, because there is only one correct answer to that division.
The pages part company in what they solve for. This page is the mass-percent specialist: it adds a solute-plus-solvent mode that builds the total for you, and three reverse solvers that start from a target percent and hand back the solute mass, the total mass, or the solute implied by a solvent you already have. The concentration page is the generalist: it works across concentration units and problem types, including the mole and volume based forms that mass percent cannot express. If your problem is stated in grams and percents, stay here. If it is stated in moles, liters, or parts per million, the concentration page is the right tool, and the FAQ below draws the same line.
Where mass percent is used, and its neighbours
Chemistry labs prepare reagents at specified w/w concentrations, because a balance is more precise than a meniscus reading. Food science expresses salt, sugar, and fat content as weight percentages on formulations and labels. Pharmacy and cosmetics label creams and ointments in % w/w, where the dose depends on the share by mass. In each case the appeal is the same: the number survives scaling, so a 16% brine is 16% in a beaker or in a tank.
Two neighbouring jobs come up as soon as a mass percent is known. Diluting a stock solution down to a working strength is a ratio problem of its own, handled by our chemical dilution calculator. And when a specification is given per unit volume instead of per unit mass, our concentration volume calculator covers the volume-based side of the family. Keep the three apart: mass percent weighs, dilution ratios volumes or concentrations, and volume-based measures change with temperature.
What competing calculators miss
Most mass percent calculators are one-trick tools: enter two masses, get a percent. The strongest competitor offers four modes, forward, solute-plus-solvent, and two of the reverse solves, but it still cannot work backwards from a known solvent mass, the exact situation you face when the solvent is already in the beaker. Other ranking tools answer a different question entirely, computing mass-by-volume percent from a volume input, which is a different unit wearing a similar name.
This page covers all five directions of the mass percent relationship, shows every intermediate value so students can follow the algebra, and states its validation rules on the page instead of failing silently. The From Solvent mode is the difference that matters at the bench: it starts from the mass you actually have, not the total you wish you had planned.
Frequently asked questions
They use the same math, but the questions differ. Mass percent is the share of one component in a mixture (for example, salt in salt water). Percent composition lists every element’s share in a pure compound (for example, hydrogen is about 11.19% of water by mass). This calculator handles mixtures and solutions; percent composition starts from a chemical formula instead.
No. Mass percent is a ratio of two masses, so the units cancel. You can use grams, milligrams, kilograms, or pounds, as long as both numbers use the same unit. The labels in this tool say grams because lab work is usually in grams, but the math does not care.
Only if the inputs are wrong. The component is part of the total, so a correct mass percent always falls between 0% and 100%. Mode 1 enforces this: it refuses a component mass larger than the total. If your total excludes the component, add it first, or use the Solute + Solvent mode, which builds the total for you.
% w/w (weight by weight) is mass percent: grams of solute per 100 grams of solution. % w/v (weight by volume) is grams of solute per 100 milliliters of solution. They are equal only when the solution’s density is exactly 1 g/mL. This calculator works in % w/w; a % w/v problem needs a volume and usually a density as well.
Use the From Solvent tab. It solves solute = (percent x solvent) / (100 – percent). For example, a 16% solution with 42 g of water needs (16 x 42) / 84 = 8 g of solute. This is the one direction most mass percent tools leave out, and it is the situation you face when the solvent is already measured out in the beaker.
Concentration is the general idea of how much solute sits in a solution, and it can be expressed several ways: mass percent, molarity, molality, or parts per million. Mass percent is the mass-based member of that family. Use this page when your amounts are masses and your target is a percent; use the concentration calculator when the problem is stated in moles, liters, or ppm.
Add This Calculator to Your Website
References
- OpenStax, Rice University, “Other Units for Solution Concentrations”, Chemistry 2e, Section 3.4 – defines mass percentage as the ratio of a component’s mass to the solution’s mass, with the bleach label example used across textbooks. OpenStax: Other Units for Solution Concentrations. Accessed October 2026.
- OpenStax, Rice University, “Other Units for Solution Concentrations”, Chemistry: Atoms First 2e, Section 6.4 – the same mass percentage treatment in the atoms-first sequence, including the % w/w naming variants. OpenStax Atoms First: Solution Concentration Units. Accessed October 2026.
- OpenStax, Rice University, “Determining Empirical and Molecular Formulas”, Chemistry: Atoms First, Section 6.2 – percent composition from formula masses, the compound-side counterpart to the mixture-side mass percent defined on this page. OpenStax: Empirical and Molecular Formulas. Accessed October 2026.
- Chemistry LibreTexts, “Concentrations: Mass Percent”, CHEM 120 Fundamentals of Chemistry, Section 7.13 – presents both mass percent equations, component over solution and solute over solute plus solvent, that Modes 1 and 2 of this tool implement. LibreTexts: Concentrations, Mass Percent. Accessed October 2026.
- Chemistry LibreTexts, “Composition of Substances and Solutions”, Chemistry 1e (OpenStax), Chapter 3 – the chapter framework covering formula mass, the mole, molarity, and percent-based concentrations. LibreTexts: Composition of Substances and Solutions. Accessed October 2026.
