Molarity Calculator

By: Calculator Grid

Molarity Calculator

Calculate molarity, amount of substance, mass concentration, and the mass needed to prepare a solution from consistent laboratory units.

Moles: 0.2000 mol Volume: 0.5000 L Mass concentration: 23.3760 g/L

Solution inputs

Mass of dissolved solute.
Molar mass of the solute.
Final total solution volume, not solvent volume alone.

Live results

Molarity
0.400000 M
Amount of substance
0.200000 mol
Mass concentration
23.3760 g/L
Mass for 1.000 L
23.3760 g
M = 11.688 g ÷ (58.44 g/mol × 0.5000 L) = 0.400000 mol/L
Workbook ready.
Molarity is 0.400000 mol/L.

Calculation breakdown

Quantity Canonical value Relationship
Solute mass 11.6880 g Entered value
Moles 0.200000 mol mass ÷ molar mass
Solution volume 0.500000 L Converted from 500 mL
Molarity 0.400000 mol/L moles ÷ volume
All calculations use the final solution volume. Adding solute can change volume, so laboratory preparation normally dissolves the solute first and then brings the solution up to the target mark.

How to use this molarity calculator

What this calculator does. It converts between solute mass, molecular weight, solution volume, amount of substance, mass concentration, and molarity. It is useful for preparing laboratory solutions, checking a recipe for a buffer or reagent, translating a mass-per-volume specification into mol/L, and verifying homework or process calculations. It does not determine purity, activity coefficients, dissociation, pH, temperature-dependent density, or whether a chemical procedure is safe.

When to use it. Use the calculator when you know a solute mass and final solution volume, when a specification gives mass concentration instead of molarity, when you need the number of moles present, or when you want the mass required per liter at a chosen molarity. For authoritative terminology, IUPAC defines amount concentration as amount of a constituent divided by mixture volume.

How to calculate. The calculator opens with a complete sodium chloride demonstration: 11.688 g NaCl, molecular weight 58.44 g/mol, and 500 mL solution. Its example workbook is immediately available.

  1. Choose a Calculation route. Select “Mass, molar mass, and solution volume” when you have a weighed solute and final volume. Select “Mass concentration and molar mass” when a specification already gives grams per liter or an equivalent unit.
  2. Replace the sample values with your own measurements. Choose units before interpreting the answer; changing a unit converts the current value so the physical quantity stays the same.
  3. Read the live Molarity, Amount of substance, Mass concentration, and Mass for 1.000 L. The breakdown table shows the canonical gram, liter, mole, and mol/L values used.
  4. Select Download Excel to export the current validated calculation as a real workbook. Select Reset to clear the demonstration and calculated state; the export then remains unavailable until a complete valid input set is entered again.

Input guide. Solute mass is required in the mass-and-volume route. Enter a positive decimal in g, mg, or kg; 11.688 g is a realistic example. A larger mass raises moles and molarity when molecular weight and volume are fixed. Do not enter the mass of solvent or container. Molecular weight is required in both routes and accepts a positive decimal in g/mol or kg/mol; 58.44 g/mol is the approximate molar mass of NaCl. A larger molecular weight lowers the number of moles represented by the same mass. Solution volume is required in the mass-and-volume route and accepts a positive decimal in mL, L, or µL; 500 mL is the sample. Increasing volume lowers molarity when the solute amount is fixed. Mass concentration is required in the alternate route and accepts g/L, g/mL, or mg/mL; 23.376 g/L is equivalent to the startup example. It is solute mass divided by final solution volume, not density unless the context truly makes those quantities identical.

Output guide. Molarity is amount of substance per liter of final solution, shown in mol/L and the equivalent symbol M. Amount of substance is the calculated moles of solute. Mass concentration is grams of solute per liter of final solution. Mass for 1.000 L is the grams needed to make one liter at the displayed molarity, assuming the same solute and ideal arithmetic. The summary pills repeat moles, canonical volume, and mass concentration for quick checking. Zero is not accepted for required physical quantities because division by zero would make the model undefined.

Worked example. For 11.688 g NaCl with molecular weight 58.44 g/mol, the amount is 11.688 ÷ 58.44 = 0.200000 mol. A 500 mL final volume equals 0.5000 L. Molarity is therefore 0.200000 ÷ 0.5000 = 0.400000 M. The corresponding mass concentration is 11.688 ÷ 0.5000 = 23.3760 g/L. The mole is an SI base unit; NIST explains the SI treatment of amount of substance and concentration.

Formula and unit logic

moles = mass ÷ molar mass
molarity = moles ÷ solution volume
mass concentration = mass ÷ solution volume
molarity = mass concentration ÷ molar mass

These relationships require compatible units. The calculator converts mass to grams, volume to liters, molecular weight to grams per mole, and mass concentration to grams per liter before applying the formulas. One mol/L is numerically the same as one M. The BIPM definition of the mole fixes the Avogadro constant exactly, while practical molarity still depends on how accurately mass, molar mass, and final volume are known.

Common mistakes and interpretation limits

  • Using solvent volume instead of final solution volume.
  • Mixing milliliters with liters without conversion.
  • Using molecular mass in atomic mass units but forgetting that the same numerical value is interpreted as g/mol for a molar mass.
  • Confusing molarity with molality, which uses kilograms of solvent rather than liters of solution.
  • Treating a calculated value as a substitute for chemical compatibility, purity data, calibrated glassware, or a written safety procedure.