Skip to main content

Molarity Calculator

Calculate Molarity using standard chemistry formulas. Enter concentration, volume, or pH values to get instant results with step-by-step derivations.

Share this calculator

Formula

Molarity (M) = moles (n) ÷ volume (L)

Molarity equals moles of solute divided by liters of solution. Rearrange to find moles (M×V) or volume (n÷M).

Worked Examples

Example 1: Prepare NaCl Solution

Problem: How much NaCl is needed to prepare 500 mL of 0.9% saline (approximately 0.154 M)?

Solution: Moles needed = M × V\nmoles = 0.154 M × 0.5 L = 0.077 mol\n\nMass = moles × MW\nmass = 0.077 × 58.44 = 4.5 g\n\nDissolve 4.5g NaCl in water to make 500mL

Result: 4.5 g NaCl in 500 mL water

Example 2: Calculate Concentration

Problem: 25 grams of glucose dissolved in 500 mL solution. What is the molarity?

Solution: Moles = mass ÷ MW\nmoles = 25 g ÷ 180.16 g/mol = 0.139 mol\n\nMolarity = moles ÷ volume\nM = 0.139 ÷ 0.5 L = 0.278 M

Result: 0.278 M (278 mM)

Example 3: Dilution Calculation

Problem: Dilute 2M HCl to make 250 mL of 0.5M solution. How much stock needed?

Solution: C₁V₁ = C₂V₂\n2M × V₁ = 0.5M × 250mL\nV₁ = (0.5 × 250) ÷ 2 = 62.5 mL\n\nAdd 62.5 mL of 2M HCl to ~187.5 mL water

Result: 62.5 mL of 2M stock

Frequently Asked Questions

What is molarity?

Molarity (M) is the concentration of a solution expressed as moles of solute per liter of solution. A 1M solution contains 1 mole of solute in 1 liter. Formula: M = moles ÷ volume (L).

How do I calculate molarity from mass?

First calculate moles: moles = mass (g) ÷ molar mass (g/mol). Then: Molarity = moles ÷ volume (L). For example, 5.84g NaCl (MW=58.44) in 1L = 0.1M.

What's the difference between molarity and molality?

Molarity (M) = moles/liter of solution. Molality (m) = moles/kg of solvent. Molality doesn't change with temperature since mass doesn't expand like volume.

How do I prepare a specific molarity solution?

Calculate mass needed: mass = Molarity × Volume (L) × Molar mass. For 100mL of 0.5M NaCl: 0.5 × 0.1 × 58.44 = 2.92g. Dissolve in water to final volume.

Why use molarity instead of percent?

Molarity relates directly to the number of molecules, essential for stoichiometry. Percent concentration doesn't account for molecular weight differences between substances.

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution. Molality (m) is moles of solute per kilogram of solvent. Molarity changes with temperature (because volume changes), while molality does not. Molality is preferred for colligative property calculations like boiling point elevation.

Background & Theory

The Molarity Calculator applies the following established principles and formulas. Chemistry is the science of matter's composition, structure, properties, and transformations. At the heart of quantitative chemistry lies the mole concept. One mole of any substance contains exactly 6.022×10²³ entities (Avogadro's number, Nₐ), and the molar mass of an element or compound in grams per mole is numerically equal to its atomic or molecular mass in atomic mass units. This allows chemists to convert between measurable mass and the number of reacting particles. Stoichiometry uses balanced chemical equations to relate the amounts of reactants and products. A balanced equation conserves both mass and charge. Molarity, the most common concentration unit, is defined as M = n/V, where n is moles of solute and V is volume of solution in liters, giving units of mol/L. Acidity and basicity are quantified by the pH scale, defined as pH = −log₁₀[H⁺], where [H⁺] is the molar concentration of hydrogen ions. Pure water at 25°C has pH 7.00; acids have lower values and bases higher values. Each unit change represents a tenfold change in hydrogen ion concentration. Gas behavior is described by the ideal gas law PV = nRT, where P is pressure in pascals, V is volume in cubic meters, n is moles, R = 8.314 J/(mol·K), and T is temperature in kelvin. Special cases include Boyle's Law (P₁V₁ = P₂V₂ at constant temperature) and Charles's Law (V₁/T₁ = V₂/T₂ at constant pressure). Thermochemistry quantifies heat changes in reactions through enthalpy, H. Hess's Law states that the total enthalpy change for a reaction is the sum of enthalpy changes for any sequence of steps leading to the same overall reaction, making it possible to calculate enthalpies for reactions that cannot be measured directly. Electron configuration describes the distribution of electrons in atomic orbitals according to the Aufbau principle, Pauli exclusion principle, and Hund's rule. Periodic trends including atomic radius, ionization energy, and electronegativity arise systematically from electron configuration and nuclear charge, enabling chemists to predict and rationalize chemical behavior across the periodic table.

History

The history behind the Molarity Calculator traces back through the following developments. Chemistry's roots lie in alchemy, the medieval practice combining proto-scientific experimentation with mystical aims. Alchemists developed practical techniques including distillation, calcination, and the preparation of acids, building a body of empirical knowledge despite their theoretical misunderstandings. Modern chemistry is conventionally dated to Antoine Lavoisier (1743–1794), often called the father of modern chemistry. Lavoisier demonstrated the law of conservation of mass in 1789, showing that matter is neither created nor destroyed in chemical reactions. He identified oxygen's role in combustion, dismantling the phlogiston theory, and co-authored the first systematic chemical nomenclature, establishing the language still used today. John Dalton proposed the first modern atomic theory in 1803, asserting that all matter is composed of indivisible atoms, that atoms of the same element are identical in mass, and that compounds form from fixed ratios of different atoms. This provided a physical basis for Lavoisier's conservation law and Proust's law of definite proportions. Dmitri Mendeleev published his periodic table in 1869, arranging the 63 known elements by atomic mass and revealing repeating patterns of chemical behavior. He boldly left gaps for undiscovered elements and predicted their properties with remarkable accuracy, predictions confirmed by the subsequent discovery of gallium, scandium, and germanium. Ernest Rutherford's gold foil experiment in 1911 revealed the nuclear model of the atom: a tiny, dense, positively charged nucleus surrounded by electrons. Niels Bohr refined this in 1913 with a quantized model of electron orbits that explained the hydrogen emission spectrum. Quantum chemistry and molecular orbital theory, developed through the 1920s and 1930s, provided the full quantum mechanical description of chemical bonding. The latter 20th century saw the rise of computational chemistry, enabling molecular simulation at unprecedented scale. The green chemistry movement, articulated in the 12 Principles of Green Chemistry in 1998, reoriented the field toward sustainability, waste reduction, and benign chemical design, reflecting chemistry's growing awareness of its environmental responsibilities.

References