Concentration Calculator

Convert between different concentration measures (mass percentage, molarity, molality, mole fraction, and ppm) and calculate solution properties from known values.

Input Values

Enter the values you know. The calculator will compute all possible concentration measures from the given data.

g/mol
g/mL
mol

What Is Concentration?

Concentration is one of the most fundamental concepts in chemistry. It describes how much solute is dissolved in a given quantity of solvent or solution. Whether you are mixing reagents in a research laboratory, preparing intravenous solutions in a hospital, adjusting the chlorine level in a swimming pool, or formulating a new beverage in a food-science kitchen, you are working with concentration.

A solution consists of two main components: the solute (the substance being dissolved) and the solvent (the substance doing the dissolving). The total mixture is called the solution. For example, when you dissolve table salt (NaCl) in water, salt is the solute, water is the solvent, and the resulting saltwater is the solution.

Because chemists, pharmacists, engineers, and environmental scientists all need to communicate precisely about "how much," several different concentration scales have been developed. Each scale is best suited for specific situations. This guide covers the most widely used measures: mass percentage, molarity, molality, mole fraction, parts per million, and parts per billion.

Types of Concentration Measures

1. Mass Percentage (wt%)

Mass percentage, also called weight percent (wt%), expresses concentration as the ratio of the mass of solute to the total mass of the solution, multiplied by 100. It is intuitive and does not require knowledge of the molecular weight of the solute, making it popular in industrial applications.

wt% = (mass of solute / mass of solution) × 100%

Because it depends only on masses, wt% is independent of temperature. This is an advantage over volume-based measures, which shift when liquids expand or contract with temperature changes.

2. Molarity (M)

Molarity is the number of moles of solute per liter of solution. It is the most commonly used concentration unit in academic and analytical chemistry because it directly relates to the number of molecules or ions present, which is what matters during chemical reactions.

M = n / V
where n = moles of solute, V = volume of solution in liters

A key caveat: because volume changes with temperature, molarity is temperature-dependent. At higher temperatures, a solution expands, and its molarity decreases slightly even though the amount of solute stays the same.

3. Molality (m)

Molality is the number of moles of solute per kilogram of solvent (not solution). Unlike molarity, it is independent of temperature because it relies on mass, not volume. Molality is particularly useful in colligative-property calculations such as boiling-point elevation and freezing-point depression.

m = n / msolvent (in kg)
where n = moles of solute

4. Mole Fraction (χ)

