Skip to main content
Science

Molarity Calculator

Molarity (M, mol/L) is the moles of solute per litre of solution — the workhorse concentration unit in chemistry, biology and pharmacy labs. This tool applies M = n / V = m / (Mw × V) to interchange among molarity M, solute mass m, molar mass Mw and solution volume V. Pick which variable to solve for, enter the other three with the units you prefer, and read both the answer and the equivalent moles of solute n.

Result

Moles of solute n

Formula

M = n / V = m / (Mw × V)

Enter the other three positive numbers. Mass, molar mass and volume are converted internally to g, g/mol and L; choosing a different unit does not change the answer.

Formula

M = n / V = m / (Mw × V) (n = m / Mw)

Frequently asked

What is the difference between molarity (M, mol/L) and mass-by-volume percent (% w/v)?

Molarity (mol/L) counts how many MOLES of solute are in one litre of solution — it tracks particle count, which is what governs chemical reactions, osmotic pressure, pH, and so on. % w/v counts how many GRAMS of solute are in 100 mL of solution — a mass measure, common on pharmacy labels and nutrition panels. The two interconvert as M = (10 × % w/v) / Mw. For example, 0.9 % w/v NaCl ≈ 10 × 0.9 / 58.44 ≈ 0.154 mol/L (the familiar 154 mM "physiological saline"). To use a % w/v figure here, just multiply by 10 and divide by Mw to get M, then enter that.

How do I prepare 1 L of 0.1 M NaCl solution?

Switch the "Solve for" selector to "m (solute mass)", enter M = 0.1 mol/L, Mw = 58.44 g/mol (pick the "NaCl" preset) and V = 1 L — the tool returns m = 5.844 g. In the lab: weigh 5.844 g of NaCl precisely, transfer to a 1 L volumetric flask, dissolve in a smaller amount of deionised water, then add water UP TO the 1 L mark and invert several times to mix. "Bringing the solution to 1 L" is what the molarity definition assumes — it is NOT the same as adding 1 L of water on top of the solute.

For diluting an existing stock, should I use this tool or the dilution formula?

They solve different problems. THIS molarity tool builds a solution from "mass + molar mass + final volume" — use it when you start from a solid powder or a concentrated reagent. If instead you already have a stock at a known molarity and want to dilute it to a lower one (e.g. 10 M HCl down to 1 M), use the dilution equation C₁V₁ = C₂V₂ in the Dilution Calculator — molar mass is not needed there. Short rule: weighing a powder → this tool; diluting an existing stock → the dilution tool.

How do mol/L, mM and µM convert?

They are just scaled versions of "moles per litre of solution": 1 mol/L = 1 M = 1 000 mM = 1 000 000 µM = 1 000 000 000 nM. So 1 mM glucose = 0.001 mol/L and 100 nM antibody = 1 × 10⁻⁷ mol/L. The widget switches freely among M, mM, µM and nM — changing the unit only changes how the answer is displayed; the underlying solve uses the SI base mol/L throughout.

Related tools

Ohm's Law Calculator (V / I / R / P)

Enter any two of voltage, current, resistance, or power — the calculator solves for the other two using V = IR and P = VI.

Speed, Distance & Time Calculator

Enter any two of distance, time and speed to get the third — with km/h, mph, m/s, km, miles, hours and minutes supported.

Density Calculator (mass / volume)

Compute density from mass and volume (ρ = m / V), or solve for the missing variable. Built-in reference table for 19 common substances.

Projectile Motion Calculator

Enter launch speed, angle and height to compute projectile range, peak height and flight time (no air resistance). Pick from Earth, Moon, Mars and more.

Wind Chill Calculator

Compute the wind chill (feels-like temperature) from air temperature and wind speed using the 2001 Environment Canada / US NWS formula, with frostbite risk levels.

Dew Point Calculator

Compute dew point from air temperature and relative humidity using the Magnus formula — handy for HVAC, photography and weather analysis.

