molecalculator

Moles & Molar Mass

Volume Calculator in Chemistry: How to Use It

Calculator No. 01-7483 · Updated · Formula and assumptions shown below

Molarity 0.2000 mol/L
Concentration in millimolar
200.00 mM
= Molarity × 1000
Mass of solute
2.922 g
Set in the form below
Molar mass
58.44 g/mol
Set in the form below
You enter
Mass of solute (g), Molar mass (g/mol), Final solution volume (mL)
You get
Molarity (mol/L), Concentration in millimolar (mM)
Rounding
4 dp · 2 dp

For study and lab planning. The result follows from the numbers you enter and the formula shown. Check it against your method before you weigh, mix or dilute anything, follow the safety data sheet and your supervisor, and do not use it for clinical, dosing or medication work.

A volume calculator in chemistry works out the volume of a gas, liquid, or solution from other measured quantities using a standard formula. You enter the values you know—such as mass and density, or moles, pressure, and temperature—and it returns the volume in liters or milliliters. This page explains the common volume calculations in a chemistry lab, how to choose the right one, and how to avoid the unit mistakes that cause most errors.

Formula

The calculator above uses the molarity definition to find the concentration, not the volume directly. To find the volume of solution needed to make a given molarity, rearrange the same formula:

Molarity (mol/L) = moles of solute / volume of solution (L)

So:

Volume (L) = moles of solute / molarity (mol/L)

Where:

  • moles = mass of solute (g) ÷ molar mass (g/mol)
  • molarity = desired concentration in mol/L
  • volume = final solution volume in liters (convert mL to L by dividing by 1000)

For gases, the volume is found from the ideal gas law:

V = nRT / P

Where n is moles, R is the gas constant (8.314 J/(mol·K) or 0.0820574 L·atm/(mol·K)), T is absolute temperature in kelvin, and P is pressure in the matching unit.

Worked Example

Using the default values from the calculator: you dissolve 2.922 g of sodium chloride (NaCl, molar mass 58.44 g/mol) in enough water to make 250 mL of solution. What is the molarity?

  1. Convert volume to liters: 250 mL ÷ 1000 = 0.250 L
  2. Calculate moles: 2.922 g ÷ 58.44 g/mol = 0.05000 mol
  3. Divide moles by volume: 0.05000 mol ÷ 0.250 L = 0.2000 mol/L

The calculator shows 0.2000 mol/L, which is 200.0 mM. This is a standard 0.2 M NaCl solution.

Assumptions

  • The solute is pure and fully dissolves.
  • The final volume is measured after dissolution, not the volume of solvent added.
  • Temperature and pressure effects on liquid volume are negligible for dilute aqueous solutions.
  • For gases, the ideal gas law assumes no intermolecular forces and negligible molecular volume; it is accurate at low pressure and high temperature.

Types of Volume Calculations in Chemistry

Depending on what you know, you use different formulas:

  • From mass and density: volume = mass ÷ density. For a liquid or solid, density is usually in g/mL or g/cm³.
  • From moles and molarity: volume (L) = moles ÷ molarity. This is for preparing solutions.
  • From ideal gas law: V = nRT/P. Used for gases at known temperature and pressure.
  • From stoichiometry: use the balanced equation to find moles of a product, then convert to volume (for gases at STP, 1 mol = 22.414 L; for solutions, use molarity).

Each method is a rearrangement of a definition. The key is to identify which quantities you have and which you need.

How to Choose the Right Volume Formula

Ask yourself what state of matter you are dealing with:

  • Solid or liquid: use mass and density. Example: 10.0 g of ethanol (density 0.789 g/mL) has a volume of 10.0 ÷ 0.789 = 12.7 mL.
  • Solution: use molarity and moles. Example: to get 0.500 mol of NaCl from a 2.00 M stock, you need 0.500 ÷ 2.00 = 0.250 L = 250 mL.
  • Gas: use the ideal gas law. Example: 1.00 mol of an ideal gas at 298 K and 1.00 atm has V = (1.00 × 0.0820574 × 298) ÷ 1.00 = 24.5 L.

