To convert density to volume, use V = m ÷ ρ, where m is mass and ρ is density; a mass value is required. Density describes mass per unit volume, so reversing the relationship requires the amount of mass as well as the density.

There are two separate operations in this task. A density converter changes the units attached to a density number, such as g/cm³ to kg/m³. Calculating volume is the next operation: divide a known mass by the density. The Density Converter supports the first operation in your browser; it does not calculate volume by itself because it does not take a mass input.

how to convert density to volume
How to Convert Density to Volume: Formula and Steps

The formula for converting density to volume

Density is mass divided by volume: ρ = m ÷ V. Solving that equation for volume gives V = m ÷ ρ. In words, divide the mass by the density; do not multiply the two values.

The units must cancel to leave a volume. If mass is in grams and density is in g/cm³, the result is in cm³. If mass is in kilograms and density is in kg/m³, the result is in m³. A mismatched pair, such as grams with kg/m³, does not directly produce a usable volume until one side is converted.

The input must be mass, not volume or weight. If your known quantity is already a volume, work in the opposite direction with m = ρ × V. If only density is known, there is no single volume to calculate because infinitely many masses could share that density.

Convert density to volume step by step

  1. Collect and label the mass. Write down the mass value and its unit before doing any calculation. You also need the density value and its unit. A density figure alone is not enough to determine volume.
  2. Normalize the density. Type the density into the Density Converter’s value field. Choose the original unit under From and the unit you need under To. For example, select g/cm³ to kg/m³ when your mass is in kilograms.
  3. Read the converted density. The result updates instantly as you type, so there is no separate Run button. For a specification that mixes unit systems, tick Show all units at once to see the same density expressed across the supported units together.
  4. Divide the mass by the converted density. Substitute the values into V = m ÷ ρ. Keep the units compatible: kilograms with kg/m³ gives cubic meters, while grams with g/cm³ gives cubic centimeters.
  5. Check the volume and its unit. Confirm that the result is physically plausible and that you have reported the volume unit correctly. Comparing the density with the familiar benchmark for water is a quick way to catch a unit error.

Match mass and density units correctly

The most reliable approach is to choose units that cancel directly. The following combinations make the volume unit visible before any division is performed.

Mass unit Density unit Volume produced by m ÷ ρ
grams (g) g/cm³ cubic centimeters (cm³)
grams (g) g/mL milliliters (mL)
kilograms (kg) kg/m³ cubic meters (m³)
kilograms (kg) kg/L liters (L)
pounds (lb) lb/ft³ cubic feet (ft³)
pounds (lb) lb/in³ cubic inches (in³)
pounds (lb) lb per US gallon US gallons

If your mass and density use different systems, convert the density before dividing. For example, pounds can be paired with lb/ft³, while kilograms should be paired with kg/m³ or another compatible metric unit. The Density Converter handles the density side of this conversion; it does not convert a separate mass input.

Density conversion constants worth knowing

The Density Converter routes every supported density through the SI base unit kg/m³. These relationships make it possible to check its output and select a convenient target unit.

Density unit Relationship to the SI base unit
g/cm³ 1 g/cm³ = 1000 kg/m³
g/mL 1 g/mL = 1000 kg/m³
g/L 1 g/L = 1 kg/m³
kg/L 1 kg/L = 1000 kg/m³
mg/mL 1 mg/mL = 1 kg/m³
lb/ft³ 1 lb/ft³ = 16.018463 kg/m³
lb/in³ 1 lb/in³ = 27679.905 kg/m³
oz/in³ 1 oz/in³ = 1729.994 kg/m³
lb per US gallon 1 lb/gal (US) = 119.82643 kg/m³

To convert one of these units into kg/m³, multiply by the listed factor. To convert from kg/m³ into that unit, divide by the factor. The units g/cm³ and g/mL are identical because one milliliter is exactly one cubic centimeter. The kg/L unit is also numerically equal to g/cm³ because both correspond to 1000 kg/m³.

A worked steel example

Suppose a steel sample has a density of 7.85 g/cm³ and a mass of 7.85 kg. Because the mass is in kilograms, convert the density to kilograms per cubic meter first.

The density conversion is 7.85 g/cm³ × 1000 = 7850 kg/m³. Now substitute the converted density and the known mass into the volume formula:

V = 7.85 kg ÷ 7850 kg/m³ = 0.001 m³.

Because 1 m³ contains 1000 liters, the calculated volume is approximately 1 liter. The important part of this example is not the particular steel value; it is the sequence of converting the density, matching the mass units, and then dividing.

Use water to sanity-check the result

Pure water near 4°C has a density of about 1 g/cm³, which is exactly 1000 kg/m³ and 1 kg/L, or roughly 62.428 lb/ft³. A material denser than water should read above the corresponding water value, while a less-dense material should read below it.

This is an order-of-magnitude check rather than a substitute for temperature-adjusted data. Also verify the units after dividing: multiplying the final volume by the density should recover the original mass. If the result is far from the expected scale, check for a gram–kilogram mismatch, a cubic-unit mistake, or an unintended gallon standard before rounding.

What the Density Converter handles

The converter supports metric units including kg/m³, g/cm³, g/mL, g/L, kg/L, and mg/mL. Its imperial options include lb/ft³, lb/in³, oz/ft³, oz/in³, and lb per US gallon. Results appear instantly, while Show all units at once presents the density across every supported unit in one table. Very large or small results switch to scientific notation to preserve precision. All processing happens in your browser, and your entered values are not uploaded.

Its boundary is important: the tool converts density units only. It has no mass field and does not return a calculated volume. For the complete density-to-volume workflow, enter the density, select compatible From and To units, read the converted density, and then apply V = m ÷ ρ to a separately known mass. Without that mass, the density can be converted between units but cannot establish a unique volume.

Unit traps to avoid

  • Treating a converted density as a volume. A result in kg/m³ is still a density; use it to divide a mass only after the units are aligned.
  • Combining incompatible units. Dividing kilograms by g/cm³ without first converting one side creates an incorrect volume scale.
  • Equating kg/L with kg/m³ as written units. One kg/L equals 1000 kg/m³, even though both can describe the same physical density.
  • Assuming an unspecified gallon is imperial. The converter’s lb/gal option refers to the US gallon.
  • Rounding before the division. Keep the full converted density until the final volume has been calculated, especially for very large or very small values.

If you're weighing options, Calculation for EOQ: Inputs, Formula, and Limits covers this in detail.

If you're weighing options, How Does an LCM Calculator Work? Formula and Steps covers this in detail.