Leave blank if solving for it.
Optional. Treats the field above as mass.
Leave blank if solving for it.
Output will appear here
Click in the output to select all text
Leave blank if solving for it.
Optional. Treats the field above as mass.
Leave blank if solving for it.
Output will appear here
Click in the output to select all text
Calculate pH and pOH from hydrogen or hydroxide ion concentration, with acidic/basic/neutral classification.
Convert across 10+ categories: Length, Weight, Temperature, Area, Volume, Speed, Energy, Pressure, Power, and Data Storage.
Convert between Liters, Milliliters, Gallons, Quarts, Pints, Cups, and Fluid Ounces.
This Molarity Calculator solves the M = mol/L equation for whichever quantity you're missing — molarity, moles, or volume — and optionally converts a mass in grams to moles first if you provide the substance's molar mass. Choose what you're solving for, enter the two known quantities, and get the result instantly, with the mass equivalent shown alongside moles when a molar mass is provided. It's built for chemistry students preparing solutions, checking lab calculations, or converting between mass and molar concentration. Everything runs locally in your browser. Scroll down to enter your known values.
Molarity (M) is a measure of solution concentration: the number of moles of solute dissolved per liter of solution (mol/L).
Divide the mass in grams by the substance's molar mass (g/mol); enter the mass and molar mass here and the calculator does that conversion automatically before solving.
Leave the molar mass field blank and enter moles directly instead of mass — the calculator treats the value as moles when no molar mass is given.
Solve for moles using your target molarity and desired volume, then convert those moles to a mass using the molar mass field, and dissolve that mass in the target volume of solvent.
Enter volume in liters (divide milliliters by 1000 first); the calculator also shows the volume result in milliliters for convenience when solving for volume.