If you have a balanced reaction, convert the given amount to moles, then use the mole ratio to find the desired substance’s moles, then apply the appropriate volume conversion.

Common Mistakes and How to Avoid Them

  • Mixing mL and L: Always convert mL to L by dividing by 1000 before using molarity. Forgetting this changes the answer by a factor of 1000.
  • Using °C instead of K: In the ideal gas law, temperature must be in kelvin. Add 273.15 to Celsius.
  • Pressure unit mismatch: If you use R = 0.0820574 L·atm/(mol·K), pressure must be in atm. If you use R = 8.314 J/(mol·K), pressure must be in Pa (1 atm = 101325 Pa).
  • Confusing mass and moles: Molarity uses moles, not grams. Convert mass to moles first using molar mass.
  • Rounding too early: Keep at least 4 significant figures until the final step, then round.

Limits of These Formulas

The ideal gas law is an approximation. It works well for most gases at room temperature and atmospheric pressure, but fails at high pressure or low temperature where real gases deviate. For liquids, density changes with temperature; a volume calculated at 20 °C is slightly different at 25 °C. For solutions, molarity is based on final volume, not solvent volume—mixing 50 mL of water with 50 mL of ethanol gives less than 100 mL due to contraction, so always dilute to the mark in a volumetric flask.

For very precise work, use the van der Waals equation or activity coefficients, but for most teaching labs and routine preparations, these simple formulas are sufficient.

Frequently Asked Questions

How do I calculate the volume of a gas at STP?

At STP (0 °C, 1 atm), one mole of an ideal gas occupies 22.414 L. Multiply the number of moles by 22.414 to get volume in liters. For example, 2.00 mol of gas at STP has a volume of 44.83 L.

What is the difference between molarity and molality?

Molarity (M) is moles of solute per liter of solution. Molality (m) is moles of solute per kilogram of solvent. Molarity changes with temperature because volume expands, while molality does not. Use molality for colligative properties like boiling point elevation.

Can I use the same volume calculator for acids and bases?

Yes, the volume calculation for solutions is the same. However, for acid-base titrations, you also need stoichiometry. For example, to neutralize 25.0 mL of 0.100 M HCl with 0.200 M NaOH, use the balanced equation: moles HCl = 0.0250 L × 0.100 = 0.00250 mol. Since the ratio is 1:1, you need 0.00250 mol NaOH, so volume = 0.00250 ÷ 0.200 = 0.0125 L = 12.5 mL.

How do I find the volume of a liquid from its mass?

Divide the mass by the density. Density must be in the same units as mass and volume. For example, if you have 25.0 g of water (density 1.00 g/mL at 4 °C), the volume is 25.0 mL. For other liquids, look up the density at the working temperature.

Why does the volume of a solution not equal the sum of solute and solvent volumes?

When you dissolve a solute, the molecules interact and the total volume can be slightly more or less than the sum. For example, mixing 50 mL of ethanol with 50 mL of water gives about 96 mL, not 100 mL. This is why you always make solutions in a volumetric flask and add solvent to the mark, not measure solvent separately.

What is the volume of one mole of any gas at room temperature?

At 25 °C (298 K) and 1 atm, one mole of an ideal gas occupies about 24.5 L. This is often called molar volume. It is slightly larger than at STP because the temperature is higher. Use the ideal gas law to calculate it precisely for other conditions.

Safety and Practical Notes

When preparing solutions, always add acid to water (not water to acid) to avoid splashing. Wear appropriate personal protective equipment and follow your lab method, the safety data sheet (SDS) and your supervisor. For gases, ensure the container can withstand the pressure and work in a fume hood if the gas is toxic or flammable. These calculations are for study and lab planning only; they are not for clinical or medication dosing.

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

The whole Moles & Molar Mass section →