molecalculator

Moles & Molar Mass

How to Convert Volume to Grams

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

Mass 250.00 g
Volume
250 mL
Set in the form below
Density
1 g/mL
Set in the form below
You enter
Volume (mL), Density (g/mL)
You get
Mass (g)
Rounding
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.

This guide explains how to convert a volume measurement (like milliliters or liters) into a mass measurement (grams). Because volume and mass measure different properties, you cannot convert directly without knowing the density of the substance. Once you have the density, the conversion is a single multiplication step. You will need the volume of the substance and its density, typically in grams per milliliter (g/mL) or grams per cubic centimeter (g/cm³).

What You’ll Need

  • The volume of the substance (in milliliters, liters, or another volume unit).
  • The density of the substance (in grams per milliliter, grams per liter, or equivalent).
  • A calculator or the calculator above.

Step-by-Step

  1. Identify the volume. Read the volume from your container, recipe, or problem statement. Note the unit: milliliters (mL), liters (L), cubic centimeters (cm³), etc.
  2. Find the density. Look up the density of the exact substance at its current temperature. Density changes with temperature, so use a value that matches your conditions. For example, water at 4°C has a density of 1.00 g/mL, but at 20°C it is about 0.998 g/mL.
  3. Check unit consistency. Ensure the volume unit and the density unit match. If density is in g/mL, the volume must be in mL. If density is in kg/L, the volume must be in L (or convert). Convert if needed: 1 mL = 1 cm³, 1 L = 1000 mL, 1 m³ = 1000 L.
  4. Multiply volume by density. Use the formula: mass (g) = volume (mL) × density (g/mL). For example, 250 mL × 1.00 g/mL = 250 g.
  5. Record the result. The answer is the mass in grams. If you used a different density unit, convert the result to grams as needed (1 kg = 1000 g).

Common Mistakes

  • Mixing up units. Using a volume in liters with a density in g/mL without converting. Always convert to match.
  • Using the wrong density. Density varies with temperature and purity. For example, olive oil is about 0.91 g/mL, but if you use water’s density, you get a wrong mass.
  • Confusing mass and volume. A gram is a unit of mass, a milliliter is a unit of volume. They are not interchangeable except for water at specific conditions.
  • Rounding too early. Rounding density to 1.0 for a substance like honey (1.42 g/mL) can cause significant errors. Keep at least three significant figures.

Tips

  • For water at room temperature, use 0.998 g/mL for more accurate cooking or lab work.
  • If you have a solid, measure its volume by water displacement (Archimedes’ principle) instead of using a graduated cylinder.
  • Use a kitchen scale for cooking: weigh the container first, then add the ingredient and weigh again. This avoids volume-to-mass conversion errors.
  • Remember that 1 mL = 1 cm³ exactly. This is often helpful in chemistry.

Troubleshooting

If your result seems off, check the following:

  • Density value. Verify you are using the density for the correct substance and temperature. For example, milk density is about 1.03 g/mL, not 1.00.
  • Unit conversion. If you have volume in liters, multiply by 1000 to get milliliters before multiplying by a g/mL density.
  • Significant figures. If your volume has two significant figures, your answer should have no more than two or three. Round at the end.
  • Check the calculator. If using the calculator above, ensure you entered the volume in mL and density in g/mL. The default density is 1.00, which is water at 4°C.

Frequently Asked Questions

Can I convert grams to volume with the same formula?

Yes, rearrange the formula: volume = mass / density. If you have 100 g of a substance with density 2 g/mL, the volume is 50 mL.

Why is the density of water 1 g/mL?

It’s a convenient coincidence of the metric system: the gram was originally defined as the mass of 1 mL of water at 4°C. At that temperature, water has its maximum density.

What if I have a gas? Can I still use this method?

Yes, but gases have very low densities (e.g., air about 0.0012 g/mL at room temperature). You need the density of the specific gas at your pressure and temperature, often found in tables or calculated from the ideal gas law.

How do I convert from cups to grams?

First convert cups to milliliters (1 US cup = 236.588 mL), then multiply by the density in g/mL. For example, 1 cup of all-purpose flour (density about 0.53 g/mL) is about 125 g.

Does temperature affect the conversion?

Yes, density changes with temperature. For liquids, density usually decreases as temperature increases (except for water between 0 and 4°C). Always use a density measured at the same temperature as your volume.

Is a milliliter always equal to a gram?

No, only for water at 4°C. For other substances, the mass of 1 mL is equal to the density in grams. For example, 1 mL of mercury (density 13.6 g/mL) has a mass of 13.6 g.

Related

Formula used
in v | Volume | mL | 250 | 0
in d | Density | g/mL | 1.00 | 0
out m | Mass | g | v * d | 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 →