AnyTool
Your files never leave your device. All processing happens locally in your browser.

How do I convert density between kg/m³, g/cm³ and lb/ft³?

Type a value into AnyTool Density Converter and pick the units. It instantly converts both ways between kg/m³, g/cm³, g/mL, kg/L, g/L, t/m³, mg/L, lb/ft³, lb/in³, oz/in³, lb/US gal and slug/ft³, and shows the value in every unit at once in a copyable table. Everything is calculated in your browser, so nothing is uploaded.

  • Live two-way conversion — type in either field and the other updates
  • Metric (kg/m³, g/cm³, g/mL, kg/L, g/L, t/m³, mg/L) and US/Imperial (lb/ft³, lb/in³, oz/in³, lb/gal, slug/ft³)
  • See the value in every unit at once, each row copyable
  • Exact dimensional factors through a kg/m³ base
  • 100% in your browser — no upload, no signup, works offline

What is

Density Conversion

Density is mass per unit volume — how much matter is packed into a given space. Density conversion changes that figure from one unit to another, for example kilograms per cubic metre to grams per cubic centimetre. Every density unit relates to the SI base (kg/m³) by a single linear factor, so conversion is one multiply and one divide; pure water at 4 °C is the natural anchor at 1000 kg/m³ = 1 g/cm³.

Converters

Related terms

kg/m³ to g/cm³lb/ft³specific gravitymass per volume

Frequently Asked Questions

Divide the kg/m³ value by 1000. So 1000 kg/m³ is 1 g/cm³.

One gram per cubic centimetre equals exactly 1000 kilograms per cubic metre, so to go from kg/m³ to g/cm³ you divide by 1000, and to go the other way you multiply by 1000. For example, water at 1000 kg/m³ is 1 g/cm³, and aluminium at 2700 kg/m³ is 2.7 g/cm³. The same 1000 factor also relates kg/m³ to g/mL, kg/L and t/m³.

Pure water at 4 °C is 1000 kg/m³, which equals 1 g/cm³ and about 62.4 lb/ft³.

Pure water reaches its maximum density at about 4 °C, where it is almost exactly 1000 kg/m³. That equals 1 g/cm³, 1 g/mL, 1 kg/L and 1 t/m³, and roughly 62.4 lb/ft³ or 8.345 lb per US gallon. Water is the standard reference for density: a material that floats is lighter than water and one that sinks is denser.

One pound per cubic foot is 16.018463 kg/m³.

One pound per cubic foot equals 16.018463 kilograms per cubic metre, derived from the exact definitions of the pound (0.45359237 kg) and the foot (0.3048 m). So to convert lb/ft³ to kg/m³ you multiply by about 16.0185, and to go back you divide. For example, water at 62.4 lb/ft³ works out to roughly 1000 kg/m³.

No. Every calculation runs in your browser, so nothing is sent to a server and it works offline.

AnyTool Density Converter computes every result locally in JavaScript using exact dimensional factors through a kilogram-per-cubic-metre base. No value is uploaded, there is no tracking, and the page keeps working offline after the first load.

Detailed Explanation

Methodology

How the Density Converter Works

AnyTool Density Converter performs every calculation in the browser. Each unit declares a single linear factor relative to a shared kilogram-per-cubic-metre base — the exact number of kg/m³ in one of that unit — so any unit converts to any other through kg/m³ without an N-by-N table. The metric factors are exact by definition (1 g/cm³ = g/mL = kg/L = t/m³ = 1000 kg/m³, 1 g/L = 1 kg/m³, 1 mg/L = 0.001 kg/m³), and the US/Imperial factors come from the exact dimensional constants: a pound is 0.45359237 kg, a foot 0.3048 m, an inch 0.0254 m, a US gallon 0.003785411784 m³ and a slug 14.59390294 kg. A value is multiplied to kg/m³ and then divided into the target unit.

  • Twelve units spanning SI metric, metric non-SI and US/Imperial
  • kg/m³ is the shared base; every unit is one exact linear factor
  • Conversion is value to base to value, so any unit maps to any other
  • Editing either field converts both directions live
  • All arithmetic is client-side JavaScript — no server round-trip
How It Works

Water as the Density Anchor

Pure water at 4 °C is the natural reference point at almost exactly 1000 kg/m³, which equals 1 g/cm³, 1 g/mL, 1 kg/L, 1 t/m³ and about 62.4 lb/ft³. A material lighter than water (ice 917, cork ≈ 120, air 1.225 kg/m³) floats, while a denser one (concrete ≈ 2400, iron 7874, gold 19,300 kg/m³) sinks. Dividing a density by water’s gives the specific gravity, so gold’s specific gravity is about 19.3. A built-in material-density table makes these comparisons one glance.

  • Water at 4 °C ≈ 1000 kg/m³ = 1 g/cm³ = 1 kg/L ≈ 62.4 lb/ft³
  • 1 lb/ft³ = 16.018463 kg/m³; 1 lb/in³ = 27,679.905 kg/m³
  • 1 lb/US gal = 119.826427 kg/m³; 1 slug/ft³ = 515.378819 kg/m³
  • Specific gravity = density ÷ density of water
  • Built-in reference table of common material densities
Privacy & Security

Privacy and Offline Use

Because all conversion runs in the browser, no value is sent to a server, there is no account or tracking, and the page works offline after first load. The converter is built on a shared, unit-tested conversion engine that other AnyTool unit converters reuse, so behaviour is consistent across the site.

Density conversion: in-browser (AnyTool) vs typical online converters
CapabilityAnyToolTypical online converters
ProcessingRuns in your browserOften server-side
Units12: metric SI, metric non-SI and US/ImperialOften kg/m³, g/cm³ and lb/ft³ only
Factor accuracyExact dimensional definitionsFrequently rounded constants
Two-way inputEdit either field, both updateUsually one-direction with a button
All units at onceYes, copyable tableOften one target at a time
Material referenceBuilt-in density tableRarely included
Works offlineYes (PWA)No
Cost / signupFree, no signupOften ad-heavy or gated

AnyTool converts every density unit locally through an exact kg/m³ base and uploads nothing.