Density, Mass & Volume Calculator

Find density from mass and volume, or solve for the missing mass or volume. Mix grams, kilograms, litres and supported US customary units.

Example: 1,250.50. Use a period for decimals.

This setting is not saved.

Result

Enter values and select Calculate.

How is this calculated?

Density ρ = m ÷ V, where m is mass and V is volume. Convert the input quantities to kilograms and cubic metres before applying the formula.

Worked example: Find density from a net sample mass

A sample is 1,500 g after subtracting the empty container. Its volume is 1.2 L, so its density is 1,250 kg/m³. Choose kg/L instead to display 1.25 kg/L.

Method and limits

Density is mass divided by volume; mass is density multiplied by volume. Calculations convert inputs to kilograms and cubic meters. Values refer to the same sample and conditions, not to changes in density with temperature or pressure.

How to use this calculator

  1. Choose Density, Mass or Volume. Enter only the two known quantities and choose the output unit for the unknown quantity.
  2. If you weighed a container, subtract its empty mass first. Use the resulting sample mass and the volume occupied by that same sample.

Find the density of a liquid sample without the container

A filled container has a mass of 1.85 kg and the empty container is 0.35 kg. The sample mass is 1.50 kg. For 1.2 L of sample, the density is 1.25 kg/L, or 1,250 kg/m³.

Match the formula to what you know

Use density = mass ÷ volume for a measured sample, mass = density × volume to estimate how much a known volume weighs, or volume = mass ÷ density to find how much space a known mass occupies. For example, material at 1.25 kg/L has a mass of 3.75 kg in 3 L. At that density, 5 kg occupies 4 L.

Convert both parts of a density together

One litre is 0.001 cubic metres. A density of 1.25 kg/L therefore corresponds to 1,250 kg/m³: the number is larger because a cubic metre holds 1,000 litres. Choose the result unit explicitly; changing only that selector does not change how your mass or volume input is read.

Decide which volume you measured

Net sample volume, loose bulk volume, and compacted bulk volume need not be interchangeable. For an estimate of the total mass of a load of loose fill, ask for bulk density at the intended moisture and packing, not the density of the underlying solid alone.

Frequently asked questions

Can I enter grams and litres together?
Yes. Set each input unit independently and select the output density unit. Do not pre-convert a value and also keep the old unit selected.
How do I include the container tare?
Subtract the empty container mass from the filled mass in the same unit, then enter just the net mass. Enter only the volume of the sample that corresponds to that mass.
Why does kg/m³ look so different from kg/L?
A cubic metre is 1,000 litres, so the numerical value in kg/m³ is 1,000 times the value in kg/L for the same density.
Can density identify my material?
No. Different materials can have similar densities, and changing temperature, moisture or packing can influence the measurement.

Common mistakes and limits

Sources & methodology

Related calculators