⚡
usefultools.dev
mol

Molarity Calculator with Molar Mass & Dilution

NEW

Molarity calculator: solve M = n/V for mass, volume, concentration or molar mass, get molar mass from a formula and solve C1V1 = C2V2 dilutions. Free, in-browser.

Runs 100% in your browser — your input is never uploaded or stored on our servers.

Mode

Molar mass from formula

Case-sensitive. Brackets ( ) [ ] and hydrate dots (· . *) are supported.

NaCl: 58.44 g/mol

ElementAtomsArMass %
Na122.9939.34
Cl135.4560.66

1 × 22.99 + 1 × 35.45 = 58.44 g/mol

Solve for
Mass
5.844 g

Amount of substance: 0.1 mol

  1. V = 500 mL = 0.5 L
  2. n = C × V = 0.2 mol/L × 0.5 L = 0.1 mol
  3. m = n × M_r = 0.1 mol × 58.44 g/mol = 5.844 g
⚡

Quick Examples

Typical inputs and the results this tool produces.

Molar mass
NaCl
58.44 g/mol
Hydrate
CuSO4·5H2O
249.677 g/mol
Mass
0.2 M NaCl, 500 mL
5.844 g
Molarity
10 g NaOH (40 g/mol), 250 mL
1 M
Volume
4.9 g H2SO4 at 0.1 M
499.633 mL
Dilution
2 M stock to 100 mL of 0.5 M
25 mL stock + 75 mL solvent
📖

Overview

Molarity is the number of moles of solute per litre of solution: M = n ÷ V, with n = mass ÷ molar mass. This molarity calculator solves that relationship for whichever value you are missing, whether that is the concentration, the mass to weigh out, the volume to make up or an unknown molar mass.

Type a chemical formula such as H2SO4, Ca(OH)2 or CuSO4·5H2O and the molar mass is calculated from IUPAC standard atomic weights (2021 table, five significant figures) for all 118 elements, with an element-by-element breakdown and mass percentages. Units cover kg, g, mg and µg, L, mL and µL, and M, mM, µM and nM.

A second mode solves dilutions with C1V1 = C2V2. Every answer lists the working step by step, which makes it handy for chemistry homework and lab prep. Everything runs in your browser.

Why use this tool?

  • Solve for any one unknown
  • Molar mass straight from the formula
  • Handles hydrates and brackets
  • Dilution C1V1 = C2V2 built in
  • Step-by-step working for homework
⭐

Features

🧪

Four unknowns

Solve for concentration, mass, volume or molar mass from the other three.

⚛️

Formula parser

Reads (OH)2, [Fe(CN)6], hydrate dots like ·5H2O and subscripts like H₂O.

📊

Element breakdown

Atom counts, atomic weights and mass percent for each element.

📏

Unit selectors

kg/g/mg/µg, L/mL/µL and M/mM/µM/nM, converted for you in the working.

💧

Dilution mode

C1V1 = C2V2 for any one value, plus how much solvent to add.

📝

Shows the working

Each step, n = m ÷ Mr and C = n ÷ V, is listed with the numbers used.

🛠️

How to Use

1

Enter the formula

Type a formula or pick a sample; the molar mass field fills in automatically.

2

Choose "Solve for"

Select Concentration, Mass, Volume or Molar mass.

3

Fill in the rest

Enter the other values and pick their units; the result unit can be changed too.

4

Dilute if needed

Switch the mode to "Dilution", choose the unknown and enter the other three values.

🤔

Frequently Asked Questions