Mass to Volume Formula & How to Use It
- Volume
- L
- Result
- Mass
- 500 g
- You entered
- Density
- 1 g/mL
- You entered
This calculator converts a substance’s mass (in grams, kilograms, or pounds) into its volume (in milliliters, liters, or gallons) using the density formula. You enter the mass and the density of the material, and the calculator returns the volume in the unit you choose. The core relationship is volume = mass ÷ density, which works for any solid, liquid, or gas as long as the density is known.
Formula
The mass-to-volume formula is:
V = m / �
- V = volume (mL, L, cm³, m³, or ft³)
- m = mass (g, kg, or lb)
- � (rho) = density (g/mL, kg/m³, or lb/ft³)
Density is mass per unit volume, so dividing mass by density cancels the mass units and leaves volume. The units you use for mass and density must match: if density is in g/mL, mass must be in grams; if density is in kg/m³, mass must be in kilograms.
Worked Example
Using the default values from the calculator: mass = 500 g, density = 1.0 g/mL (the density of water at room temperature).
- Write the formula: V = m / �
- Substitute the numbers: V = 500 g / 1.0 g/mL
- Divide: V = 500 mL
- Convert to liters: 500 mL ÷ 1000 = 0.5 L
The calculator shows 500.00 mL and 0.500 L for these inputs, which matches the hand calculation.
When to Use This Formula
You need the mass-to-volume formula any time you have a weight or mass and need to know how much space it occupies, or vice versa. Common situations include:
- Converting a recipe’s grams of flour to cups (using the flour’s density)
- Estimating the volume of a liquid from its mass in a lab or kitchen
- Checking if a container can hold a certain mass of a material
- Calculating the volume of a metal block from its weight for machining or shipping
- Converting between metric and imperial volume units when only mass is known
The formula is also the basis for buoyancy calculations, hydrometer readings, and many engineering fluid problems.
How to Choose the Right Density
Density depends on the material and its temperature and pressure. For pure substances at standard conditions, densities are widely available in tables. For mixtures, you need the actual density of the mixture, not just the components. Here are key points:
- Water at 4°C has a density of 1.000 g/mL; at 20°C it’s 0.998 g/mL.
- Most solids and liquids change density slightly with temperature; gases change a lot.
- If you have a solution (like salt water), use the solution’s density, which is higher than pure water.
- For powders and granules, “bulk density� includes air between particles and is lower than the material’s true density.
- Always use the same unit system for mass and density to get the volume in the expected unit.
Common Mistakes and Unit Mix-ups
The most frequent error is mixing units: using mass in kilograms with density in g/mL. That gives a volume in liters × 1000, a huge error. Always convert so the mass unit matches the density’s mass unit. For example, if density is 2.7 g/cm³ and mass is 2 kg, convert 2 kg to 2000 g before dividing.
Another common mistake is confusing volume with capacity. A milliliter and a cubic centimeter are exactly the same volume, but a liter is 1000 cm³. When converting to gallons, remember 1 US gallon = 3.78541 L, and 1 imperial gallon = 4.54609 L. Using the wrong gallon changes the answer by about 20%.
Rounding too early can also skew results, especially in multi-step conversions. Keep extra digits until the final answer, then round to a sensible number of significant figures.
Limits of the Formula
The mass-to-volume formula assumes a uniform density throughout the material. It fails for:
- Objects with hollow spaces (like a sealed bottle) – you need the overall density of the object, not just the material.
- Compressible materials under high pressure – density changes with pressure.
- Mixtures that react or separate – the density may change over time.
- Very small or very large scales where surface effects or gravity variations matter (negligible in everyday use).
For gases, the ideal gas law (PV = nRT) is often more useful because gas density depends strongly on temperature and pressure. The mass-to-volume formula still works if you have the actual gas density at those conditions.
Frequently Asked Questions
How do I convert mass to volume without density?
You cannot convert mass to volume without knowing the density. Density is the bridge between the two. If you don’t know it, you can measure it by dividing the mass of a known volume of the substance, or look it up in a density table.
Is volume the same as mass?
No. Mass measures the amount of matter in an object (in grams or kilograms), while volume measures the space it occupies (in liters or cubic meters). Two objects with the same mass can have very different volumes if their densities differ – for example, 1 kg of feathers takes up far more space than 1 kg of iron.
What is the density of water in g/mL?
At 4°C, water has a density of exactly 1.000 g/mL. At room temperature (20°C), it’s 0.998 g/mL. For most everyday calculations, using 1.0 g/mL is accurate enough.
How do I convert grams to milliliters for cooking?
For water, 1 g = 1 mL. For other ingredients, you need their density. For example, all-purpose flour has a density of about 0.53 g/mL, so 100 g of flour is about 189 mL (roughly 0.8 cups). Always use the specific ingredient’s density for accuracy.
What’s the difference between mass and weight?
Mass is the amount of matter in an object, constant anywhere in the universe. Weight is the force of gravity on that mass, so it changes with location. On Earth, weight and mass are often used interchangeably, but in science they are distinct. The mass-to-volume formula uses mass, not weight, though scales measure weight and convert to mass assuming Earth’s gravity.
Can I use this formula for gases?
Yes, but gas density changes dramatically with temperature and pressure. You must use the density of the gas at the specific conditions you’re interested in. For example, air at sea level and 15°C has a density of about 1.225 kg/m³, so 1 kg of air occupies about 0.816 m³ under those conditions.
Related
Formula used
in m | Mass | g | 500 | 0 in d | Density | g/mL | 1.0 | 0 out v | Volume | mL | m / d | 2 out l | Volume | L | (m / d) / 1000 | 3
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, rounded as each result states. See how the calculators work or report an error.