To convert a quantity (mass, moles, or number of particles) to volume, you divide by the appropriate density or concentration: volume = mass ÷ density for pure substances, or volume = amount ÷ molarity for solutions. This article explains the three common conversion types, gives the formulas, and shows worked examples with the calculator below.
Formula
The calculator above computes molarity from mass, molar mass, and solution volume. The formula is:
c = m / (M × V)
- c = molarity (mol/L, written M)
- m = mass of solute (g)
- M = molar mass of solute (g/mol)
- V = volume of final solution (L)
To convert a given mass to volume of a pure liquid or solid, use V = m / ρ where ρ is density (g/mL or g/cm³). To convert moles to volume of a gas at STP, use V = n × 22.414 L/mol. To convert moles of solute to volume of solution, use V = n / c.
Worked Example
Using the defaults: you have 2.922 g of NaCl (molar mass 58.44 g/mol) and want to make 250 mL of solution. First convert mL to L: 250 mL = 0.250 L. Then calculate moles: 2.922 g ÷ 58.44 g/mol = 0.05000 mol. Then molarity = 0.05000 mol ÷ 0.250 L = 0.2000 mol/L. The calculator shows 0.2000 M, and in millimolar that is 200.0 mM.
Assumptions
- The solute is pure and completely dissolves; no volume change on mixing.
- Molar mass is taken from IUPAC standard atomic weights (Na 22.99, Cl 35.45).
- Density conversions assume the substance is at room temperature (approx. 20–25 °C) unless stated otherwise.
- Gas conversions assume ideal behavior at 0 °C and 1 atm (STP).
When to Use Each Conversion
You need to convert quantity to volume in many lab and everyday situations. Here are the three main cases:
- Mass to volume (pure substance): If you have 10 g of ethanol and need to know the volume, divide by density (0.789 g/mL) → 12.7 mL. Useful for measuring liquids by volume when you only have a mass.
- Moles to volume (gas): At STP, 1 mole of any ideal gas occupies 22.414 L. So 0.5 mol of CO₂ occupies 11.207 L. This is used in stoichiometry for gas reactions.
- Moles to volume (solution): To make a 0.5 M solution from 0.25 mol of solute, you need 0.25 ÷ 0.5 = 0.5 L (500 mL) of final solution.
How to Choose the Right Density or Concentration
For mass-to-volume conversions, always use the density of the specific substance at the temperature you are working with. Density changes with temperature: water is 0.998 g/mL at 20 °C, but 0.958 g/mL at 100 °C. For solutions, use the density of the solution, not the pure solvent, if you need high accuracy. For molarity conversions, use the concentration of the stock solution you actually have, not a nominal value. Check the label or your protocol.
Common Mistakes and Misconceptions
A frequent error is mixing up mass and volume units. For example, using grams per milliliter for density but then converting to liters without adjusting. Always keep units consistent: if density is in g/mL, volume must be in mL, then convert to L if needed. Another misconception is that 1 mole of any gas occupies 22.414 L at room temperature – that is only true at 0 °C and 1 atm. At 25 °C, the molar volume is 24.47 L. Also, when preparing a solution, the final volume includes the solute’s volume; you add solvent to reach the mark, not just add the solvent volume you calculated.
Practical Examples
Let’s walk through two more examples to cement the idea.
Example 1 – Mass to volume of a liquid: You need 5.00 g of glycerol (density 1.261 g/mL). Volume = 5.00 g ÷ 1.261 g/mL = 3.965 mL. Use a pipette to measure 3.97 mL.
Example 2 – Moles to volume of a gas: In a reaction you produce 0.250 mol of oxygen gas at STP. Volume = 0.250 mol × 22.414 L/mol = 5.604 L. This tells you how much gas to collect.
Limits of the Formulas
The ideal gas law (and its molar volume) fails at high pressure or low temperature. Density varies with temperature and pressure; for solids and liquids the variation is small but not negligible. Molarity conversions assume the solute’s molar mass is known and the solution is dilute enough that volume additivity holds. For concentrated solutions, the final volume may differ from the sum of solute and solvent volumes. Always use the actual density or concentration for your specific conditions.
Frequently Asked Questions
How do I convert grams to mL without a density?
You cannot convert grams to milliliters without knowing the density of the substance. Density is the bridge between mass and volume: volume = mass ÷ density. If you don’t know the density, look it up in a reference table or measure it by weighing a known volume.
Is 1 mL always equal to 1 g?
No. That is only true for water at 4 °C, where density is exactly 1 g/mL. For other substances, 1 mL weighs more or less than 1 g. For example, 1 mL of mercury weighs 13.6 g, while 1 mL of ethanol weighs about 0.789 g.
How do I convert moles to liters of a solution?
Use the molarity: volume (L) = moles ÷ molarity. For example, 0.2 mol of NaCl to make a 0.5 M solution: 0.2 ÷ 0.5 = 0.4 L (400 mL). This gives the final volume of the solution, not the volume of solvent to add.
What is the volume of 1 mole of gas at room temperature?
At 25 °C and 1 atm, 1 mole of an ideal gas occupies about 24.47 L. At 0 °C (STP), it is 22.414 L. The difference matters in gas stoichiometry, so always specify the conditions.
Can I use the same density for a solution as for the pure solvent?
Only if the solution is very dilute. For accurate work, use the density of the actual solution, which you can find in tables or measure. For example, seawater has a density of about 1.025 g/mL, not 1.000 g/mL.
Why does the calculator show millimolar as well?
Millimolar (mM) is a common unit in biochemistry and molecular biology for concentrations. It is simply molarity × 1000. Showing both helps you avoid conversion errors when your protocol uses mM.
Related
Formula used
in m | Mass of solute | g | 2.922 | 0 in mm | Molar mass | g/mol | 58.44 | 0.001 in v | Final solution volume | mL | 250 | 0.001 out c | Molarity | mol/L | m / mm / (v / 1000) | 4 out cmm | Concentration in millimolar | mM | c * 1000 | 2
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work
Method: the standard formula for this calculation with the constants and conversion factors written on the page, rounded as each result states. See method and constants, the disclaimer or report an error.
More in this section
- Volume Calculator in Chemistry: How to Use It0.2000 mol/L
- Volume Calculator in mm: Convert & Calculate100,000 mm³
- Volume Calculator Feet and Inches: How to Use It3.12 ft³
- Volume Calculator: Convert ft to Yards1.00 yd³
- Surfboard Volume Calculator JS: How It Works32.4 L
- Volume Calculator cm to Litres: How to Convert2.500 L