geoprimsField-grade geospatial math

Density converter

Converts densities: kg/m³, g/cm³, lb/US gal, and lb/ft³.

0.80283706g/cm³

6.7 lb/US gal is 0.80283706 g/cm³.

Input
Provenance
Computed by
units.density.convert 1.0.0, core 0.1.0
Model
Exact unit definitions
Accuracy
Exact to double precision: each conversion is one correctly rounded ratio of exact definitions
Notes
None
Cites
National Institute of Standards and Technology, Guide for the Use of the International System of Units (SI), NIST Special Publication 811

Something look off?

Your values

Showing an example. Change anything.
More options 1
Run many at once from a CSV

Loading…

How we got thisFormula, worked example, sources, and proof

Model: Exact unit definitions

Accuracy: Exact to double precision: each conversion is one correctly rounded ratio of exact definitions

When to use this: Use this when a density is quoted in one system and needed in another: a fuel at 6.7 lb per US gallon against a figure in kg/L, a material at 62.4 lb per cubic foot against one in kg/m³. It is the step before the fuel converter, which needs a density to turn a volume into a weight.

Limitations: The gallon here is the US liquid gallon. A pound per imperial gallon is 20% smaller and is not offered, so a figure that says only lb/gal has to be read before it is converted. A density is a property of a substance at a temperature, and nothing here knows either one: fuel expands as it warms, by roughly a tenth of a percent per degree Celsius for Jet A, so a density measured at one temperature is not the density at another. And g/cm³ and kg/L are the same unit under two names, not two units that happen to agree.

Worked example: 6.7 lb/gal in kg/L. Source: Exact unit definitions (NIST SP 811 Appendix B). It is golden test vector v001, and every build checks the tool still gives its answer within its tolerance.

You enter

To unit
g/cm3
Value
6.7 lb/galUS

You get

Converted
0.80283706 g/cm³
Input
6.7 lb/US gal

Review: Not yet independently reviewed by a metrologist.

Last verified: 2026-09-18, when a maintainer last confirmed this tool's sources at the issuer. See the sources ledger.

Status: version 1.0.0, core 0.1.0. See this tool in the verification report.

Checked against: 22 golden test vectors (download the test vectors, each with its source and tolerance). See how results are checked and every source.

Sources