HomeCalculatorsChemistryMolarity Calculator

Molarity Calculator

Chemistry

Calculate the molarity of a solution from the mass of solute, its molar mass, and the volume of solution. Instant mol/L results with step-by-step working shown.

Reviewed by the thecalcu.com team · Last updated July 4, 2026

58.44 g
g
58.44 g/mol
g/mol
1 L
L

Molarity (mol/L)

1
Moles of Solute (mol)
1

This calculator computes your Molarity (mol/L), Moles of Solute (mol) from the values you enter.

Inputs
Mass of SoluteMolar Mass of SoluteVolume of Solution
Outputs
Molarity (mol/L)Moles of Solute (mol)

What is a Molarity?

The Molarity Calculator computes the molar concentration of a solution, that is, how many moles of solute are present in every litre of solution. Molarity (symbol M) is the single most important concentration unit in chemistry because stoichiometry, reaction yields, and preparation of standard solutions all depend on it. Knowing the molarity of a reagent tells you exactly how many reacting particles you have in a given volume, which is essential for designing experiments and interpreting results.

In a laboratory, preparing a solution of known molarity is one of the first practical skills taught. You weigh out the required mass of solute, dissolve it, and then make up the volume precisely to the required level using a volumetric flask. The Molarity Calculator reverses this process or verifies it: enter the mass of solute in grams, the molar mass of the substance in g/mol, and the final volume of solution in litres to get the exact molarity in mol/L.

Indian chemistry students encounter molarity from Class 11 onwards (NCERT Chapter 1, Some Basic Concepts of Chemistry) and it forms a central topic in JEE Main, JEE Advanced, and NEET preparation. Laboratory work for CBSE and ISC boards requires preparing solutions of precise concentrations, typically 0.1 M, 0.5 M, or 1 M, for acid-base and redox titrations.

Beyond academics, molarity is used in pharmaceutical manufacturing, food processing, water treatment plants, and biochemical research. Whenever a recipe calls for a "1 M phosphate buffer" or a "0.9% saline equivalent in molar terms," the underlying calculation is the one this tool performs. Related concentration measures include molality, which is preferred when temperature changes are involved, and mole fraction, which is used in vapour pressure and colligative property calculations.

Why Use a Molarity Calculator?

Calculating molarity by hand is straightforward but error-prone, especially when working with multiple solutions or converting between mass units and volumes. A single arithmetic slip can invalidate an entire titration or synthesis. The Molarity Calculator removes that risk by performing the two-step calculation, grams to moles, then moles to molarity, in one operation.

Practical use cases include:

  • Lab prep: Quickly verify whether the mass you have weighed out will produce the target concentration when dissolved to a given volume.
  • Titration setup: Determine the exact molarity of a prepared solution before using it as a titrant.
  • Scaling reagents: Scale a reaction up or down while keeping the molarity constant, change the volume and recalculate the required mass in seconds.
  • Quality control: Confirm solution concentrations during pharmaceutical or industrial batch preparation.

If you need to work backward, finding what mass to weigh for a target molarity, enter the desired molarity, rearrange mentally (mass = molarity × volume × molar mass), or pair this calculator with the Grams to Moles Calculator for the reverse step.

Who Should Use This Calculator?

School and college students studying chemistry at Class 11–12 level (CBSE, ICSE, state boards) or undergraduate programmes will use this calculator constantly during practicals and exam problem-solving. It covers the exact calculation type found in volumetric analysis questions.

JEE and NEET aspirants encounter molarity in solution chemistry, electrochemistry, and chemical kinetics problems. Using this tool to check manual working builds speed and confidence.

Lab technicians and research scientists preparing standard solutions, buffers, or reagent stocks benefit from quick verification without reaching for a calculator or spreadsheet.

Pharmacists and pharmaceutical QC teams need precise concentration calculations when preparing drug solutions, IV fluids, and compounded medications. Errors in molarity at this level can have serious consequences, making a reliable calculator essential.

