Skip to main content
chemistry

Concentration Calculator

Calculate mass concentration (g/L or mg/mL) from the mass of solute and the volume of solution.

By Christopher FloiedPublished Updated

Must be greater than 0

Results

Concentration (g/L)

50

Concentration (mg/mL)

50

Concentration (% w/v)

5%

How to Use This Calculator

1

Enter your input values

Fill in all required input fields for the Concentration Calculator. Follow the units and input format printed next to each field. Where a unit selector is available, choose the units that match your data.

2

Review your inputs

Double-check that all values are correct and match the units or format shown for each field. Incorrect units are the most common source of calculation errors and can produce results that are off by factors of 2, 10, or more.

3

Read the results

The Concentration Calculator computes the output in your browser and displays the results, with units clearly labeled, as soon as they are ready — no data sent to a server.

4

Explore parameter sensitivity

Try adjusting individual input values to see how the output changes. This is a quick and effective way to develop intuition about how different parameters influence the result and to identify which inputs have the largest effect.

When to Use This Calculator

  • •Use the Concentration Calculator when you need accurate results quickly without the risk of manual computation errors or unit conversion mistakes.
  • •Use it to verify calculations made by hand or in spreadsheets — an independent check can catch errors before they lead to costly decisions.
  • •Use it to explore how changing input parameters affects the output — a quick way to develop intuition and identify the most influential variables.
  • •Use it when collaborating with others to ensure everyone is working from the same numbers and applying the same assumptions.

Related Calculators

About Concentration Calculator

The concentration calculator determines the mass concentration of a solution in multiple common units: grams per liter (g/L), milligrams per milliliter (mg/mL), and weight/volume percent (% w/v). Mass concentration is the most intuitive expression of 'how much solute is dissolved in how much solution' and is widely used in pharmacy, clinical chemistry, food science, and environmental monitoring. Unlike molarity, mass concentration does not require knowing the molar mass of the solute, making it convenient for complex mixtures, polymers, and biological extracts where the exact molecular weight may not be known.

The Math Behind It

Mass concentration is simply the mass of solute divided by the volume of solution, with units depending on the measurement system used. In the SI system, the base unit is kg/m³, but practical chemistry and biology commonly use g/L or mg/mL (which are numerically equivalent). Weight/volume percent (% w/v) is defined as grams of solute per 100 mL of solution — a 5% w/v NaCl solution contains 5 g of NaCl in every 100 mL. This notation is particularly common in pharmaceutical and clinical contexts. Note that % w/v is not the same as % w/w (weight/weight), which is mass of solute per mass of solution. For aqueous solutions of low concentration, the two are approximately equal because the density of the solution is close to 1 g/mL. For concentrated solutions or non-aqueous solvents, the distinction matters. To convert between mass concentration and molarity, divide the mass concentration (g/L) by the molar mass (g/mol).

Formula Reference

Mass Concentration

C = mass / volume

Variables: C = concentration; mass in grams; volume in liters (for g/L) or mL (for mg/mL)

Worked Examples

Example 1: Saline solution

5 g NaCl in 100 mL of solution.

Step 1:g/L = 5 / 0.1 = 50 g/L.
Step 2:mg/mL = 5000 / 100 = 50 mg/mL.
Step 3:% w/v = (5 / 100) × 100 = 5%.

The solution is 50 g/L (50 mg/mL), or 5% w/v.

Common Mistakes & Tips

  • !Confusing % w/v with % w/w — they differ for solutions whose density is not 1 g/mL.
  • !Using the mass of the solution (solute + solvent) in the denominator instead of just the volume.
  • !Forgetting unit conversion between mL and L.

Related Concepts

Used in These Calculators

Calculators that build on or apply the concepts from this page:

Frequently Asked Questions

Is g/L the same as mg/mL?

Yes. 1 g/L = 1 mg/mL. Both express the same concentration; the choice depends on convention in your field.

When should I use mass concentration vs. molarity?

Use mass concentration when you do not need stoichiometric calculations (e.g., reporting pollutant levels in mg/L) or when the molar mass is unknown (e.g., protein solutions). Use molarity for chemical reactions and stoichiometry.

Add the live Concentration Calculator to your site. Free to embed, with a link back to MegaCalc.