Molarity Calculator
Calculate molarity using M = n/V
Molarity Calculator tool
Enter molar mass to calculate mass of solute
Results
Molarity (M)
0.00
Molarity (mM)
0.00
Molarity Calculator: key facts
- What it does
- Calculate molarity using M = n/V
- Category
- Science Calculators
- Cost
- Free, with no account, sign-up, or install.
- Your data
- Runs entirely in your browser — the files and text you enter are never uploaded to a server.
- Last reviewed
- . Report an incorrect result.
What the Molarity Calculator does
Molarity measures solution concentration as moles of solute per liter of solution (M = n/V). The Molarity Calculator solves for molarity, moles of solute, or volume of solution when you know the other two, supporting multiple unit systems for amount (mol, mmol), volume (L, mL), and concentration (M, mM). It can also calculate mass when you provide the molar mass.
Students prepare laboratory solutions, chemists calculate reagent quantities for reactions, and pharmaceutical technicians compound medications. The calculator handles unit conversions automatically and displays results in multiple units for flexibility in lab settings.
Because calculations run entirely in your browser using JavaScript, you can solve solution concentration problems without any data leaving your device. The tool clearly distinguishes between molarity and molality in the FAQ section, a common point of confusion.
Using the Molarity Calculator, step by step
- Select what you want to calculate from the dropdown: molarity, moles, or volume.
- Enter the pair of values you already have, such as moles of solute and solution volume.
- Optionally enter the molar mass (g/mol) to calculate the mass of solute needed.
- Assign a unit to each field — moles or millimoles, liters or milliliters.
- Click Calculate to solve for the unknown variable and optionally the mass.
- View the results displayed in multiple units for convenience.
Moles per litre, solved in any direction
Molarity is the number of moles of solute divided by the volume of solution in litres, and the tool rearranges that to solve for whichever of the three you are missing. Concentration expressed this way is the working currency of solution chemistry because it counts particles rather than mass, and reactions proceed on particle counts.
The distinction that catches people out is that the volume is of the finished solution, not of the solvent added. Dissolving a solid changes the total volume, so proper preparation means adding solvent up to a calibrated mark in a volumetric flask rather than measuring out a litre of water and stirring the solute into it.
An optional molar mass field lets you work from grams instead of moles, since a balance weighs mass while the equation wants moles. Dividing the mass by the molar mass bridges the two.
- The defaults — 0.5 mol in 0.5 L — give a 1 M solution.
- To make 250 mL of 0.1 M sodium chloride you need 0.025 mol, which at a molar mass of 58.44 g/mol is 1.46 g.
- Solving for volume: 2 mol of solute at 0.4 M occupies 5 litres of solution.
What makes this one worth using
- Molarity computations are performed client-side in your browser—no data leaves your device, keeping your solution preparation calculations private and secure.
- Solves for any of the three variables (molarity, moles, volume) when you know the other two, and optionally calculates mass from molar mass.
- Automatically converts between moles and millimoles, liters and milliliters, matching the units commonly used in different laboratory settings.
- Shows concentration results in both M (molar) and mM (millimolar) simultaneously, covering the conventions used across chemistry disciplines.
Other concentration units, and why molarity shifts
Molarity is not the only way to express concentration and is not always the right one. Molality — moles per kilogram of solvent — is preferred where temperature varies, because it depends on mass rather than volume and mass does not expand when warmed. Normality accounts for the number of reactive equivalents and matters for acid-base and redox work, where a diprotic acid supplies two protons per molecule. Percentage by mass or volume is common in commercial preparations.
Because it is defined per litre, a molar concentration changes with temperature even though no material has been added or removed: warm a solution and it expands, so the same moles occupy more volume and the molarity falls slightly. For precise work, prepare and use solutions at a stated temperature.
For dilutions, the relationship you want is that moles are conserved — the initial concentration times initial volume equals the final concentration times final volume. And always add concentrated acid to water rather than the reverse, since the reaction is strongly exothermic; laboratory work needs appropriate protection and supervision.
Frequently Asked Questions
What is the molarity formula?
The molarity formula is M = n/V, where M is molarity in moles per liter (mol/L), n is the number of moles of solute, and V is the volume of solution in liters. Molarity is the most common way to express solution concentration in chemistry.
Which amount, volume, and concentration units can I work with?
The calculator supports moles and millimoles for amount of substance; liters and milliliters for volume; and molar (M) and millimolar (mM) for concentration. Mass can be calculated in grams when molar mass is provided.
Can I calculate mass from moles?
Yes, if you provide the molar mass (g/mol) of the solute, the calculator can calculate the mass needed using Mass = moles × molar mass. This is essential for preparing solutions in the laboratory.
What is the difference between molarity and molality?
Molarity (M) is moles of solute per liter of solution, while molality (m) is moles of solute per kilogram of solvent. Molarity is temperature-dependent because solution volume changes with temperature, while molality is not.
How do I find molar mass?
Molar mass is the mass of one mole of a substance, found by summing the atomic masses from the periodic table. For example, water (H₂O) has a molar mass of approximately 18.015 g/mol (2×1.008 + 15.999).