Molarity Calculator — Free Online Concentration Tool
Calculate solution molarity, moles of solute, solution volume, and perform dilution calculations using the C1V1 = C2V2 equation with four flexible calculation modes.
Molarity
Formula
M = n / V = 0.5000 / 0.2500A 2.0000 M solution contains 0.5000 moles of solute per 0.2500 liters of solution.
How to Use the Molarity Calculator
- Select the calculation mode: Choose from four available modes depending on what you need to solve. "Calculate Molarity" finds the concentration when you know the amount of solute and solution volume. "Calculate Moles" determines the amount of solute present. "Calculate Volume" finds the required solution volume. "Dilution" solves C1V1 = C2V2 problems.
- Enter the known values: For the basic molarity, moles, and volume modes, enter two of the three values and the calculator solves for the third. For dilution mode, select which variable to solve for and enter the other three values.
- Choose volume units: Toggle between liters and milliliters using the volume unit selector. The calculator handles the conversion internally so you can work in whichever unit is most convenient for your experiment.
- Review the results: The results panel displays the calculated value along with its unit, the mathematical formula used for transparency, and a contextual explanation that describes what the result means in practical terms.
The dilution mode is especially useful for preparing working solutions from concentrated stock solutions. Select the variable you want to solve for (typically V2 for final volume or V1 for the volume of stock needed), enter the known values, and the calculator provides the answer instantly.
Molarity Formulas
Molarity Definition
M = n / V Moles from Molarity
n = M x V Volume from Molarity
V = n / M Dilution Equation
C1 x V1 = C2 x V2 Moles from Mass
n = mass (g) / molar mass (g/mol) Variables Explained
- M (Molarity): The concentration of a solution expressed in moles of solute per liter of solution. Units are mol/L, commonly written as M (capital letter). A 2 M solution contains 2 moles of solute per liter.
- n (Moles): The amount of substance measured in moles. One mole equals Avogadro's number (6.022 x 10^23) of particles, whether atoms, molecules, or ions.
- V (Volume): The total volume of the solution in liters. This is the final solution volume, not the volume of solvent alone.
- C1, V1: The concentration and volume of the initial (more concentrated) solution before dilution.
- C2, V2: The concentration and volume of the final (diluted) solution after adding solvent.
Step-by-Step Example
Calculate the molarity of a solution containing 4.0 grams of NaOH dissolved in 500 mL of solution:
- Find the molar mass of NaOH: Na (22.99) + O (16.00) + H (1.008) = 40.00 g/mol
- Convert grams to moles: n = 4.0 / 40.00 = 0.10 mol
- Convert volume to liters: V = 500 mL / 1000 = 0.50 L
- Calculate molarity: M = 0.10 / 0.50 = 0.20 M
The solution has a molarity of 0.20 M, meaning it contains 0.20 moles of NaOH per liter. This is equivalent to 8.0 grams of NaOH per liter. In a titration, 25 mL of this solution would provide 0.005 moles of NaOH.
Practical Examples
Example 1: Nadia's Acid-Base Titration Preparation
Nadia needs to prepare 250 mL of 0.1 M hydrochloric acid (HCl) from a 12 M concentrated stock solution for a titration experiment. Using the dilution equation:
- C1 = 12 M (stock), V1 = unknown, C2 = 0.1 M (target), V2 = 0.250 L
- V1 = C2 x V2 / C1 = 0.1 x 0.250 / 12 = 0.002083 L = 2.083 mL
Nadia carefully pipettes 2.1 mL of concentrated HCl into a 250 mL volumetric flask that already contains about 100 mL of distilled water, then dilutes to the mark. She always adds acid to water, never the reverse, to safely control the exothermic reaction.
Example 2: Marcus's Biology Buffer Solution
Marcus needs to prepare 2 liters of 0.05 M phosphate buffer for a cell culture experiment. He uses monosodium phosphate (NaH2PO4, molar mass = 119.98 g/mol) as the solute:
- Moles needed: n = M x V = 0.05 x 2.0 = 0.10 mol
- Mass required: 0.10 x 119.98 = 11.998 grams
Marcus weighs 12.00 grams of NaH2PO4, dissolves it in approximately 1.8 liters of deionized water, adjusts the pH to 7.4 using NaOH, and then brings the total volume to exactly 2.0 liters. The precise molarity ensures reproducible experimental conditions across his cell culture studies.
Example 3: Dr. Torres's Serial Dilution
Dr. Torres needs a series of five standards for spectrophotometric analysis, ranging from 0.1 M to 0.00625 M, using a 1:2 serial dilution from a 0.1 M CuSO4 stock. She calculates each step:
- Standard 1: 0.1 M (stock solution, no dilution needed)
- Standard 2: 0.1 x 0.5 = 0.05 M (50 mL stock + 50 mL water)
- Standard 3: 0.05 x 0.5 = 0.025 M (50 mL of Std 2 + 50 mL water)
- Standard 4: 0.025 x 0.5 = 0.0125 M (50 mL of Std 3 + 50 mL water)
- Standard 5: 0.0125 x 0.5 = 0.00625 M (50 mL of Std 4 + 50 mL water)
Each dilution uses C1V1 = C2V2 where the dilution factor is 1:2. Serial dilutions are a cornerstone technique in analytical chemistry, microbiology, and pharmacology for creating precise concentration gradients from a single stock solution.
Example 4: Kenji's Electrolyte Solution
Kenji is preparing a 0.15 M potassium chloride (KCl) electrolyte solution for an electrochemistry experiment. He needs 500 mL of solution. KCl has a molar mass of 74.55 g/mol:
- Moles: n = 0.15 x 0.50 = 0.075 mol
- Mass: 0.075 x 74.55 = 5.591 grams
Kenji weighs 5.59 grams of KCl on an analytical balance, transfers it to a 500 mL volumetric flask, adds distilled water to dissolve, and fills to the calibration mark. He can use our molecular weight calculator to verify the molar mass of KCl and other compounds.
Common Solution Concentrations Reference Table
| Solution | Concentrated (M) | Typical Working (M) | Molar Mass (g/mol) |
|---|---|---|---|
| HCl (Hydrochloric acid) | 12.1 | 0.1 - 1.0 | 36.46 |
| H2SO4 (Sulfuric acid) | 18.0 | 0.05 - 1.0 | 98.08 |
| NaOH (Sodium hydroxide) | 19.1 | 0.1 - 1.0 | 40.00 |
| NaCl (Sodium chloride) | 6.15 (sat.) | 0.1 - 1.0 | 58.44 |
| HNO3 (Nitric acid) | 15.9 | 0.1 - 2.0 | 63.01 |
| NH3 (Ammonia) | 14.8 | 0.1 - 1.0 | 17.03 |
| KOH (Potassium hydroxide) | 13.5 | 0.1 - 1.0 | 56.11 |
| CH3COOH (Acetic acid) | 17.4 | 0.1 - 1.0 | 60.05 |
Tips and Complete Guide
Converting Between Concentration Units
Chemistry uses several concentration measures besides molarity. To convert between them: Molarity to mass concentration (g/L), multiply by the molar mass. Molarity to mass percent, use: mass% = (M x molar mass) / (10 x density). Molarity to parts per million (ppm) for dilute aqueous solutions: ppm is approximately equal to molarity x molar mass x 1000. For example, 0.001 M NaCl has a mass concentration of 0.001 x 58.44 = 0.05844 g/L, or about 58.44 ppm. These conversions are essential when working between laboratory protocols (which typically use molarity) and environmental or industrial standards (which often use ppm or mass percent).
Safe Dilution Practices
When diluting concentrated acids, always add acid to water, never water to acid. This fundamental safety rule exists because the dissolution of concentrated acid in water is highly exothermic. Adding water to a large volume of concentrated acid can cause localized boiling, spattering hot acid. By adding acid slowly to a larger volume of water, the heat is absorbed by the bulk water safely. For concentrated sulfuric acid, which has a density of 1.84 g/mL, the heat generated is particularly intense. Always wear appropriate personal protective equipment including safety goggles, lab coat, and acid-resistant gloves. Work in a fume hood when handling volatile acids like hydrochloric and nitric acid.
Molarity in Biological and Medical Applications
Biological applications frequently use millimolar (mM) and micromolar (uM) concentrations. Cell culture media, enzyme assays, and drug concentrations are commonly expressed in these units. For example, a typical therapeutic drug concentration might be 10 uM (0.00001 M), while a buffer solution is 50 mM (0.05 M). When preparing biological solutions, sterile technique is essential in addition to concentration accuracy. Many biological buffers have specific pH requirements, so after dissolving the solute and adjusting the volume, pH adjustment with dilute acid or base is typically the final preparation step.
Accuracy and Significant Figures
The accuracy of a molarity calculation depends on the precision of the measurements. An analytical balance measuring to 0.0001 g combined with a volumetric flask accurate to 0.01% can produce solutions accurate to four significant figures. For routine work, measuring to three significant figures is usually sufficient. When diluting, each step introduces small errors that compound — a serial dilution through five steps has more uncertainty than a single direct dilution. For the highest accuracy, prepare solutions by direct weighing whenever possible rather than diluting from stock solutions, and calibrate your volumetric glassware at the temperature at which it will be used.
Common Mistakes to Avoid
- Confusing solution volume with solvent volume: Molarity is defined as moles per liter of solution, not moles per liter of solvent. When dissolving a solid in water, the final volume may differ from the initial water volume, especially for concentrated solutions.
- Mixing up milliliters and liters: The standard molarity formula uses liters. Forgetting to convert 250 mL to 0.250 L before dividing produces an answer 1,000 times too large. Our calculator handles this conversion for you when you select the mL unit option.
- Ignoring temperature effects: Volumetric flasks are calibrated at 20 degrees Celsius. Preparing solutions at significantly different temperatures will affect the actual concentration. For analytical work, allow solutions to equilibrate to the calibration temperature before making the final volume adjustment.
- Adding water to concentrated acid: Always add acid to water during dilutions. Reversing this order can cause dangerous spattering due to the intense exothermic reaction, especially with sulfuric acid.
- Assuming volume additivity: When mixing two liquids, the total volume may not equal the sum of individual volumes. For example, mixing 50 mL of ethanol with 50 mL of water produces approximately 96.4 mL of solution, not 100 mL, due to molecular interactions between water and ethanol.
Frequently Asked Questions
Molarity (M) is the most commonly used measure of solution concentration in chemistry. It is defined as the number of moles of solute dissolved in one liter of solution. The formula is M = n/V, where n is the number of moles of solute and V is the volume of the solution in liters. For example, a 1 M (one molar) solution of sodium chloride contains exactly 1 mole of NaCl (58.44 grams) dissolved in enough water to make exactly 1 liter of total solution. Note that the volume refers to the total solution volume, not just the solvent volume. Molarity is a temperature-dependent concentration measure because liquid volumes change with temperature.
The dilution equation C1V1 = C2V2 describes the relationship between the concentrations and volumes of a solution before and after dilution. C1 is the initial concentration, V1 is the initial volume, C2 is the final (diluted) concentration, and V2 is the final volume. This equation works because dilution does not change the total amount of solute — it only spreads it across a larger volume of solvent. For example, to make 500 mL of a 0.1 M solution from a 1 M stock solution: V1 = C2 x V2 / C1 = 0.1 x 0.5 / 1.0 = 0.05 L = 50 mL of stock solution, diluted to 500 mL total. Our calculator solves for any one of the four variables when you provide the other three.
To convert between moles and grams, you need the molar mass (molecular weight) of the substance. Moles = mass (grams) / molar mass (g/mol), and conversely, mass = moles x molar mass. For example, to prepare a 0.5 M NaCl solution in 250 mL: first calculate the moles needed (0.5 x 0.25 = 0.125 mol), then convert to grams (0.125 x 58.44 = 7.305 grams). Dissolve 7.305 grams of NaCl in water and bring the total volume to 250 mL. You can use our <a href='/science/chemistry/molecular-weight-calculator' class='text-primary-600 hover:text-primary-800 underline'>molecular weight calculator</a> to find the molar mass of any compound, then return here to calculate the molarity.
Molarity (M) measures moles of solute per liter of solution, while molality (m) measures moles of solute per kilogram of solvent. The key difference is that molarity uses solution volume (which changes with temperature) while molality uses solvent mass (which does not change with temperature). Molality is preferred for precise work involving colligative properties like boiling point elevation and freezing point depression, and for solutions at extreme temperatures. For routine laboratory work at room temperature, molarity is more convenient because solutions are typically measured by volume. For dilute aqueous solutions at room temperature, molarity and molality are approximately equal because 1 liter of water weighs approximately 1 kilogram.
To prepare a solution of specific molarity: (1) Calculate the required mass of solute: mass = molarity x volume (in liters) x molar mass. (2) Weigh out the calculated mass of solute on an analytical balance. (3) Transfer the solute to a volumetric flask of the desired final volume. (4) Add solvent (usually water) to partially fill the flask and swirl to dissolve. (5) Once fully dissolved, add more solvent to bring the total volume to the flask's calibration mark. Important: the volume is measured for the final solution, not the solvent alone. Adding a solute to solvent changes the total volume, which is why volumetric flasks are used to ensure precise final volumes.
Chemistry labs frequently use solutions at standard concentrations. Concentrated stock solutions typically range from 6 M to 18 M: hydrochloric acid at about 12 M, sulfuric acid at about 18 M, and nitric acid at about 16 M. Working solutions for titrations and reactions are usually 0.1 M to 1 M. Biological buffers like phosphate-buffered saline (PBS) are typically 0.01 M to 0.1 M. Analytical chemistry standards often use 0.001 M to 0.01 M for trace analysis. Understanding these typical ranges helps you verify that your calculated molarity is reasonable for your application and can serve as a sanity check when preparing solutions.
No, you cannot simply add molarities. When mixing two solutions, the resulting concentration depends on both the concentration and volume of each solution. Use the mixing equation: C_final = (C1 x V1 + C2 x V2) / (V1 + V2). For example, mixing 100 mL of 2 M HCl with 200 mL of 0.5 M HCl gives: C_final = (2 x 0.1 + 0.5 x 0.2) / (0.1 + 0.2) = (0.2 + 0.1) / 0.3 = 1.0 M. The final concentration is a weighted average based on the volumes. For dilution (mixing with pure solvent), C2 = 0 and the equation simplifies to the dilution formula C1V1 = C_final x V_total.
Temperature affects molarity because it changes the volume of the solution. As temperature increases, most liquids expand, so the same amount of solute occupies a larger volume, reducing the molarity. A 1.000 M solution at 20 degrees Celsius might measure as 0.997 M at 25 degrees due to thermal expansion of water. For routine lab work, this difference is negligible. However, for precise analytical chemistry, solutions should be prepared and used at the same temperature, or molality (moles per kilogram of solvent) should be used instead. Volumetric glassware is calibrated at 20 degrees Celsius, so the most accurate measurements are made at this temperature.
Normality (N) is another concentration measure defined as the number of equivalents per liter of solution. The relationship between normality and molarity is: N = n x M, where n is the number of equivalents per mole (which depends on the reaction). For acids and bases, n equals the number of hydrogen ions or hydroxide ions per formula unit. For HCl (1 H), N = M. For H2SO4 (2 H), N = 2M, so 1 M H2SO4 is 2 N. For redox reactions, n equals the number of electrons transferred. Normality is used less frequently in modern chemistry education but is still common in titration calculations and water quality testing, particularly for determining alkalinity and hardness.
Related Calculators
Molecular Weight Calculator
Calculate molecular weight of any compound from its chemical formula.
Half-Life Calculator
Calculate radioactive decay, remaining amounts, and decay constants.
Ohms Law Calculator
Calculate voltage, current, resistance, and power using Ohm's law.
Voltage Drop Calculator
Calculate voltage drop across wires by gauge, length, and current.
Percentage Calculator
Calculate percentages, percentage changes, and proportional values.
Scientific Calculator
Perform advanced calculations with trigonometric and logarithmic functions.
Disclaimer: This calculator is for informational and educational purposes only. Results are estimates and may not reflect exact values.
Last updated: February 23, 2026
Sources
- Chemistry LibreTexts — Concentration of Solutions: chem.libretexts.org
- Khan Academy — Atomic and Molecular Structure: khanacademy.org
- PubChem — Chemical Information Database: pubchem.ncbi.nlm.nih.gov