Teachers and tutors can use this tool as a demonstration aid during lectures, letting students see the effect of changing mass or volume on final concentration. Pair it with the Mole Calculator to show the intermediate mole calculation step by step.

What Insights Does the Molarity Calculator Give You?

Molarity (mol/L) is the primary output. This is the concentration of your solution expressed in standard chemistry units. A result of 1.0 M means 1 mole of solute per litre; 0.5 M means half a mole per litre. This figure tells you directly how many moles of solute are available for reaction in any volume of the solution you draw: moles used = molarity × volume (L).

Moles of solute (mol) is the intermediate value shown alongside the final concentration. Seeing this figure is useful when you need to know the absolute amount of substance dissolved, independent of volume, for instance, when calculating the theoretical yield of a reaction or checking whether you have enough reagent for multiple aliquots.

Together, these two outputs give you everything you need to proceed with stoichiometric calculations, prepare serial dilutions, or cross-check a gravimetric weighing against a concentration target.

How to use this Molarity calculator

  1. Enter the Mass of Solute, type the mass of the substance you have dissolved (or plan to dissolve) in the Mass of Solute field, in grams (g). For example, for NaCl enter 58.44.
  2. Enter the Molar Mass of Solute, type the molar mass of your substance in the Molar Mass of Solute field, in g/mol. For NaCl this is 58.44 g/mol; for glucose (C₆H₁₂O₆) it is 180.16 g/mol. Look up molar mass from the compound's formula and a periodic table.
  3. Enter the Volume of Solution, type the total volume of the prepared solution in the Volume of Solution field, in litres (L). If your volume is in millilitres, divide by 1000 first (e.g., 250 mL = 0.25 L).
  4. Read the results, the calculator instantly shows Molarity (mol/L) as the highlighted primary result and Moles of Solute (mol) as a secondary output.
  5. Check the step-by-step working, expand the steps panel to see the two calculation stages: grams → moles, then moles → molarity. This is useful for understanding the derivation or reproducing the working in a lab report or exam answer.
  6. Interpret and act, compare the calculated molarity against your target. If the molarity is too high, you need to use less solute or increase the volume. If too low, increase the mass of solute or reduce the final volume.
Show formula & methodology ↓Show less ↑

Formula & Methodology

Molarity is calculated in two steps:

Step 1, Convert mass to moles:

> n = m ÷ M_r

Where:
- n = moles of solute (mol)
- m = mass of solute (g)
- M_r = molar mass of solute (g/mol)

Step 2, Divide moles by volume:

> C = n ÷ V

Where:
- C = molarity (mol/L)
- n = moles of solute (mol)
- V = volume of solution (L)

Combined:

> C = m ÷ (M_r × V)

Worked example:

Prepare a solution by dissolving 29.22 g of NaCl (molar mass = 58.44 g/mol) in water to make 500 mL (0.5 L) of solution.

- n = 29.22 g ÷ 58.44 g/mol = 0.5 mol
- C = 0.5 mol ÷ 0.5 L = 1.0 mol/L (1 M)

This is a standard 1 M NaCl solution, one of the most commonly prepared solutions in chemistry and biology labs. Note that the volume refers to the final volume of the solution, not the volume of solvent added, always make up to volume in a calibrated volumetric flask, not simply add the solute to a fixed volume of water.

Frequently Asked Questions

