Free online molarity calculator. Compute solution concentration using the formula M = n/V. Automatically converts volume units (L, mL, μL, cm³, dm³) and displays results in M, mM, μM, nM, pM. Perfect for chemistry students, lab technicians, and anyone preparing solutions.
A molarity calculator (also called a solution concentration calculator or M = n/V calculator) is an online tool that computes the molarity of a solution using the fundamental chemistry equation M = n / V, where M is molarity (mol·L⁻¹), n is the number of moles of solute, and V is the volume of the solution in liters. Molarity is the most common unit for expressing solution concentration, used in virtually every chemistry lab and industry that deals with aqueous solutions. A 1.00 molar solution (1.00 M) contains 1.00 mol of solute in every 1.0 L of solution.
Students in high school and college chemistry use molarity calculations daily for:
Researchers, lab technicians, and industrial chemists use molarity to:
This free online molarity tool operates entirely within your browser - no data is sent to any server, ensuring your privacy and enabling offline use. It supports 5 volume units (L, mL, μL, cm³, dm³) and 5 concentration units (M, mM, μM, nM, pM), with automatic unit conversion. You can also use the calculator to solve for moles (n = M × V) or volume (V = n / M), making it a complete solution for all three rearranged forms of the molarity equation. Whether you're a student verifying a homework problem, a lab technician preparing a precise solution, or a researcher calculating stock concentrations, this calculator is your go‑to tool.
Using this solution concentration calculator is straightforward. Just follow these steps:
The calculator also supports very small and very large numbers, making it useful for everything from concentrated stocks to trace analysis.
Tip: To calculate moles from mass (when you know the grams of solute but not the moles), use the formula n = m / MW, where m is mass in grams and MW is molecular weight in g·mol⁻¹. Then enter the resulting moles into the calculator.
Molarity (M) is defined as the number of moles of solute dissolved in exactly one liter of solution. It is one of the most commonly used concentration units because it directly relates the amount of substance (in moles) to the volume of the solution, making stoichiometric calculations straightforward.
The formula can be rearranged to solve for any of the three variables:
The SI unit for molarity is mol·L⁻¹, often written as M (molar). A 1 M solution contains 1 mole of solute per liter of solution. Because molarity depends on volume, it is temperature‑dependent - volume expands with temperature, so the concentration changes slightly with temperature. (This is one difference between molarity and molality; the latter is based on mass of solvent and is temperature‑independent.)
| Unit | Symbol | Value in L | Common Uses |
|---|---|---|---|
| Microliter | μL | 1 × 10⁻⁶ | Microbiology, pipettes, molecular biology |
| Milliliter | mL | 0.001 | Medicine, chemistry lab, pipettes |
| Cubic centimeter | cm³ | 0.001 | Equivalent to mL; engine displacement, lab |
| Cubic decimeter | dm³ | 1 | Equivalent to L; used in some chemistry contexts |
| Liter | L | 1 | SI‑derived unit; standard lab and beverage volume |
| Unit | Symbol | Value in M | Common Uses |
|---|---|---|---|
| Picomolar | pM | 1 × 10⁻¹² | Hormone assays, trace analysis, drug detection |
| Nanomolar | nM | 1 × 10⁻⁹ | Drug discovery, enzyme kinetics, IC₅₀ measurements |
| Micromolar | μM | 1 × 10⁻⁶ | Biochemistry, cell culture, inhibitor studies |
| Millimolar | mM | 0.001 | Buffer solutions, common lab stocks |
| Molar | M | 1 | Standard stock solutions, high concentration |
| Property | Molarity (M) | Molality (m) |
|---|---|---|
| Definition | moles of solute per liter of solution | moles of solute per kilogram of solvent |
| Formula | M = n / V (L) | m = n / kg_solvent |
| SI Unit | mol·L⁻¹ (mol/L or M) | mol·kg⁻¹ (mol/kg or m) |
| Temperature Dependence | Dependent (volume expands/contracts) | Independent (mass doesn't change with T) |
| Common Use | Routine lab work, titrations, stoichiometry | Colligative properties, thermodynamics |
Because molality uses the mass of the solvent rather than the volume of the solution, it is independent of temperature. This makes molality the correct unit for colligative properties such as boiling point elevation and freezing point depression. However, for most everyday laboratory work and stoichiometric calculations, molarity is more convenient and widely used.
What is the molarity of a solution prepared by dissolving 0.250 moles of NaCl in enough water to make 0.500 L of solution?
Calculate the molarity of a solution made by dissolving 5.00 g of glucose (C₆H₁₂O₆, MW = 180.2 g/mol) in enough water to make 100.0 mL of solution.
How many moles of sodium chloride are present in 250 mL of a 0.500 M NaCl solution?
What volume of a 0.200 M NaOH solution contains 0.0500 mol of NaOH?
Standard solutions of known molarity are prepared for titrations, calibration curves, and quality control. For example, a 0.100 M HCl solution is commonly used for acid‑base titrations with NaOH. The molarity is used to determine the moles of reactant consumed in a reaction.
Oral and injectable medications are often prepared at specific molar concentrations. The exact amount of active pharmaceutical ingredient (API) must be calculated using the molar mass and desired volume. Even small errors in molarity can affect drug efficacy and patient safety.
Growth media, buffer solutions, and reagent stocks in biology labs are prepared at specific molarities (e.g., 1 M Tris‑HCl, 0.5 M EDTA). Cell culture additives like antibiotics are often added to media at micromolar or millimolar concentrations.
Water quality labs use molarity to prepare standards for atomic absorption spectroscopy (AAS), ICP‑MS, and ion chromatography. The concentration of pollutants in water samples is often expressed in mg/L or mol/L (molarity).
Use the formula M = n / V. Enter the number of moles of solute and the solution volume (in liters). Our calculator automatically converts other volume units (mL, μL, etc.) to liters before calculating.
Molarity (M) is moles of solute per liter of solution and is temperature‑dependent. Molality (m) is moles of solute per kilogram of solvent and is temperature‑independent. Molality is preferred for colligative properties like freezing point depression; molarity is more common for everyday lab work.
The molarity formula (M = n/V) requires volume in liters because molarity is defined as moles per liter. If you use milliliters, you will get a numerical result that is off by a factor of 1000. Our calculator handles the conversion automatically.
First, calculate the number of moles using n = mass (g) / molar mass (g·mol⁻¹). Then enter the resulting moles into the calculator. Alternatively, many molarity calculators (including this one) allow you to enter mass and molecular weight to compute moles automatically.
The calculator uses the exact formula M = n / V with results displayed to 6 decimal places. It is more than accurate enough for educational labs, industrial QC, and research applications.
Absolutely. All calculations happen locally in your browser using JavaScript. No data is transmitted to any server - your inputs remain on your own device. This ensures your privacy and also means the tool works offline after the initial page load.
Yes. Once the page has loaded, all calculation logic runs locally in your browser. No internet connection is required after the first load - perfect for use in labs without Wi‑Fi or during travel.
Discover more free developer tools that might interest you.
Calculate acceleration from velocity and time
Use ToolCalculate chemical concentrations
Use ToolCalculate density from mass and volume
Use ToolCalculate solution dilutions
Use ToolCalculate force using Newton's laws
Use ToolCalculate gas properties using gas laws
Use ToolRead the how-to, then come back to this tool when you are ready to run it locally.