Kinetic Energy Calculator (KE = ½ m v²)

Compute kinetic energy KE = ½ m v² with mixed units (kg / g / lb and m/s / km/h / mph) and see the result in joules, kilojoules, food calories, foot-pounds and watt-hours.

Half-Life & Exponential Decay Calculator

Enter any three of initial amount, remaining amount, elapsed time and half-life to solve for the fourth — useful for radioactive decay, drug pharmacokinetics and radiometric dating.

Resistor Color Code Calculator (4 / 5 band)

Pick the colour bands and instantly read the resistance and tolerance — 4-band and 5-band notations supported, with Ω / kΩ / MΩ formatting and a closest E12 / E24 preferred-value check.

GPS Distance Calculator (Haversine)

Enter two latitude/longitude pairs to compute the great-circle distance using the haversine formula (km, miles, nautical miles), with bearing and midpoint.

Solution Dilution Calculator (C₁V₁ = C₂V₂)

Solve any one of C₁, V₁, C₂, V₂ from the dilution equation C₁V₁ = C₂V₂ — a daily lab essential for chemistry, biology and pharmacy work.

Decibel (dB) Sum Calculator

Two 80 dB sound sources do not equal 160 dB. Enter multiple dB values to compute the combined SPL, and subtract background noise to recover the signal alone.

Resistor Parallel / Series Calculator

Enter up to 8 resistor values to see the series total (R₁ + R₂ + …) and the parallel total (1 / Σ(1/Rᵢ)) at the same time.

Wavelength ↔ Frequency Calculator

Convert between electromagnetic wavelength and frequency via c = λf, with the matching spectrum band (radio / microwave / visible / X-ray / γ) and photon energy.

Tank Volume Calculator

Compute the capacity of vertical or horizontal cylindrical, rectangular and spherical tanks, including partial-fill volumes at a given liquid level.

Pendulum Period Calculator (T = 2π√L/g)

Enter the pendulum length and local gravity to get the period, frequency and angular frequency, with Earth/Moon/Mars/Jupiter presets — and reverse-solve for the length needed to hit a target period.

Heat Index Calculator

Enter air temperature and relative humidity to get the apparent temperature (NOAA Rothfusz heat index) and the corresponding heat-stress risk band.

Vehicle Stopping Distance Calculator

Enter speed, reaction time and road friction to estimate reaction, braking and total stopping distance.

Snell's Law Refraction Calculator

Enter the refractive indices of two media and an angle of incidence — get the refraction angle and critical angle from Snell's law (n₁ sin θ₁ = n₂ sin θ₂).

Capacitor Energy Calculator

Enter capacitance (F, mF, µF, nF, pF) and voltage to compute the stored energy (E = ½CV²) and charge (Q = CV) on a capacitor.

Boiling Point at Altitude Calculator

Enter altitude to compute the boiling point of water (°C / °F) and local air pressure using the ICAO standard atmosphere and the Antoine equation — useful for hiking, cooking and high-altitude baking.

Specific Heat (Q = mcΔT) Calculator

Solve Q = m × c × ΔT for any one of heat energy, mass, specific heat capacity or temperature change — with presets for water, aluminium, iron, copper, glass, air and more.

pH and Hydrogen Ion Concentration Calculator

Convert between pH, pOH, hydrogen-ion concentration [H⁺] and hydroxide concentration [OH⁻] — with acid / neutral / alkaline classification.

Ideal Gas Law (PV = nRT) Calculator

Pick the unknown (P, V, n or T), enter the other three and PV = nRT is solved instantly — works in Pa / kPa / atm / bar / mmHg / psi, m³ / L / mL, mol / mmol / kmol and K / °C / °F.

Coulomb's Law Calculator

Enter two point charges and the separation distance to compute the electrostatic force between them via F = kₑ·q₁·q₂/r² (attractive or repulsive).

Newton's Law of Universal Gravitation Calculator

