b2KIT

Density Converter

Convert kg/m³, g/cm³, lb/ft³, lb/gal, and other density units for materials.

Tested tool guide Tested browser tools Checked August 16, 2026

What Density Converter does, with a checked example

Density relates a material's mass to the volume it occupies. This converter takes a numeric density, a source unit such as kg/m^3, g/cm^3, or lb/ft^3, and a target density unit, then expresses the same mass-per-volume ratio on the target scale. It changes units, not the material's physical state or assumed temperature. The common trap is reading lb/gal without checking whether gal means a US liquid gallon or an imperial gallon, since those are different units.

Worked example

A concrete input and expected output from the current implementation.

Input

1 g/cm^3 to kg/m^3

Expected output

1000 kg/m^3

One gram is 10^-3 kilograms, and one cubic centimeter is 10^-6 cubic meters. Therefore, (10^-3 kg)/(10^-6 m^3) equals 10^3 kg/m^3.

How the result is produced

1

Converting the ratio

Enter the density value and identify both units. The result preserves the underlying mass-to-volume ratio while rescaling its mass and volume components. Length conversions in a volume term are cubed: converting a denominator based on centimeters to one based on meters changes the numeric value by a factor of 1,000,000 before any mass-unit change is considered.

2

Reading compound units

Unit symbols identify both sides of the density ratio. kg/m^3 means kilograms per cubic meter, while g/cm^3 means grams per cubic centimeter. Converting only the mass portion gives the wrong result because the denominator must change too. For gallon-based units, the gallon convention must also be identified for the result to be unambiguous.

Good uses

  • Converting a laboratory density reported in g/cm^3 into kg/m^3 for an SI calculation.
  • Translating a supplier's lb/ft^3 figure into a metric density for a material schedule.
  • Checking whether data sheets using kg/m^3 and lb/gal report comparable material densities.

Limits and checks

  • Unit conversion does not account for density changes caused by temperature, pressure, composition, or moisture.
  • lb/gal is ambiguous unless the gallon is identified as US liquid or imperial.
  • Specific gravity is dimensionless and reference-dependent, so it is not interchangeable with density without a stated reference density.

Common questions

Can I convert density directly into mass?

No, not from density alone. Mass equals density multiplied by volume, so you must also know how much space the material occupies. This tool only restates a mass-per-volume value in another density unit. To obtain mass, use the converted density with a volume expressed in a compatible volume unit.

Why can a converted result differ from a material data sheet?

Small differences can come from rounding or the number of digits displayed. Larger differences may mean the sources used different gallon definitions or measured the material under different temperature, pressure, composition, or moisture conditions. A unit conversion cannot reconcile genuinely different physical densities, so check the source conditions before treating the values as equivalent.

References and verification

The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.

Related Tools