Convert a known mass density between metric and customary units with this density converter. Choose the units used by your material data and the units you need, including kilograms per cubic meter, grams per cubic centimeter and pounds per cubic foot.
Unit converter
Density Converter
Convert density between metric units, pounds per cubic foot and ounces per gallon.
Ounces are mass ounces (avoirdupois), not fluid ounces. US gallons are liquid measures; UK gallons are imperial.
For density conversions on your phone, Unit Converter is free to download and includes a Density converter.
How to use this tool
- Choose the original unit in From and the unit you need in To.
- Enter the value to convert in Value.
- Read Converted value below. Valid entries update automatically; you can also click Convert.
What is density?
Density describes how much mass is contained in a given volume. A denser material has more mass in the same amount of space. This relationship is useful when comparing materials or finding how much mass a measured volume contains.
Mass density is calculated as mass per unit volume:
ρ = m ÷ V
The Greek letter ρ, pronounced rho, represents density; m is mass and V is volume. Rearranging the same relationship gives m = ρV when density and volume are known, or V = m ÷ ρ when density and mass are known.
A density converter puts a known density into the units needed for a specification, comparison or calculation. The mass and volume units must work together: multiplying a density in kilograms per cubic meter by a volume in cubic meters gives mass in kilograms.
Understanding density units
Every mass-density unit combines a mass unit with a volume unit. The part before the slash identifies the mass; the part after it identifies the volume that contains that mass.
- kg/m³ — kilograms per cubic meter
- The SI unit of density. It relates mass in kilograms to volume in cubic meters.
- g/cm³ — grams per cubic centimeter
- A metric unit built from a smaller mass and a smaller volume. It is numerically equivalent to kilograms per liter, kg/L.
- lb/ft³ — pounds per cubic foot
- A customary unit that uses pounds of mass and cubic feet. The related unit lb/in³ uses a cubic inch as its volume.
Volume units are cubic, so their conversion factors come from cubing length factors. A meter contains 100 centimeters, but a cubic meter contains 1,000,000 cubic centimeters. Density conversion must account for this volume relationship as well as the mass conversion.
Converting kg/m³ to g/cm³
Combining the gram-to-kilogram and cubic-centimeter-to-cubic-meter definitions gives:
1 g/cm³ = 1,000 kg/m³
To convert kg/m³ to g/cm³, divide by 1,000. To convert in the opposite direction, multiply by 1,000. Other useful metric relationships are:
- 1 g/cm³ = 1 kg/L
- 1 g/L = 1 kg/m³
- 1 mg/L = 0.001 kg/m³
Each conversion combines the appropriate mass and volume factors. The converter includes these metric units alongside pounds per cubic foot, pounds per cubic inch and ounces per gallon.
Ounces per gallon: mass and volume
In an ounces-per-gallon density, the ounce is an avoirdupois mass ounce, not a fluid ounce. A fluid ounce measures volume. The US liquid gallon and the UK imperial gallon are different volumes, so the converter gives them separate choices. Match the gallon label on the source measurement when choosing a conversion.
Density values and specific gravity
Density data can include a temperature and pressure because changing a material’s volume changes its density. This is especially important for gases, which compress much more readily than liquids and solids. Keep those conditions with a density value when using material data.
Specific gravity expresses density as a ratio to a reference density, commonly that of water for solids and liquids. It has no units because the two densities are divided using matching units. A specific-gravity value therefore needs its reference conditions before it can be used to obtain mass density.
More tools: Browse all calculators and unit converters.
Convert density units on your phone
Keep density conversions and other measurement tools handy with Unit Converter. Download it free from the App Store or Google Play.

