Molarity Calculator
Calculate the molarity of a solution from moles/grams of solute and volume of solution. Essential for chemistry lab preparations.
Enter Values
Fill in the fields and press Calculate to see instant results.
NaCl = 58.44 g/mol
What Is Molarity?
Molarity (M), also known as molar concentration, is the most common way chemists express the concentration of a solute in a solution. It is defined as the number of moles of solute per liter of solution.
When you see a bottle in a lab labeled "1.0 M HCl," it means there is exactly 1 mole of hydrochloric acid molecules dissolved in every 1 liter of that total liquid. Because chemical reactions occur on a molecule-by-molecule basis, molarity allows chemists to measure out precise numbers of reactive molecules simply by pouring a specific volume of liquid.
The Molarity Calculator automates this fundamental chemistry calculation. Instead of doing manual conversions and divisions, you can simply input the mass of your chemical, its molecular weight, and your target volume, and the calculator instantly provides the exact molar concentration (mol/L).
π‘ Key Concept: Volume of Solution vs. Volume of Solvent. Molarity depends on the volume of the final solution, not just the water (solvent) you add. Because adding a solid powder changes the liquid's volume slightly, chemists mix the powder with a little water first, dissolve it, and then add water until the total mixture reaches the desired liter mark on a volumetric flask.
When Should You Use This Calculator?
π§ͺ Chemistry Lab Prep
Lab technicians use molarity calculations daily to prepare standardized solutions (like buffers, acids, and bases) required for experiments and titrations.
π¬ Biology & Cell Culture
Biologists use millimolar (mM) and micromolar (Β΅M) concentrations to prepare media, antibiotics, and reagents with exact molecular dosages for living cells.
π Academic Study
Chemistry students use this tool to check their homework on stoichiometry, titration calculations, and concentration conversions.
π Pharmacology
Pharmacists and medical researchers calculate the molar concentration of active pharmaceutical ingredients (APIs) in liquid suspensions and IV drips.
The Molarity Formula Explained
The calculation for molarity requires two steps: finding the moles, and dividing by the volume.
M = n / V
Molarity = Moles of Solute / Volume of Solution in Liters
n = m / MW
Moles = Mass (g) / Molecular Weight (g/mol)
Variable Definitions
- Molarity (M): The concentration of the solution, expressed in moles per liter (mol/L).
- Moles (n): The amount of substance. One mole contains exactly 6.022 Γ 10Β²Β³ particles (Avogadro's number).
- Volume (V): The total volume of the finished solution, which must be measured in Liters (L).
- Mass (m): The physical weight of the solute you are dissolving, typically measured in grams (g).
- Molecular Weight (MW): Also called molar mass, this is the weight of one mole of a specific chemical, found by adding the atomic weights of all its atoms (g/mol).
Step-by-Step Calculation Guide
Follow these steps to calculate molarity by hand:
Find the molecular weight
Look up the chemical formula of your solute (e.g., NaCl). Add the atomic weights of Na (22.99) and Cl (35.45) to get 58.44 g/mol.
Convert mass to moles
Divide the mass of the powder you weighed by the molecular weight. If you have 20g of NaCl: 20 / 58.44 = 0.342 moles.
Convert volume to liters
If your target solution volume is in milliliters (mL), divide by 1000 to get liters. E.g., 500 mL = 0.5 L.
Calculate molarity
Divide the moles (step 2) by the liters (step 3). 0.342 mol / 0.5 L = 0.684 M.
5 Worked Examples
Sodium Chloride (NaCl)
58.44 g
1 L
58.44 g/mol
1.000 M
Standard 1 M saline preparation.
Hydrochloric Acid (HCl)
36.46 g
0.5 L
36.46 g/mol
2.000 M
36.46g = 1 mole. 1 mole / 0.5L = 2 M.
Glucose (C6H12O6)
18.015 g
250 mL (0.25 L)
180.156 g/mol
0.400 M
18.015g = 0.1 mol. 0.1 mol / 0.25L = 0.4 M.
Sodium Hydroxide (NaOH)
4.00 g
100 mL (0.1 L)
39.997 g/mol
1.000 M
4.00g β 0.1 mol. 0.1 mol / 0.1L = 1 M.
Sulfuric Acid (H2SO4)
49.04 g
2 L
98.079 g/mol
0.250 M
49.04g β 0.5 mol. 0.5 mol / 2L = 0.25 M.
Common Mistakes to Avoid
β Forgetting to convert milliliters (mL) to Liters (L)
Consequence: Using 500 instead of 0.5 for a 500mL solution will make your final molarity calculation 1000 times too small.
β Solution: Always divide mL by 1000 before plugging volume into the M = n/V equation.
β Adding solute to exactly 1 Liter of water
Consequence: If you add 1 mole of powder to exactly 1 Liter of water, the final volume will be greater than 1 Liter. Therefore, your concentration will be less than 1 Molar.
β Solution: Add the solute to a flask, then fill with water until the total volume reaches the 1 Liter mark.
β Using the wrong hydration state for molecular weight
Consequence: Many chemicals come as hydrates (e.g., CuSO4 Β· 5H2O). If you use the molecular weight of anhydrous CuSO4 but weigh out the pentahydrate, your mole calculation will be drastically wrong.
β Solution: Always check the reagent bottle for the exact molecular weight of the hydrate you are physically weighing.
β Confusing Molarity (M) with Molality (m)
Consequence: Molality is moles per kilogram of solvent, not per liter of solution. Mixing them up causes precision errors, especially in highly concentrated solutions or non-aqueous solvents.
β Solution: Note the capital 'M' for Molarity (volume-based) vs. lowercase 'm' for molality (mass-based).
Tips & Best Practices
- Use a volumetric flask: For precise molarity, always prepare solutions in volumetric flasks, which are calibrated to contain a highly accurate volume at a specific temperature (usually 20Β°C).
- Account for temperature: Because liquids expand when heated, molarity changes slightly with temperature. Ensure your solutions are at room temperature when topping off the final volume.
- Check the bottle's assay/purity: If your chemical is only 98% pure, weighing out 100g means you only have 98g of the actual chemical. You must adjust your weighed mass upward to compensate if high precision is required.
- Safety first: When making acid solutions, always add acid to water, never water to acid (remember: "Do as you oughta, add acid to water"). This prevents dangerous boiling and splashing caused by the exothermic reaction.
People Also Calculate
Frequently Asked Questions
What is molarity?
Molarity (M), also known as molar concentration, is a measure of the concentration of a chemical species in a solute. It is defined as the number of moles of solute divided by the volume of the solution in liters (M = n/V).
What is the difference between molarity and molality?
Molarity is moles of solute per liter of solution (volume), making it temperature-dependent because liquid volume changes with temperature. Molality is moles of solute per kilogram of solvent (mass), making it temperature-independent.
Why do we use moles instead of grams?
Chemical reactions happen atom to atom, or molecule to molecule. Because different molecules have different weights, 10 grams of NaCl has a different number of molecules than 10 grams of glucose. Moles standardize the number of molecules, making stoichiometry possible.
Does adding solute change the total volume?
Yes. When calculating molarity, the volume (V) refers to the total final volume of the solution, not the volume of the solvent before the solute is added. This is why chemists dissolve the solute in a small amount of solvent first, then fill to the exact volume line in a volumetric flask.
How do I calculate moles from mass?
Divide the mass of your substance in grams by its molecular weight (molar mass) in grams per mole. For example, 18 grams of water divided by its molecular weight of 18 g/mol equals 1 mole of water.
What is the unit of molarity?
The SI unit for molarity is moles per cubic meter (mol/mΒ³), but in practical chemistry, it is almost universally expressed as moles per liter (mol/L). This unit is abbreviated as a capital 'M', pronounced 'molar'.
What is millimolar (mM)?
A millimolar (mM) solution has a concentration of one-thousandth of a mole per liter (0.001 mol/L). This unit is frequently used in biology, biochemistry, and medicine where concentrations are much lower than in industrial chemistry.
How is molarity used in titrations?
In a titration, a solution of known molarity (the titrant) is reacted with a solution of unknown concentration (the analyte). Using the equation M1V1 = M2V2 (or stoichiometric equivalents), you can precisely calculate the unknown concentration.
Conclusion
Mastering molarity is a foundational skill in chemistry. Whether you are preparing a simple saline solution or a complex biological buffer, knowing exactly how many reactive molecules are in your beaker is critical for predictable, reproducible science.
Our Molarity Calculator eliminates the tedious arithmetic, allowing you to instantly convert between mass, volume, and concentration. Just remember the golden rule of lab prep: always check your chemical's molecular weight on the bottle (especially for hydrates), and always fill your volumetric flask to the line after dissolving the solute.
Need to find the molar mass of your chemical first? Use our Molecular Weight Calculator to parse any chemical formula instantly.
People Also Calculate
Calculators visitors commonly use alongside this one.