Skip to content
Chemistry

Chemistry Calculator

Seven of the calculations used most in school and lab chemistry are in one place. Choose molarity, molality, moles, dilution, pH, pOH or the ideal gas law, enter the values, and get the answer with the formula alongside.

Formula

Molarity M = n ÷ V; molality m = n ÷ kg of solvent; moles n = mass ÷ molar mass

  • Dilution: C₁V₁ = C₂V₂, solved here for C₂
  • pH = −log₁₀[H⁺] and pOH = −log₁₀[OH⁻]
  • Ideal gas: PV = nRT, solved here for P, with R = 0.0821 L·atm/(mol·K)

2 M stock, 50 mL, diluted to 250 mL: C₂ = (2 × 50) ÷ 250 = 0.4 M. 1 mol of gas in 22.4 L at 273 K: P = 1 × 0.0821 × 273 ÷ 22.4 = 1.00 atm

Chemistry Calculator

Chemistry Formulas:

• Molarity: M = moles of solute / liters of solution

• Molality: m = moles of solute / kg of solvent

• Moles: n = mass / molar mass

• Dilution: C₁V₁ = C₂V₂

• pH: pH = -log[H⁺]

• pOH: pOH = -log[OH⁻]

• Ideal Gas: PV = nRT (R = 0.0821 L⋅atm/mol⋅K)

Worked Examples

Molarity: 0.5 mol of salt in 2 L of solution is 0.5 ÷ 2 = 0.25 mol/L.

Molality: 0.2 mol in 0.5 kg of water is 0.2 ÷ 0.5 = 0.4 mol/kg.

Moles: 36 g of a substance with a molar mass of 18 g/mol is 2 mol.

pH: a hydrogen ion concentration of 0.001 mol/L gives a pH of 3, and a hydroxide concentration of 0.0001 mol/L gives a pOH of 4.

Units and Common Slips

Most wrong answers come from units. Use litres for molarity and the gas law, kilograms of solvent for molality, and kelvin for temperature, which is the Celsius figure plus 273.15. Molality divides by the solvent alone, not the whole solution.

For dilution, the two volumes can be in any unit as long as they match, and the answer comes out in the unit you used for C₁. The pH and pOH calculations add to 14 for water at 25 °C, so a pOH of 4 means a pH of 10.

When You Need More

This calculator takes the molar mass as a number you supply. For a molar mass from a formula, use the molar mass calculator. For a buffer or a titration, the dedicated buffer pH and titration calculators handle the extra steps, and the stoichiometry calculator links a balanced equation to amounts of product.

Quick Reference

What to enter for each calculation, and what you get back.
CalculationEnterResult
MolarityMoles of solute, litres of solutionmol/L
MolalityMoles of solute, kg of solventmol/kg
MolesMass in grams, molar mass in g/molmol
DilutionC₁, V₁ and the final volume V₂C₂
pHHydrogen ion concentration in mol/LpH
pOHHydroxide concentration in mol/LpOH
Ideal gas lawMoles, volume in litres, temperature in kelvinPressure in atm

Frequently Asked Questions

How do I calculate molarity?
Divide the moles of solute by the volume of the solution in litres.
What is the difference between molarity and molality?
Molarity uses litres of solution, molality uses kilograms of solvent, so molality does not change with temperature.
How do I find the pH from a concentration?
Take minus the base-10 logarithm of the hydrogen ion concentration in mol/L.
Which units does the ideal gas calculation use?
Moles, litres and kelvin, giving pressure in atmospheres.

Related Calculators