The mole fraction of a component is the ratio of the number of moles of that component to the total number of moles of all components in the solution. Mole fractions are dimensionless and always lie between 0 and 1. They are especially useful in thermodynamics and when studying vapor pressures (Raoult's law).

χsolute = nsolute / (nsolute + nsolvent)

5. Parts per Million (ppm) and Parts per Billion (ppb)

For very dilute solutions, mass percentage yields inconveniently small numbers. Parts per million and parts per billion are used instead. One ppm means one part of solute in one million parts of solution by mass, while one ppb means one part per billion.

ppm = (mass of solute / mass of solution) × 106
ppb = (mass of solute / mass of solution) × 109

Environmental science uses ppm and ppb extensively. Drinking-water standards, air-quality regulations, and soil contamination limits are almost always stated in ppm or ppb.

Measure Symbol Formula Temperature-dependent?
Mass percentage wt% (msolute / msolution) × 100 No
Molarity M n / V (L) Yes
Molality m n / msolvent (kg) No
Mole fraction χ nsolute / ntotal No
Parts per million ppm (msolute / msolution) × 106 No

Mass Percentage Concentration Formula in Detail

The mass percentage formula is one of the simplest and most broadly applicable concentration expressions. Let us walk through it step by step.

wt% = (m1 / m2) × 100%
where m1 = mass of solute, m2 = mass of solution

Step 1: Determine the mass of the solute (the substance being dissolved).

Step 2: Determine the mass of the entire solution. Remember that the solution mass equals the solute mass plus the solvent mass: msolution = msolute + msolvent.

Step 3: Divide the solute mass by the solution mass and multiply by 100.

Example: NaCl Solution

You dissolve 20 g of NaCl in 480 g of water. What is the mass percentage?

Solution mass = 20 g + 480 g = 500 g

wt% = (20 / 500) × 100 = 4.00%

This means that for every 100 grams of solution, 4 grams are NaCl.

Molarity Explained

Molarity (symbol M) tells you how many moles of solute are present in one liter of solution. Because chemical reactions occur between molecules (or ions), knowing the number of moles is more useful than knowing the mass when performing stoichiometric calculations.

M = n / V
n = mass of solute / molar mass of solute
V = volume of solution in liters

To prepare a solution of known molarity, you typically:

  1. Calculate the required mass of solute: mass = M × V × molar mass.
  2. Weigh that mass on an analytical balance.
  3. Dissolve the solute in a small amount of solvent inside a volumetric flask.
  4. Add solvent until the solution reaches the desired volume mark on the flask.

Example: Preparing 500 mL of 0.1 M NaCl

Molar mass of NaCl = 58.44 g/mol

Moles needed = 0.1 mol/L × 0.5 L = 0.05 mol

Mass needed = 0.05 mol × 58.44 g/mol = 2.922 g

Dissolve 2.922 g of NaCl in water and dilute to exactly 500 mL in a volumetric flask.

Converting Between Concentration Types

In practice, you often need to convert from one concentration unit to another. Below are the most important conversion formulas.

Molarity to Mass Percentage

wt% = (M × MW) / (d × 10)
where M = molarity, MW = molar mass (g/mol), d = density (g/mL)

This formula comes from expressing the solute mass per liter (M × MW grams) as a fraction of the solution mass per liter (d × 1000 grams).

Mass Percentage to Molarity

M = (wt% × d × 10) / MW

This is simply the inverse of the previous formula, solving for M.

Molarity to Molality

m = (M × 1000) / (1000 × d - M × MW)
where d = density in g/mL, MW = molar mass in g/mol

This conversion requires the density of the solution, because you need to determine how much of each liter of solution is solvent mass.

Molality to Molarity

M = (m × d × 1000) / (1000 + m × MW)

Worked Examples

Example 1: Calculate the mass percentage of a NaCl solution

Given: 58.44 g of NaCl is dissolved in enough water to produce 1 L of solution. The solution density is 1.04 g/mL.

Step 1: Mass of solution = density × volume = 1.04 g/mL × 1000 mL = 1040 g

Step 2: wt% = (58.44 / 1040) × 100 = 5.62%

Example 2: Convert 0.5 M HCl to mass percentage

Given: Molarity = 0.5 M, Molar mass of HCl = 36.46 g/mol, Density = 1.008 g/mL

Using the formula: wt% = (M × MW) / (d × 10)

wt% = (0.5 × 36.46) / (1.008 × 10)

wt% = 18.23 / 10.08 = 1.81%

Example 3: Calculate molality from molarity

Given: A 1 M NaCl solution with density 1.04 g/mL. Molar mass of NaCl = 58.44 g/mol.

Using the formula: m = (M × 1000) / (1000 × d - M × MW)

m = (1 × 1000) / (1000 × 1.04 - 1 × 58.44)

m = 1000 / (1040 - 58.44) = 1000 / 981.56 = 1.019 mol/kg

Dilution: C1V1 = C2V2

When you dilute a concentrated solution by adding more solvent, the amount of solute does not change, only the volume increases. The relationship between the initial and final concentrations and volumes is given by the dilution equation:

C1 × V1 = C2 × V2

Where C1 and V1 are the initial concentration and volume, and C2 and V2 are the final concentration and volume.

Example: Diluting HCl

You have 50 mL of 6 M HCl and need to prepare 2 M HCl. What final volume is required?

C1V1 = C2V2

6 × 50 = 2 × V2

V2 = 300 / 2 = 150 mL

So you need to add water until the total volume reaches 150 mL (i.e., add 100 mL of water).

The dilution equation works for any concentration unit expressed as amount per volume, including molarity and normality. It does not apply directly to mass-based units like wt% or molality without further conversion.

Applications of Concentration Calculations

Laboratory Work

Virtually every experiment in a chemistry laboratory involves preparing solutions of known concentration. Titrations, spectrophotometric analyses, chromatographic separations, and kinetic studies all depend on accurate concentration values. A small error in concentration can invalidate an entire experiment.

Medicine and Pharmacy

Pharmaceutical formulations require precise concentrations. Intravenous saline is a 0.9% NaCl solution (by mass). Drug dosages in injectable solutions are often expressed in mg/mL (a mass-over-volume concentration). A miscalculation can have life-threatening consequences, making concentration arithmetic a critical skill for pharmacists and nurses.

Food and Beverage Industry

Sugar content in beverages is typically expressed as a mass percentage (degrees Brix). Alcohol content is stated as volume percent. Preservative levels, acidity, and salt content all rely on concentration calculations. Food scientists adjust these values to achieve the desired taste, texture, safety, and shelf life.

Water Treatment and Environmental Science

Municipal water supplies must meet strict standards for dissolved contaminants. Chlorine residual in drinking water is monitored in ppm. Heavy metals such as lead and mercury are tracked in ppb. Wastewater treatment plants measure biochemical oxygen demand (BOD) and chemical oxygen demand (COD) in concentration units. Environmental regulations worldwide specify maximum allowable concentrations for hundreds of substances.

Industrial Manufacturing

Electroplating baths, semiconductor etching solutions, paint formulations, and cleaning agents all require precise concentration control. In many manufacturing processes, the concentration of a reagent determines the reaction rate, product quality, and process efficiency. Continuous monitoring and adjustment of concentration are standard practices in chemical engineering.

Agriculture

Fertilizer solutions, pesticide sprays, and nutrient feeds for hydroponic systems all use concentration specifications. Over-concentration of fertilizer can burn plants, while under-concentration wastes resources and yields poor growth. Soil testing reports express nutrient levels in ppm.

Important Relationships Between Variables

Understanding how the input variables relate to one another allows the calculator to derive missing values:

By chaining these relationships together, the calculator can determine all five concentration measures from as few as two or three input fields, provided the inputs contain enough independent information.

Tips for Accurate Concentration Calculations

Frequently Asked Questions

What is the difference between molarity and molality?

Molarity (M) is the number of moles of solute per liter of solution, while molality (m) is the number of moles of solute per kilogram of solvent. Molarity depends on volume (and therefore temperature), whereas molality depends only on mass and is temperature-independent. For dilute aqueous solutions at room temperature, molarity and molality are nearly identical because the density of the solution is close to 1 g/mL.

When should I use ppm instead of mass percentage?

Use ppm for very dilute solutions where the mass percentage would be a very small number. For instance, a concentration of 0.0005% is easier to express and understand as 5 ppm. Environmental and trace-level analyses almost always use ppm or ppb.

How do I convert molarity to mass percentage?

Use the formula: wt% = (M × MW) / (d × 10), where M is molarity, MW is the molar mass in g/mol, and d is the density of the solution in g/mL. You must know the density of the solution to perform this conversion.

Why do I need the density of the solution?

Density links mass to volume. Without it, you cannot convert between mass-based measures (wt%, molality, ppm) and volume-based measures (molarity). If you do not have the density, you can often look it up in reference tables or measure it with a densitometer or pycnometer.

Can I use this calculator for non-aqueous solutions?

Yes, for most measures. The calculator assumes water (molar mass 18.015 g/mol) as the solvent only when calculating the mole fraction. For non-aqueous solvents, the mole fraction result may need manual adjustment. All other calculations (wt%, molarity, molality, ppm) work for any solvent.

What does C1V1 = C2V2 mean?

This is the dilution equation. It states that the product of concentration and volume before dilution equals the product after dilution. It is valid when the only change is the addition of solvent (no solute is added or removed). It works with any concentration unit that is expressed as amount per unit volume, such as molarity.

How many input fields do I need to fill in?

The more fields you provide, the more results the calculator can compute. At a minimum, you need two or three fields to get useful results. For example, solute mass plus solution mass is enough for wt% and ppm. Adding the molar mass enables mole-based calculations. Adding volume or density enables molarity.

Is molarity affected by temperature?

Yes. Molarity is defined per liter of solution, and solution volume changes with temperature due to thermal expansion. At higher temperatures, the same amount of solute occupies a larger volume, so the molarity decreases. If temperature stability matters, consider using molality instead, which is temperature-independent.