molecalculator

Moles & Molar Mass

Calculate Volume from Grams: Step-by-Step Guide

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

Volume 100.00 mL
Mass of substance
100 g
Set in the form below
Density of substance
1 g/mL
Set in the form below
You enter
Mass of substance (g), Density of substance (g/mL)
You get
Volume (mL)
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 shows you how to convert a mass in grams into a volume, using the substance’s density. You’ll learn the simple formula, see a worked example with water, and get practical tips to avoid common unit errors. This is useful for cooking, lab solution prep, and any task where you need to measure a liquid by volume but only have a mass.

Formula

The relationship between mass, volume, and density is:

Volume = Mass ÷ Density

In symbols: V = m / ρ

  • V = volume, in milliliters (mL) or cubic centimeters (cm³)
  • m = mass, in grams (g)
  • ρ (rho) = density, in grams per milliliter (g/mL) or grams per cubic centimeter (g/cm³)

Note: 1 mL = 1 cm³ exactly. So if you measure volume in liters, remember 1 L = 1000 mL.

Worked Example

Using the calculator defaults: mass = 100 g, density = 1.00 g/mL (density of water at room temperature).

  1. Write down the formula: V = m / ρ
  2. Plug in the numbers: V = 100 g / 1.00 g/mL
  3. Divide: V = 100 mL

So 100 grams of water occupies 100 milliliters. The calculator gives the same result: 100.00 mL.

Assumptions

  • Density is constant at the given temperature and pressure (density changes with temperature, especially for liquids).
  • The substance is pure and homogeneous.
  • You are using the correct density for the specific substance and its state (liquid, solid, etc.).

When to Use This Calculation

Use this conversion whenever you have a mass in grams but need to measure a volume, or vice versa. Common situations:

  • Preparing a solution in a lab: you weigh a solid solute, then need to know what volume of solvent to add.
  • Cooking or baking: a recipe calls for 200 g of honey, but you only have a measuring cup.
  • Estimating the volume of a metal piece from its mass (if you know the metal’s density).

Always check that your density value matches the temperature of your substance. For example, water density at 4°C is 1.000 g/mL, but at 25°C it’s about 0.997 g/mL. For most everyday purposes, using 1.00 g/mL for water is fine, but for precise lab work, use the exact value.

Common Mistakes

  • Using the wrong density: The biggest error is using the density of a different substance. For example, using water’s density (1.00) for oil (about 0.92) will give a wrong volume.
  • Mixing up units: Density is often given in g/cm³, g/mL, or kg/L. They are numerically the same for water (1 g/cm³ = 1 g/mL = 1 kg/L), but if you have density in kg/m³ (e.g., 1000 kg/m³ for water), you must convert to g/mL first (divide by 1000).
  • Ignoring temperature: Density changes with temperature. A liquid that is warm will expand and have lower density, so the same mass will occupy a larger volume.
  • Rounding too early: Rounding the density to 1.0 when it’s actually 0.998 can cause small errors in precise work.

Tips

  • Always write down the units when you plug numbers into the formula. If the units don’t cancel to give volume, you have a mistake.
  • For liquids, use a graduated cylinder or volumetric flask for accurate volume measurement. For solids, use a ruler and calculate volume from dimensions if you need geometric volume.
  • If you are measuring a powder or granular solid, its bulk density (including air spaces) is different from the true density of the material. Use the bulk density if you are measuring a scoop, not a solid block.
  • Keep a reference table of common densities handy: water 1.00 g/mL, ethanol 0.789 g/mL, olive oil 0.91 g/mL, honey 1.42 g/mL, aluminum 2.70 g/cm³, iron 7.87 g/cm³.

Troubleshooting

If your calculated volume seems too large or too small, check these in order:

  1. Verify the density value: Look up the density again from a reliable source. Make sure it’s for the correct state (solid vs. liquid) and temperature.
  2. Check unit consistency: If density is in g/cm³ and mass is in kg, convert mass to grams (multiply by 1000) or density to kg/cm³ (divide by 1000).
  3. Consider the substance’s form: For powders, use bulk density. For gases, density is very low (e.g., air ~0.0012 g/mL), so volume will be huge; this formula works but be careful with units.
  4. Recheck your arithmetic: A simple division error is common. Use a calculator or the one above.

Frequently Asked Questions

Can I convert grams to volume without knowing density?

No. Density is the bridge between mass and volume. Without it, you cannot convert. You can look up density for pure substances, or measure it by dividing mass by volume of a known sample.

Why is 1 mL of water equal to 1 gram?

Because the density of water is defined as 1 g/mL at 4°C. That’s the historical definition of the gram: one cubic centimeter of water. At other temperatures, water’s density is slightly less, so 1 mL weighs a bit less than 1 g.

What if I have the volume and need grams?

Just rearrange the formula: mass = volume × density. For example, 500 mL of ethanol (density 0.789 g/mL) has a mass of 500 × 0.789 = 394.5 g.

Does this work for solids like flour or sugar?

Yes, but use the bulk density (the density of the powder as it settles in a cup), not the density of a solid crystal. For example, all-purpose flour has a bulk density of about 0.55 g/mL, so 100 g of flour is about 182 mL.

How does temperature affect the conversion?

Most substances expand when heated, so density decreases. That means a fixed mass will occupy a larger volume at higher temperatures. For precise work, use density values at the same temperature as your sample.

What are common density units and how do I convert them?

Common units: g/mL, g/cm³, kg/L, kg/m³. Conversions: 1 g/mL = 1 g/cm³ = 1 kg/L = 1000 kg/m³. To convert from kg/m³ to g/mL, divide by 1000. For example, 1000 kg/m³ = 1 g/mL.

Related

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