molecalculator

Moles & Molar Mass

Percent Purity: Formula and Worked Example

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

Percent purity 80.00 %
Impurity percentage
20.00 %
= 100 − Percent purity
Mass of pure substance
8 g
Set in the form below
Total sample mass
10 g
Set in the form below
You enter
Mass of pure substance (g), Total sample mass (g)
You get
Percent purity (%), Impurity percentage (%)
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 percent-purity calculator finds what fraction of a sample is the desired pure substance, expressed as a percentage. Enter the mass of pure substance and the total sample mass to get percent purity; use masses measured in the same units. This is useful for checking a sample when the pure component’s mass is known from an analysis or reaction calculation.

Formula

Percent purity = (mass of pure substance ÷ total mass of sample) × 100. In symbols, % purity = (mpure / msample) × 100. Here, mpure is the mass of the desired substance in grams, and msample is the mass of the entire sample in grams. Both masses must use the same unit, so the ratio has no units before it is multiplied by 100. The calculator also reports impurity percentage as 100 − percent purity.

The sample mass must be greater than zero, and the pure-substance mass cannot be negative. For a physically consistent sample, the pure mass should not exceed the total sample mass. The calculator rejects negative masses and a zero total, but check the relationship between your two measurements before trusting the result.

Worked Example

Using the calculator’s default values, the sample contains 8 g of pure substance in a 10 g total sample.

  1. Divide the pure mass by the total sample mass: 8 g ÷ 10 g = 0.8.
  2. Convert the fraction to a percentage: 0.8 × 100 = 80.00% purity.
  3. Find the impurity percentage: 100 − 80.00 = 20.00%.

The sample is 80.00% pure by mass, with 20.00% of its mass made up of other material.

Assumptions

  • The measured pure-substance mass refers to the desired component in the same sample whose total mass is entered.
  • Both values are mass measurements, taken on a consistent basis and in the same units.
  • Any moisture, residue, or other material included in the sample’s total mass counts as non-target material unless the chosen method defines it otherwise.
  • The calculation does not identify impurities or determine how the pure mass was measured.

What You’ll Need

  • The mass of the entire sample, measured with a suitable balance.
  • The mass of the desired pure substance in that sample, established from a valid analysis or calculation.
  • A calculator, or the percent-purity calculator above.
  • Consistent mass units, such as grams for both measurements.

If the pure-substance mass is not directly known, you first need an appropriate analytical method or a reaction calculation that determines it. A balance reading for the whole sample alone is not enough to reveal its purity. For laboratory work, follow your lab method, the safety data sheet (SDS) and your supervisor.

Step-by-Step

  1. Define what counts as pure substance. Specify the target compound or material. Purity is always relative to a defined target: a sample can be pure with respect to one component while containing unwanted water, solvent, or other substances.
  2. Measure the full sample mass. Record the mass of the whole sample, not just the portion believed to be pure. If using a container, subtract its mass or tare the balance so the recorded value represents the sample alone.
  3. Determine the target’s mass in the sample. Use the result of a suitable analytical method, a validated assay, or a correct stoichiometric calculation. Do not assume that the mass of a starting material or recovered product is entirely pure unless that is justified by the method.
  4. Make the units match. Convert both masses to the same unit before dividing. For example, convert milligrams to grams by dividing by 1,000. If the pure mass is 800 mg and the sample mass is 1.00 g, use 0.800 g and 1.00 g.
  5. Divide pure mass by total sample mass. The result is the sample’s mass fraction of the desired substance. Keep a few extra digits during this step to reduce rounding error.
  6. Multiply by 100. This converts the mass fraction to a percentage. Enter the pure mass as the first value and the total mass as the second in the calculator.
  7. Check the result and report it clearly. A typical result is between 0% and 100%. State that it is percent purity by mass, and report appropriate significant figures. If useful, the impurity percentage is 100% minus the purity percentage.

Common Mistakes

  • Using the wrong denominator: Divide by the mass of the complete sample, not by the mass of the pure portion or the container.
  • Mixing units: Dividing milligrams by grams without converting produces a result off by a factor of 1,000.
  • Confusing purity with percent yield: Purity describes the fraction of a sample that is the target substance. Yield compares the amount obtained with the amount theoretically expected from a reaction. They answer different questions.
  • Assuming the whole sample is pure: A product’s mass may include water, solvent, unreacted material, or other components. Use evidence about composition, not appearance alone.
  • Rounding too early: Keep the measured values and intermediate ratio at their available precision, then round the final percentage sensibly.
  • Reporting a result above 100% without checking: This commonly indicates a unit mismatch, transcription error, wrong sample mass, or uncertainty in the assay. It is not a physically meaningful ordinary mass purity.

Tips

  • Write down the sample identity, measurement basis, units, and source of the pure-mass value alongside the result.
  • Use the same basis for both masses. For example, do not compare a dry-basis pure mass with a sample mass that includes moisture unless the method specifically accounts for it.
  • Keep the unrounded calculation in your notes. Round only the final reported value, using precision supported by the measurements and analytical method.
  • For repeated measurements, calculate each result consistently and report variability when it matters. Do not average values with incompatible units or measurement bases.
  • Interpret the result within the method’s scope. A calculated percentage is only as reliable as the mass measurements, assay, and assumptions that produced its inputs.

Troubleshooting

  • The answer is above 100%: Confirm that the pure mass is part of the entered sample, convert both masses to the same unit, and check decimal placement. Review whether the analytical result is a concentration or amount that still needs conversion to mass.
  • The answer is unexpectedly tiny: Check whether one input is in milligrams and the other in grams, and make sure the pure mass was not entered as a percentage or fraction instead of a mass.
  • The calculator will not accept the values: The total sample mass must be greater than zero. Enter positive values and check that the pure mass does not exceed the total sample mass.
  • You know only the sample mass: Purity cannot be calculated from that measurement alone. Obtain a valid determination of the target substance’s mass or mass fraction before applying the formula.
  • Different methods give different results: Check whether they measure the same target and use the same dry or as-received basis. Review calibration, sampling, interferences, and uncertainty with the method documentation or a qualified supervisor.

Frequently Asked Questions

What is the formula for percent purity?
Divide the mass of the desired pure substance by the total sample mass, then multiply by 100.

Can I use milligrams instead of grams?
Yes. Use the same unit for both masses. For example, mg divided by mg gives the same percentage as g divided by g.

Can percent purity be more than 100%?
Not for an ordinary mass fraction. A result above 100% signals inconsistent units, incorrect inputs, or a measurement or calculation problem.

Is percent purity the same as percent yield?
No. Purity is the proportion of the sample that is the target material; yield compares actual product obtained with theoretical product expected.

How do I calculate purity if the pure mass is unknown?
You need a suitable assay or a justified calculation to determine the target’s mass. Total sample mass by itself cannot determine composition.

Should I include water or solvent in the sample mass?
Use the mass basis specified by the method. If the sample is measured as received, water and solvent count in total mass; a dry-basis result requires a consistent moisture correction.

Related

Formula used
in p | Mass of pure substance | g | 8 | 0
in s | Total sample mass | g | 10 | 0
out purity | Percent purity | % | (p / s) * 100 | 2
out impurity | Impurity percentage | % | 100 - purity | 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 →