Molarity Calculator
Find the molarity of a solution or rearrange the formula to solve for moles or volume, all from the relation M = moles / volume. When you know the solute by weight instead, switch the amount input to mass plus molar mass and the tool derives the moles for you. Results are shown as moles, litres and molarity together so you can check the whole solution at a glance.
How to calculate molarity
- Pick Molarity, Moles or Volume in the 'Solve for' menu so that field becomes the answer.
- For the amount of solute, choose the Moles radio button, or choose Mass plus molar mass to enter grams and g/mol instead.
- Type the volume of solution in litres.
- Fill in the remaining known value, such as the molarity in mol/L.
- Read the three result cards and click Copy to save moles, volume and molarity as text.
Examples
Molarity from moles and volume
Solve for Molarity, 0.5 mol in 2 L
0.25 M
Molarity from mass and molar mass
Solve for Molarity, 58.44 g NaCl (molar mass 58.44 g/mol) in 1 L
1 M
Volume from moles and molarity
Solve for Volume, 0.5 mol at 0.25 M
2 L
Frequently asked questions
What is molarity?
Molarity is the concentration of a solution measured in moles of solute per litre of solution, written mol/L or M. A 1 M solution holds one mole of dissolved substance in every litre.
What is the molarity formula?
Molarity equals moles of solute divided by volume of solution in litres, M = n / V. Rearranged, n = M times V and V = n / M, and the calculator uses whichever form solves for your chosen unknown.
How do I find moles from a mass?
Divide the mass in grams by the molar mass in grams per mole. Select the Mass plus molar mass option and the tool computes n = mass / molarMass automatically before finding the concentration.
Do I use the volume of solution or solvent?
Use the total volume of the finished solution, not the volume of solvent you started with, because the dissolved solute also takes up space. This matters most for concentrated solutions.
How do I convert millilitres to litres?
Divide millilitres by 1000, so 250 mL becomes 0.25 L. The volume field expects litres, so convert first and then type the litre value.
Why does the molar mass have to be greater than zero?
Moles are found by dividing mass by molar mass, so a molar mass of zero would be a division by zero. If you leave it at zero the tool reports that molar mass must be greater than zero.
What happens if I enter the wrong number of values?
The engine needs exactly two of moles, volume and molarity, counting a mass plus molar mass pair as the moles. If you supply too few or too many it asks you to provide exactly two so the equation stays solvable.
Is molarity the same as molality?
No. Molarity is moles per litre of solution and changes slightly with temperature as volume expands, while molality is moles per kilogram of solvent and does not. Use a molality calculator when temperature stability matters.
Does anything I type get uploaded?
No. All the arithmetic runs locally in your browser, so your masses, volumes and concentrations stay on your own device.
Learn more
- How to prepare a molar solution from a solid
A step by step guide to weighing out a solute, dissolving it, and topping up to the mark so your solution hits the target molarity.
Related tools
Molar Mass Calculator
Calculate the molar mass and molecular weight of any chemical formula. Get a full per element breakdown for compounds like H2O, NaCl, H2SO4 and hydrates.
Dilution Calculator
Solve the dilution equation C1V1 = C2V2 for any one unknown. Find the stock volume to pipette or the final concentration for any solution dilution.
pH Calculator
Calculate pH, pOH and the H+ and OH- concentrations at 25C. Enter any one value and get the other three, with an acidic, neutral or basic verdict.
555 Timer Calculator
Calculate 555 timer astable frequency, period, high and low times and duty cycle from R1, R2 and the timing capacitor. Free oscillator design helper.
Absolute Humidity Calculator
Calculate absolute humidity in grams of water vapor per cubic meter from air temperature and relative humidity. Fast, free and works in your browser.
Allele Frequency Calculator
Find allele frequencies from genotype counts. Enter the number of AA, Aa and aa individuals to get the A and a allele frequencies and allele totals.