Enter two masses and the distance between them to compute the gravitational attraction via F = G·m₁·m₂/r².

Thin Lens Equation Calculator

Given any two of the three quantities (object distance u, image distance v, focal length f), solve for the remaining one and the lateral magnification.

Distance to Horizon Calculator

Enter the observer eye height above the surface to compute the distance to the geometric and refraction-corrected horizon.

Hooke's Law (Spring Force) Calculator

Given any two of spring constant k, displacement x or restoring force F, solve for the third and the elastic potential energy U = ½kx².

Buoyancy Force (Archimedes' Principle) Calculator

Enter fluid density, submerged volume and gravitational acceleration to compute the buoyant force F = ρ V g, plus whether the object floats, sinks or stays neutral.

Voltage Divider Calculator

Enter the input voltage and two series resistor values to find the divider output voltage, current and power dissipated in each resistor.

Escape Velocity Calculator

Enter the mass and radius of a celestial body (or pick Earth, Moon, Mars and other presets) to compute the minimum surface launch speed v = √(2GM/r) needed to escape its gravity.

Newton's Law of Cooling Calculator

Enter initial temperature, ambient temperature, cooling constant and elapsed time to estimate an object's temperature with T(t) = T∞ + (T₀ − T∞)·e^(−kt), plus half-cooling time and time constant.

Centripetal Force Calculator

Enter mass and radius, then linear speed, angular speed or period, and instantly read off centripetal force F = m·v²/r, centripetal acceleration, tangential speed, angular speed, period and frequency.

LC Resonant Frequency Calculator

Enter inductance L (H) and capacitance C (F) to compute the resonant frequency f = 1 / (2π√(LC)) of an LC tank circuit, plus its period and angular frequency.

Speed of Sound in Air Calculator

Enter the air temperature and compute the speed of sound in dry air using v = 331.3 × √(1 + T/273.15) — output in m/s, km/h, mph, ft/s plus the "count-the-seconds" thunder distance rule.

Reynolds Number Calculator

Enter fluid density, velocity, characteristic length and viscosity to compute the Reynolds number and classify the flow as laminar, transitional or turbulent.

Spring Potential Energy Calculator

Enter the spring constant k and displacement x to instantly compute the elastic potential energy stored in a Hookean spring via U = ½·k·x², with conversions to kJ, kcal, ft·lbf and Wh for easy comparison.

Beer-Lambert Law Absorbance Calculator

Use A = ε·c·ℓ to compute absorbance, transmittance and concentration — any three of the four inputs determines the fourth.

Kepler's Third Law (Orbital Period) Calculator

Compute orbital period from semi-major axis and central body mass via T² = 4π²·a³/GM, or invert to recover the semi-major axis — with presets for the Sun, Earth, Moon and Jupiter.

Drag Force Calculator

Enter fluid density, velocity, drag coefficient Cd and frontal area and compute the drag force from Fd = ½·ρ·v²·Cd·A — handy for cycling, automotive, ballistic and skydiving scenarios.

Hydrostatic Pressure Calculator

Compute the hydrostatic pressure P = ρ·g·h from fluid density, depth and gravity, and convert it to kPa, bar, psi, atm, mmHg and metres of water — useful for diving, aquariums and piping.

Buffer pH (Henderson–Hasselbalch) Calculator

Enter pKa together with the conjugate-base [A⁻] and weak-acid [HA] concentrations and apply the Henderson–Hasselbalch equation to compute buffer pH, the buffer ratio and the effective buffering range.

Gear Ratio Calculator

Enter driving and driven gear tooth counts plus input RPM and torque to compute gear ratio, output RPM, output torque and mechanical advantage.

Earthquake Magnitude ↔ Energy Calculator

Convert moment magnitude (Mw) to released energy (joules and TNT equivalent) via the Gutenberg–Richter relation log₁₀E = 1.5M + 4.8, with a comparison to landmark historical earthquakes.