Molarity
Calculator
Calculate molarity, moles, mass, or volume of any solution. Includes dilution calculator (C₁V₁=C₂V₂), 20+ compound library, and step-by-step solutions.
Molar Masses of Common Compounds
Use these values as input for your molarity calculations.
| Compound | Molar Mass (g/mol) | Formula | Category | Common Use |
|---|---|---|---|---|
| Water | 18.015 | H₂O | Solvent | Universal solvent, reference |
| Sodium chloride | 58.443 | NaCl | Salt | Saline solutions, electrolyte |
| Sodium hydroxide | 39.997 | NaOH | Base | Titrations, pH adjustment |
| Hydrochloric acid | 36.461 | HCl | Acid | Acid solutions, titrations |
| Sulfuric acid | 98.072 | H₂SO₄ | Acid | Electrochemistry, synthesis |
| Acetic acid | 60.052 | CH₃COOH | Acid | Buffer solutions |
| Glucose | 180.156 | C₆H₁₂O₆ | Organic | Biology, cell culture |
| Sucrose | 342.297 | C₁₂H₂₂O₁₁ | Organic | Density gradients |
| Ethanol | 46.068 | C₂H₅OH | Organic | Solvent, sterilization |
| Potassium chloride | 74.551 | KCl | Salt | Electrolyte solutions |
| Calcium chloride | 110.978 | CaCl₂ | Salt | Cell biology, desiccant |
| Sodium bicarbonate | 84.007 | NaHCO₃ | Salt | Buffer, pH 8.3 reference |
| Ammonia | 17.031 | NH₃ | Base | pH adjustment |
| EDTA (disodium) | 336.206 | C₁₀H₁₄N₂Na₂O₈ | Organic | Chelating agent, biology |
| Phosphoric acid | 97.994 | H₃PO₄ | Acid | Buffer systems |
Always Add Acid to Water — Never Water to Acid
When preparing dilute acid solutions (especially H₂SO₄), always add the concentrated acid slowly to water while stirring. Adding water to concentrated acid causes violent, exothermic splattering. Use a volumetric flask and make up to final volume after the solution cools. Always wear eye protection and appropriate PPE when handling concentrated acids.
Molarity (M): mol/L. Changes with temperature (volume changes). Most common in chemistry labs.
Molality (m): mol/kg solvent. Temperature-independent. Used for colligative properties (boiling point elevation, freezing point depression).
% w/v: g/100 mL. Simple for practical use. Used in clinical settings (e.g., 0.9% NaCl saline = 9 g/L).
ppm / ppb: mg/L (ppm) or μg/L (ppb). Used for trace concentrations in environmental science.
In biology and medicine, concentrations are often in mM (millimolar) or μM (micromolar). Blood glucose is ~5 mM. Physiological saline is 154 mM NaCl (0.154 M). Cell culture media contain dozens of compounds at carefully controlled molarities.
The intracellular K⁺ concentration is ~150 mM; extracellular Na⁺ is ~145 mM. These precisely maintained gradients drive nerve impulses and cell volume regulation — making accurate molarity calculations essential in biomedical research.
How to Calculate Molarity — All Four Formulas
Molarity is the most fundamental concentration unit in chemistry. The core relationship M = n/V (moles per liter) can be rearranged to solve for any of the four key variables: molarity, moles, mass, or volume.
The Four Core Formulas
The Dilution Formula: C₁V₁ = C₂V₂
Volume Unit Conversions
Molarity vs Other Concentration Units
Understanding when to use molarity versus other concentration expressions is important in chemistry and biology.
Converting % w/v to Molarity
% w/v (percent weight/volume) = grams of solute per 100 mL of solution = 10 g/L. To convert to molarity: M = (10 × % w/v) ÷ Molar Mass. Example: 37% HCl (MW = 36.46 g/mol): M = (37 × 10) / 36.46 = 10.15 M. Note: for concentrated solutions, density must also be factored in.
Converting ppm to Molarity
For dilute aqueous solutions: ppm ≈ mg/L. To convert: M = ppm ÷ (Molar Mass × 1000). Example: 50 ppm NaCl (MW = 58.44): M = 50 / (58.44 × 1000) = 0.000856 M = 0.856 mM. Used in environmental chemistry and trace analysis.
Why Molarity Changes with Temperature
Molarity is based on volume, which expands when heated. A 1 M solution prepared at 20°C will have slightly lower molarity at 80°C because the same amount of solute occupies more volume. For temperature-sensitive work, molality (mol/kg solvent) is preferred since mass doesn't change with temperature. For most lab work at room temperature, this difference is negligible.