Molarity Calculator
Last updated: 4 August 2026
Reviewed by Gavin Meiring, Lead research and primary author · Doctoral Candidate (Corporate Governance) · Research and drafting assisted by AI
Enter any two values to calculate the third. Volume must be in litres (L).
- Molarity is expressed in moles per litre, and the mole is defined using Avogadro's constant: exactly 6.02214076 × 10²³ entities per mole.
- The litre was originally defined in France in 1795 as one cubic decimetre, which is why 1 L equals exactly 1,000 cm³.
- A solution's molarity can change with temperature because the solution volume expands or contracts, even though the number of dissolved particles stays constant.
Molarity Calculator
Molarity is a standard way to describe the concentration of a solution. It tells you how many moles of dissolved substance are present in each litre of the final solution. This calculator lets you solve for molarity, amount in moles, or solution volume when the other two values are known.
The molarity formula
The basic equation is:
M = n ÷ V
Here, M is molarity in moles per litre (mol/L, also written M), n is the amount of solute in moles, and V is the total solution volume in litres. Because the formula uses litres, convert millilitres before entering a value: 250 mL is 0.250 L, not 250 L.
Worked example
Suppose a flask contains 0.150 mol of sodium chloride in 0.500 L of solution. The molarity is:
M = 0.150 mol ÷ 0.500 L = 0.300 M.
The same relationship can be rearranged. To find the required amount of solute, use n = M × V. To find volume, use V = n ÷ M. For example, preparing 250 mL (0.250 L) of a 0.200 M solution requires 0.200 × 0.250 = 0.0500 mol of solute.
How to use this calculator
Enter exactly two of the three values. Leave the value you want to find blank. Enter moles as mol, volume as litres, and concentration as mol/L. Select Calculate to display all three values. The calculator rejects negative quantities and prevents invalid division by zero.
If your volume is supplied in millilitres, divide it by 1,000 first. If your solute is supplied as a mass, convert mass to moles using its molar mass: moles = mass in grams ÷ molar mass in g/mol. For example, 5.85 g of sodium chloride divided by 58.44 g/mol is approximately 0.100 mol.
Molarity versus other concentration units
Molarity is based on solution volume. Molality instead uses kilograms of solvent, making it useful when temperature changes affect volume. Mass concentration uses grams per litre and does not require a molecular formula. Mole fraction compares moles of one component with total moles. Choose the unit required by your experiment or equation.
Common mistakes
The most frequent error is using solvent volume rather than final solution volume. Dissolve the solute, then make the total solution up to the mark. Another common error is entering millilitres without conversion. Also check whether a problem gives grams rather than moles; grams must be divided by molar mass first. Finally, do not confuse a chemical formula coefficient with molarity: coefficients describe reaction ratios, while molarity describes a solution.
Practical laboratory notes
When preparing a standard solution, weigh the solute accurately, dissolve it in less solvent than the final volume, transfer it quantitatively to a volumetric flask, rinse the original container, and fill to the calibration mark. Mix thoroughly before taking an aliquot. The calculated concentration assumes the solute dissolves completely and the measured volume is accurate.
Temperature matters for high-precision work. The number of moles does not change merely because a solution warms, but its volume can change, so molarity can shift. Record the temperature and use the calibration conditions of the glassware when precision matters.
Frequently Asked Questions
What is 1 M?
One molar means one mole of solute per litre of final solution. It does not necessarily mean one mole plus exactly one litre of solvent.
Can I use millilitres directly?
No. Convert millilitres to litres by dividing by 1,000. A 100 mL solution is 0.100 L.
How do I calculate moles from grams?
Divide the mass in grams by the substance's molar mass in grams per mole.
Does dilution change the number of moles?
Not if no material is lost. Dilution increases volume and therefore decreases molarity. The relationship is M₁V₁ = M₂V₂.
Can molarity be zero?
A zero-molar solution contains no solute. You cannot calculate a finite volume from a positive amount of solute and zero molarity.
Is molarity temperature-dependent?
It can be, because solution volume may expand or contract with temperature. For routine calculations the stated volume and temperature are usually treated as fixed.
What is the difference between molarity and molality?
Molarity uses litres of total solution, while molality uses kilograms of solvent. Molality is often preferred for temperature-sensitive work because mass does not expand with heating.
How should I convert a millimolar value?
Divide a millimolar concentration by 1,000 to express it in mol/L. For example, 250 mM equals 0.250 M.
Additional worked examples
A useful way to check a result is to estimate its scale before calculating. If 0.010 mol is distributed through 1 L, the concentration must be close to 0.010 M. If the same amount is distributed through 0.100 L, the concentration is ten times higher, 0.100 M. Smaller volume means greater concentration when the amount of solute is unchanged.
For a dilution, begin with the stock concentration and the desired final concentration. Suppose a 2.00 M stock is used to prepare 100 mL of 0.250 M solution. Rearrange the dilution equation: V₁ = M₂V₂ ÷ M₁. The stock volume is (0.250 × 0.100) ÷ 2.00 = 0.0125 L, or 12.5 mL. Add solvent until the total solution volume reaches 100 mL; do not simply add 100 mL of solvent.
Significant figures should reflect the least precise input. If the volume is recorded as 0.50 L, reporting a result with eight meaningful digits suggests more certainty than the measurement supports. In teaching and routine work, three significant figures is often a practical convention, while regulated analytical work follows its own method validation and uncertainty rules.
Always label containers with the solute identity, concentration, solvent, preparation date, and relevant hazards. This calculator supports arithmetic and does not replace laboratory safety procedures, a validated method, or the instructions supplied with chemicals.
When working with electrolytes, remember that molarity describes formula units placed in solution. A dissolved salt may separate into ions, but the calculator's molarity still refers to the amount of the chosen solute formula per litre. If a problem asks for ionic concentration, apply the dissociation stoichiometry after calculating the solution molarity.
Temperature, density, purity, hydration state, and measurement uncertainty can all matter in advanced work. Hydrated and anhydrous forms have different molar masses. A commercial reagent labelled with a percentage purity may require a purity correction before its mass is converted into moles. Keep those chemistry-specific corrections separate from the basic concentration calculation so each assumption remains visible.
Inputs and Their Effects
Each field on the Molarity Calculator form plays a distinct part in the calculation. Editing one field of the Molarity Calculator changes the output in line with the formula, so a misplaced value is visible in the answer.
Common Mistakes to Avoid
The errors that come up most often with the Molarity Calculator are easy to spot once you know them:
- Mixing conventions, such as percentages and decimals, where the Molarity Calculator formula expects one form.
- Rounding the inputs before the Molarity Calculator runs; keep the full values and let the tool round the final answer.
- Treating the Molarity Calculator result as exact when the inputs themselves were estimates.
When to Use the Molarity Calculator
Use the Molarity Calculator whenever you need a quick, reliable answer that fits the tool's scope. Common situations for the Molarity Calculator include homework and study, on-the-job quick checks, sanity-checking a more complex calculation, or exploring a scenario for personal interest. If the Molarity Calculator answer will be used for a decision that has legal, medical, or financial consequences, treat the result as a starting point and verify it with a qualified professional.
How the Math Works
The calculation behind the Molarity Calculator follows the standard form for this kind of problem: The basic equation is: M = n ÷ V** Here, M is molarity in moles per litre (mol/L, also written M), n is the amount of solute in moles, and V is the total solution volume in litres. Because the formula uses litres, convert millil The Molarity Calculator applies that relationship in the order the algebra prescribes, converting inputs to consistent units first where the formula needs them.
Related Concepts and Where This Fits
The Molarity Calculator fits alongside the other tools in its category, and the choice between them usually comes down to which inputs you already have. If the same numbers feed several tools, run them in one pass so the assumptions stay consistent across the comparison, which is where the Molarity Calculator earns its place.
Worked Examples
A typical Molarity Calculator run takes reasonable inputs, produces a sensible answer, and returns it in a single click. Example: Suppose a flask contains 0.150 mol of sodium chloride in 0.500 L of solution. The molarity is: M = 0.150 mol ÷ 0.500 L = 0.300 M. The same relationship can be rearranged. To find the required amount of solute, use n = M × V. To find volume, use V = n ÷ M. For example, preparing 250 mL (0.250 L) of a 0.200 M solution requires 0.200 × 0.250 = 0.0500 mol of solute.
References
- IUPAC Gold Book, amount concentration (molarity). https://goldbook.iupac.org/terms/view/A00295
- Zumdahl, S. & DeCoste, D. (2017), Chemical Principles, 8th ed., Cengage, for solution concentration calculations.