What is molarity?
Molarity is a measure of the concentration of a solute in a solution, expressed as the number of moles of solute per litre of solution. It is denoted by the symbol M and has the unit mol/L. Molarity is one of the most commonly used concentration units in chemistry because it directly relates to the number of reacting particles in a given volume, making stoichiometric calculations straightforward.
What is the formula for molarity?
The molarity formula is M = n ÷ V, where M is molarity in mol/L, n is the number of moles of solute, and V is the volume of solution in litres. The number of moles is itself calculated as n = mass (g) ÷ molar mass (g/mol). Combining both steps gives the complete formula: M = mass ÷ (molar mass × volume).
What is the difference between molarity and molality?
Molarity (M) is defined as moles of solute per litre of solution, so its value changes with temperature because liquid volumes expand and contract with heat. Molality (m) is defined as moles of solute per kilogram of solvent, making it temperature-independent. For precise work involving temperature changes, such as boiling point elevation or freezing point depression, molality is preferred. Use the [Molality Calculator](/molality-calculator/) when the experiment involves temperature variation.
What is the difference between molarity and normality?
Molarity measures the total number of moles of solute per litre, whereas normality measures the number of equivalents of solute per litre. For acids and bases, the relationship is N = M × n, where n is the number of protons (acids) or hydroxide ions (bases) that the solute donates or accepts per formula unit. For a monoprotic acid like HCl, normality equals molarity; for H₂SO₄, normality is twice the molarity.
How do I convert grams to moles for the calculator?
To convert grams to moles, divide the mass of the solute in grams by its molar mass in g/mol. For example, 58.44 g of NaCl divided by its molar mass of 58.44 g/mol gives exactly 1 mole. The Molarity Calculator performs this step automatically when you enter the mass of solute and molar mass. You can also use the [Grams to Moles Calculator](/grams-to-moles-calculator/) separately for a standalone conversion.
How do I find the molar mass of a compound?
The molar mass of a compound is the sum of the atomic masses of all atoms in its chemical formula, expressed in g/mol. For example, water (H₂O) has a molar mass of 2(1.008) + 15.999 = 18.015 g/mol. Atomic masses are listed on the periodic table and are additive. The [Molar Mass Calculator](/molar-mass-calculator/) can automate this calculation once it is available.
Can I use this calculator for any solute?
Yes, the Molarity Calculator works for any solute as long as you know the mass dissolved and the molar mass of the substance. It is equally applicable to ionic compounds like NaCl, KCl, and CaCl₂, covalent compounds like glucose (C₆H₁₂O₆), and laboratory reagents like HCl or NaOH. Simply enter the correct molar mass for the substance you are working with.
What is a 1 molar solution?
A 1 molar solution (1 M) contains exactly 1 mole of solute dissolved in enough solvent to make 1 litre of solution. For example, a 1 M NaCl solution contains 58.44 g of NaCl per litre. This is a standard reference concentration used extensively in chemistry labs for preparing standard solutions, serial dilutions, and reaction mixtures.
How does temperature affect molarity?
Molarity is temperature-dependent because the volume of a liquid changes with temperature, solutions expand when heated and contract when cooled. As temperature rises, the same solution occupies a larger volume, reducing the molarity slightly. For experiments conducted at non-standard temperatures, it is best to either use molality (temperature-independent) or correct the volume measurement to a reference temperature.
What is a common use of molarity in Indian school and college labs?
In Indian school and college chemistry practicals (CBSE Class 11–12 and undergraduate labs), molarity is used extensively for preparing standard solutions for acid-base titrations, redox reactions, and volumetric analysis. Common standard solutions include 0.1 M HCl, 0.1 M NaOH, and 0.1 M Na₂CO₃. Understanding molarity is a core requirement for the CBSE and ICSE curricula as well as competitive exams like JEE and NEET.
How do I calculate the molarity after dilution?
After diluting a solution, use the dilution equation M₁V₁ = M₂V₂, where M₁ and V₁ are the initial molarity and volume, and M₂ and V₂ are the final molarity and volume. For example, diluting 50 mL of a 2 M NaCl solution to 200 mL gives a final molarity of (2 × 0.05) ÷ 0.2 = 0.5 M. You can verify this using the [Solution Dilution Calculator](/solution-dilution-calculator/) once it is available.
What units does molarity use?
Molarity uses the unit mol/L, which is also written as M (capital M for molar). In SI notation it is sometimes expressed as mol·dm⁻³ since 1 dm³ equals 1 litre. All inputs to the Molarity Calculator should be in grams (for mass) and litres (for volume) to get the result in mol/L directly. If your volume is in millilitres, divide by 1000 before entering.
Also known as
molarity formulamoles per litresolution concentrationM calculatormol/L calculator