DIY Cost Tools
Density Converter
Convert density values among common SI, metric and customary units. Density relates mass to volume. The converter uses kg/m³ as the common base and treats US gallon as exactly 231 cubic inches.
How to use this converter
- Enter the density value.
- Select its current unit and the unit you want.
- Select Convert. The page shows the converted value, the SI-base value and the direct multiplication factor.
Conversion formula
Converted value = entered value × source-to-SI factor ÷ target-to-SI factor.
Every option is represented by its factor to kilogram per cubic meter (kg/m³). This one-base method keeps reciprocal conversions consistent. Calculations run in your browser, and old results are hidden when an input changes or validation fails.
Worked example
Convert 1000 kg/m³ to g/cm³. Multiply by 0.001; the result is 1 g/cm³. The same input equals 1000 kg/m³ in the SI-base unit.
Accuracy and limitations
Actual material density can change with temperature, pressure, moisture, composition and packing. Use a measured or specified density for design work.
The calculator retains more digits internally than it displays. Round the final value to the precision supported by your measurement. Very large and very small answers may use scientific notation.
Frequently asked questions
Why do g/cm³, g/mL and kg/L match?
Their unit scales cancel in the same way, so each has the same numerical density.
Can I reverse the conversion?
Yes. Swap the From and To selections. Because both units use the same SI base, the reverse factor is the reciprocal of the forward factor.
Why was my entry rejected?
Use digits with an optional decimal point or scientific notation. Blank values, commas, fractions, words and non-finite entries are rejected. Negative values are rejected because this converter treats the quantity as a magnitude.
Review notes and sources
Reviewed October 4, 2026. The conversion factors, default example, zero or signed boundary behavior, invalid-input handling and recovery after an error were checked. Factors follow SI definitions and published conversion guidance from the NIST Guide to the SI and the BIPM SI Brochure. Explanations and examples are original.
Related calculators
Conversion calculators · Companion calculator · Related calculator · Search all calculators