Skip to main contentSkip to secondary navigation
HomemathMolarity

Molarity Calculator

Calculate molarity, mass, or volume of chemical solutions. Features compound auto-detection with built-in molecular weight database and step-by-step solutions.

✓ Formula verified: January 2026
📐

Molarity

Results update instantly as you type

Enter Values

The Formula

M = n / V = (m / MM) / V

Molarity (M) is the number of moles of solute per liter of solution. It is calculated by dividing the moles of solute (n) by the volume of solution in liters (V). The moles of solute are found by dividing the mass (m) by the molar mass (MM).

Variable Definitions

M

Molarity

Concentration of the solution in moles per liter (mol/L).

n

Moles of solute

Amount of substance measured in moles (mol).

V

Volume

Total volume of the solution in liters (L).

m

Mass

Mass of the solute in grams (g).

MM

Molar mass

Mass per mole of the compound in grams per mole (g/mol).

How to Use This Calculator

  1. 1

    Select the calculation mode: Molarity (from mass & volume), Mass (from molarity & volume), or Volume (from mass & molarity).

  2. 2

    Optionally enter a compound name (e.g., NaCl, H2SO4) to auto-fill the molar mass.

  3. 3

    Fill in the required fields based on the selected mode.

  4. 4

    Select the appropriate volume unit (L, mL, or µL).

  5. 5

    Results will show the calculated value, moles, step-by-step solution, and formulas used.

Molarity = moles of solute per liter of solution

Understanding the Concept

Molarity is one of the most common units of concentration in chemistry. A 1 M (1 molar) solution contains 1 mole of solute dissolved in enough solvent to make 1 liter of solution. The mole is a counting unit representing Avogadro's number (6.022 × 10²³) of particles. To prepare a solution of known molarity, measure the required mass of solute and dilute to the desired volume. Practical example: to prepare 500 mL of 0.1 M NaCl solution. First, find the molar mass of NaCl: 58.44 g/mol. The moles needed = 0.1 M × 0.5 L = 0.05 mol. The mass needed = 0.05 × 58.44 = 2.922 g. Weigh 2.922 g of NaCl, dissolve in about 400 mL of distilled water, then dilute to exactly 500 mL in a volumetric flask. The resulting solution contains 0.1 moles of NaCl per liter. Edge cases: molarity is temperature-dependent because the volume of the solution changes with temperature. A solution that is 0.1000 M at 20°C becomes approximately 0.0995 M at 30°C due to thermal expansion. For precise analytical work, solutions should be used at the temperature at which they were prepared. For very dilute solutions (below 0.001 M), the assumption that the solute volume is negligible becomes less accurate, and molality (moles per kg of solvent) may be preferred. For concentrated solutions (above 1 M), the volume change upon mixing can be significant — for example, mixing 50 mL of water with 50 mL of ethanol yields only about 97 mL of solution, not 100 mL. For acids and bases, always add acid to water (not water to acid) when diluting concentrated solutions, especially for sulfuric acid which generates significant heat upon dilution.

Frequently Asked Questions

Sources & References

Related Calculators

Reviews

No reviews yet. Be the first to share your experience with Molarity Calculator.

Write a Review

Your Rating *

0/1000

0/50

Related Calculators

Medical Disclaimer: The health and fitness calculators on this site are for informational and educational purposes only. They are not a substitute for professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider with any questions about your health.

Financial Disclaimer: The finance calculators on this site are for informational purposes only and do not constitute financial advice. Results are estimates based on the inputs provided and may vary. Consult a qualified financial advisor before making investment or financial decisions.

© 2026 TheCalcUniverse. All results are for informational purposes only.

Fast, free, and privacy-first.