Unit Converter

Density Converter

Exact units. Explicit reference.

Convert a density

Exact units. Explicit reference.

Nonnegative decimal, scientific value, fraction or mixed number.

Stated reference density

The default reference is an editable numerical model. Supply the reference required by your source, with its material and temperature conditions recorded separately.

View density results
Precision and report

Decimal/scientific input supports twenty significant digits, eighty characters and written exponents from negative thirty through thirty. Fractions support one hundred digits per component and two hundred forty characters per field. Extra output digits do not add measurement accuracy.

Worked examples

Density in kilograms per cubic meter

ρt=1000.00000000 kgm3\rho_t=1000.00000000\,\frac{\mathrm{kg}}{\mathrm{m}^{3}}

Exact defined factors; only displayed values are rounded. Mass density stays distinct from weight per volume. No material temperature or pressure correction is inferred.

Density conversion record

Entered quantity

x=1.00000000000 gcm3x=1.00000000000\,\frac{\mathrm{g}}{\mathrm{cm}^{3}}

Normalized mass density

ρSI=1000.00000000 kgm3\rho_{\mathrm{SI}}=1000.00000000\,\frac{\mathrm{kg}}{\mathrm m^3}

Source-to-target multiplier

k=1000.00000000k=1000.00000000

All unit rows describe the same mass density. Grams per cubic centimeter, grams per milliliter and kilograms per liter have the same numerical scale for every material. Pounds and ounces mean avoirdupois mass; US liquid and Imperial gallons are separately named.

Specific volume, reported separately

Cubic meters per kilogram

v=0.00100000000000 m3kgv=0.00100000000000\,\frac{\mathrm m^3}{\mathrm{kg}}

Liters per kilogram

v=1.00000000000 Lkgv=1.00000000000\,\frac{\mathrm L}{\mathrm{kg}}

Milliliters per gram

v=1.00000000000 mLgv=1.00000000000\,\frac{\mathrm{mL}}{\mathrm g}

Cubic feet per avoirdupois pound

v≈0.0160184633740 ft3lbavv\approx0.0160184633740\,\frac{\mathrm{ft}^{3}}{\mathrm{lb}_{\mathrm{av}}}

Cubic inches per avoirdupois pound

v≈27.6799047102 in3lbavv\approx27.6799047102\,\frac{\mathrm{in}^{3}}{\mathrm{lb}_{\mathrm{av}}}

Density in every supported unit

Twenty-one unit conventions are retained in complete text and CSV, even when this table is hidden.

The same mass density in twenty-one named units
Unit conventionConverted density
Kilograms per cubic meter1000.00000000 kgm31000.00000000\,\frac{\mathrm{kg}}{\mathrm{m}^{3}}
Grams per cubic centimeter1.00000000000 gcm31.00000000000\,\frac{\mathrm{g}}{\mathrm{cm}^{3}}
Grams per milliliter1.00000000000 gmL1.00000000000\,\frac{\mathrm{g}}{\mathrm{mL}}
Kilograms per liter1.00000000000 kgL1.00000000000\,\frac{\mathrm{kg}}{\mathrm{L}}
Avoirdupois pounds per cubic foot62.4279605761 lbavft362.4279605761\,\frac{\mathrm{lb}_{\mathrm{av}}}{\mathrm{ft}^{3}}
Avoirdupois pounds per cubic inch0.0361272920001 lbavin30.0361272920001\,\frac{\mathrm{lb}_{\mathrm{av}}}{\mathrm{in}^{3}}
Avoirdupois pounds per US liquid gallon8.34540445202 lbavgalUS,liq8.34540445202\,\frac{\mathrm{lb}_{\mathrm{av}}}{\mathrm{gal}_{\mathrm{US,liq}}}
Slugs per cubic foot1.94032033198 slugft31.94032033198\,\frac{\mathrm{slug}}{\mathrm{ft}^{3}}
Grams per liter1000.00000000 gL1000.00000000\,\frac{\mathrm{g}}{\mathrm{L}}
Milligrams per liter1000000.00000 mgL1000000.00000\,\frac{\mathrm{mg}}{\mathrm{L}}
Milligrams per milliliter1000.00000000 mgmL1000.00000000\,\frac{\mathrm{mg}}{\mathrm{mL}}
Milligrams per cubic meter1.00000000000×109 mgm31.00000000000\times10^{9}\,\frac{\mathrm{mg}}{\mathrm{m}^{3}}
Micrograms per cubic meter1.00000000000×1012 μgm31.00000000000\times10^{12}\,\frac{\mathrm{\mu g}}{\mathrm{m}^{3}}
Kilograms per cubic centimeter0.00100000000000 kgcm30.00100000000000\,\frac{\mathrm{kg}}{\mathrm{cm}^{3}}
Kilograms per cubic millimeter1.00000000000×10−6 kgmm31.00000000000\times10^{-6}\,\frac{\mathrm{kg}}{\mathrm{mm}^{3}}
Metric tonnes per cubic meter1.00000000000 tm31.00000000000\,\frac{\mathrm{t}}{\mathrm{m}^{3}}
Avoirdupois pounds per Imperial gallon10.0224128550 lbavgalImp10.0224128550\,\frac{\mathrm{lb}_{\mathrm{av}}}{\mathrm{gal}_{\mathrm{Imp}}}
Avoirdupois ounces per US liquid gallon133.526471232 ozavgalUS,liq133.526471232\,\frac{\mathrm{oz}_{\mathrm{av}}}{\mathrm{gal}_{\mathrm{US,liq}}}
Avoirdupois ounces per cubic inch0.578036672001 ozavin30.578036672001\,\frac{\mathrm{oz}_{\mathrm{av}}}{\mathrm{in}^{3}}
Avoirdupois ounces per cubic foot998.847369218 ozavft3998.847369218\,\frac{\mathrm{oz}_{\mathrm{av}}}{\mathrm{ft}^{3}}
Avoirdupois pounds per cubic yard1685.55493556 lbavyd31685.55493556\,\frac{\mathrm{lb}_{\mathrm{av}}}{\mathrm{yd}^{3}}

Step-by-step density conversion

  1. 1. Normalize the named density unit

    The exact mass factor is divided by the exact volume factor. Equivalent metric labels describe any material; no water-density approximation is used.

    ρSI=ρsfmfV=1000.00000000 kgm3\rho_{\mathrm{SI}}=\rho_s\frac{f_m}{f_V}=1000.00000000\,\frac{\mathrm{kg}}{\mathrm m^3}
  2. 2. Divide by the target density factor

    The target factor is kilograms per cubic meter per one target unit. Round only the final display; the reduced numerator and denominator remain exact.

    ρt=ρSIft=1000.00000000 kgm3\rho_t=\frac{\rho_{\mathrm{SI}}}{f_t}=1000.00000000\,\frac{\mathrm{kg}}{\mathrm{m}^{3}}
  3. 3. Report the reciprocal quantity separately

    Specific volume is volume per mass. It is the reciprocal of the normalized mass density and has different units.

    vSI=1ρSI=0.00100000000000 m3kgv_{\mathrm{SI}}=\frac{1}{\rho_{\mathrm{SI}}}=0.00100000000000\,\frac{\mathrm m^3}{\mathrm{kg}}
What Can You Create?

Convert density labels, reciprocal quantities and stated reference ratios

Compare engineering density labels

Translate supplier and design quantities between metric density units, avoirdupois mass per cubic volume, and separately labeled US liquid or Imperial gallons. The original eight unit identifiers remain available alongside additional metric and customary conventions.

Interpret specific volume correctly

Start with a positive volume per mass when a process table reports the reciprocal property. Normalize its units before inversion, and inspect mass density and specific volume in separate result sections.

Retain a reference-density ratio

Convert a dimensionless relative density using an explicitly supplied reference, or compare an entered mass density with that reference. Keep temperature and pressure conditions in the accompanying sample record.

Density conversion formulas and worked examples

Divide the mass factor by the volume factor

For a density unit made from a mass unit and a volume unit, let fmf_m be kilograms per mass unit and fVf_V be cubic meters per volume unit. Their ratio is the factor into SI mass density. A denominator carrying a cubic length must use the cube of the length conversion. Changing the label of a quantity does not change the material, sample volume convention or its measurement conditions.

fρ=fmfV,ρSI=ρsfs,ρt=ρsfsftf_{\rho}=\frac{f_m}{f_V},\qquad \rho_{\mathrm{SI}}=\rho_s f_s,\qquad \rho_t=\rho_s\frac{f_s}{f_t}

Example: the original metric conversion

The original source value is 1 g/cm31\,\mathrm{g/cm^3}. A gram is one thousandth of a kilogram, while a cubic centimeter is one millionth of a cubic meter. Dividing those two factors gives a multiplier of one thousand. Exactly the same unit relationship applies to a solid, liquid, gas or an abstract numerical example; it is not a statement about the measured density of water.

1 gcm3=10−310−6 kgm3=1000 kgm31\,\frac{\mathrm g}{\mathrm{cm}^3}=\frac{10^{-3}}{10^{-6}}\,\frac{\mathrm{kg}}{\mathrm m^3}=1000\,\frac{\mathrm{kg}}{\mathrm m^3}

Example: reciprocal specific volume

For an illustrative specific volume of 2 L/kg2\,\mathrm{L/kg}, first express the volume in cubic meters. Taking the reciprocal then produces a mass density of 500 kg/m3500\,\mathrm{kg/m^3}. Inverting the displayed number alone would give an incomplete result unless the reciprocal units were also carried through. At zero density there is no finite reciprocal, so the output explains that boundary instead of assigning an arbitrary number.

v=2 Lkg=0.002 m3kg,ρ=1v=500 kgm3v=2\,\frac{\mathrm L}{\mathrm{kg}}=0.002\,\frac{\mathrm m^3}{\mathrm{kg}},\qquad \rho=\frac1v=500\,\frac{\mathrm{kg}}{\mathrm m^3}

Example: a stated reference model

Choose a relative density of 0.80.8 and an illustrative reference density of 997 kg/m3997\,\mathrm{kg/m^3}. Multiplication gives 797.6 kg/m3797.6\,\mathrm{kg/m^3}. These are chosen numerical inputs, not a water-property lookup or an assertion about a named material. When comparing experimental specific-gravity reports, supply the reference and conditions specified by the measurement method, rather than replacing them with a remembered approximate water density.

d=ρρref,ρ=0.8×997=797.6 kgm3d=\frac{\rho}{\rho_{\mathrm{ref}}},\qquad \rho=0.8\times997=797.6\,\frac{\mathrm{kg}}{\mathrm m^3}
Why Users Love This Tool

Check defined factors without losing physical meaning

Exact conversion before presentation

  • Mass and volume factors form exact rational density factors; intermediate arithmetic is not rounded.
  • Decimal, scientific, fraction and proper mixed-number inputs use one strict numerical parser.
  • A separate reciprocal report prevents specific volume from being mistaken for another density unit.

A reusable conversion record

  • Lossless swapping starts from the exact result rather than rounded display digits.
  • Complete CSV and copied text preserve hidden rows, reference context and numerical certificates.
  • Accessible mathematical output, explicit validation, keyboard focus and guarded printing support review on small screens.
Perfect For

Useful for laboratory records, material specifications and learning

Engineering and procurement

Reconcile density labels before comparing specifications or transferring a value into a design worksheet. The tool distinguishes the mass-density quantity from force per volume and names gallon and ounce conventions explicitly.

Laboratory and process work

Preserve a stated sample density or reciprocal specific volume across unit systems. A custom reference ratio is supported without replacing the measured property with a generic material preset or an assumed water temperature.

Students and technical writers

Follow the mass factor divided by the volume factor, see why cubic units require care, and compare the dimensions of density, specific volume and relative density. Generated steps make each interpretation reviewable.

How It Works

How it works in three quick steps.

1

Identify the quantity and convention

Choose mass density, reciprocal specific volume or dimensionless relative density. Enter a complete nonnegative value, using a positive value for specific volume, and select the explicitly named unit.

2

Inspect the normalized density

Choose the destination density unit and display precision. If a reference ratio is required, enter a positive reference density and its unit. Review the separate SI density, reciprocal results and generated calculation steps.

3

Save the conversion context

Copy a complete record or LaTeX working, download the full CSV, share validated active settings, or print the visible report to PDF. Retain material, temperature, pressure and measurement conditions alongside the numerical result.

Download & Print

Save the density together with its unit convention

Copy working or share active settings

Copy the complete plain-text record or correctly delimited LaTeX working. A single share link restores the selected entry method, destination, active input and report preferences after validation.

Download the complete CSV

The quoted UTF-8 file retains all twenty-one density rows, exact numerator and denominator certificates, specific-volume outputs, optional reference information and generated working. Hidden report sections remain in this complete record.

Print a readable report

Choose the browser’s PDF destination to save the visible report. Disable the every-unit table for a shorter report when needed. Check paper size and scale in print preview; long exact fractions retain their full digits in CSV rather than overflowing a printed page.

FAQ

Frequently Asked Questions

Are grams per milliliter and grams per cubic centimeter always equivalent?
Yes. A milliliter and a cubic centimeter are the same defined volume, so 1 g/mL=1 g/cm31\,\mathrm{g/mL}=1\,\mathrm{g/cm^3} for any material. Kilograms per liter have the same numerical scale as well. This is a relationship between units, independent of the substance occupying that volume. It does not mean every liquid has the density of water, and it does not make a temperature-dependent material property constant. Preserve the original sample conditions when comparing measured densities.
How does the converter distinguish US and Imperial gallons?
The source and destination menus explicitly distinguish US liquid gallons from Imperial gallons. The same mass per gallon has a different density because the gallon volumes differ. Every pound and ounce here is an avoirdupois mass unit; an ounce of mass is not a fluid ounce of volume. The conversion uses defined mass and volume factors rather than a rounded shortcut. A label that says only gallons requires clarification from its source before either convention can be chosen reliably.
Can I enter specific volume instead of mass density?
Yes. Choose the specific-volume entry method and enter a strictly positive volume per mass. The converter first normalizes that quantity into cubic meters per kilogram, then applies ρ=1/v\rho=1/v. It does not simply invert a number while leaving its unit unchanged. The resulting density can be expressed in any supported density unit, while the separate reciprocal section lists five specific-volume conventions. Zero specific volume is rejected because its reciprocal is undefined in this finite numerical model.
Does relative density automatically use water as the reference?
No. Relative density is the dimensionless ratio d=ρ/ρrefd=\rho/\rho_{\mathrm{ref}}, and its meaning depends on the stated reference. This page provides an editable reference density and unit. Its default is a numerical model rather than certified water data. Supply the reference your measurement method requires, including any required temperature and pressure conditions in your accompanying records. Changing that reference changes the ratio or derived density; the tool does not silently select a reference from the device, location or material name.
What happens with zero, negative values and incomplete input?
Zero mass density is permitted as a numerical limit or empty-medium model and converts to zero in every density unit. Its specific-volume reciprocal is reported as undefined rather than as a finite number. Negative physical density and nonpositive specific volume or reference density are rejected. Blank fields, malformed fractions, unsupported units and incomplete scientific values clear the result until corrected. This prevents a previous valid answer from remaining visible beside an invalid new input and being copied accidentally.
Are all displayed digits exact measurements?
The unit definitions and rational arithmetic are exact for the entered numerical model. The display is rounded to your selected significant figures and marks an approximation when rounding changes the value. That distinction does not improve the precision of an experiment or a supplier data sheet. The exact numerator and denominator retained in copied text and CSV certify arithmetic only. Decimal and scientific input have documented bounds, while bounded fractions and mixed numbers can preserve rational source values through lossless unit swapping.
Is mass density the same as weight density or concentration?
Mass density is mass divided by the occupied volume. Weight density is force per volume and additionally depends on gravitational acceleration through γ=ρg\gamma=\rho g. This page does not silently multiply by local or standard gravity. Mass concentration can use the same dimensions as density but may refer only to one constituent in a solution rather than the entire material. Likewise, milligrams per liter must not be treated as parts per million without the additional assumptions needed for that particular concentration definition and solution.
What information is preserved when I copy, share, download or print?
Complete plain text and CSV retain the active input method, named units, selected display precision, exact numerical certificates, every density conversion, reciprocal outputs, reference context and generated working. Hiding a table or working section changes the visible report without deleting those records from complete exports. Share links contain canonical validated active settings. PDF printing follows visible report preferences. Extremely long exact fractions use a compact explanatory message in print while their full digits remain available in text and CSV.
About This Tool

About this Density Converter

The Toolarithm Density Converter is intended for changing the units or numerical representation of a stated mass density. It preserves the original gram-per-cubic-centimeter example and all eight original unit identifiers, then adds further metric and customary choices. Each density factor comes from the explicitly named mass definition divided by the explicitly named volume definition. International feet and inches, avoirdupois pounds and ounces, US liquid gallons and Imperial gallons retain their own meanings. This makes the factor inspectable instead of treating a rounded decimal shortcut as a complete definition.

The page offers three different entry interpretations because the quantities are related but do not have identical dimensions. A direct density enters mass per volume. A specific volume enters volume per mass and is normalized before inversion. A relative density enters a dimensionless ratio that needs a stated reference density. The reference is editable and its unit is independent of the destination unit. No automatic material database, water-temperature model, pressure correction or gravitational conversion is applied. The separate density calculator remains available for solving measured mass-and-volume problems.

Rational arithmetic preserves the entered numerical model through normalization, reciprocal calculation, reference comparison and destination scaling. Display precision can be changed without altering those stored arithmetic results. A rounded display is marked as approximate when appropriate, while exact numerator and denominator values remain available in the complete record. This arithmetic precision is separate from sample uncertainty, instrument resolution, material variability and the difference between bulk and true density. Those physical details belong in the source measurement record and remain essential when two density values are compared.

The interface supports direct inspection, keyboard navigation, validated restoration from a shared URL, exact-result unit swapping and several ways to retain the outcome. Complete text and CSV keep every conversion row and relevant reference even when a visible section is hidden for a shorter report. Printed pages follow report visibility and protect mathematical content and cards from awkward breaks. The result is a practical density conversion record with stated conventions, rather than an unsupported claim about a substance or a replacement for the method that originally measured it.

Editorial Transparency

Who maintains this page

Ownership and review

Written and maintained by the Toolarithm editorial team. No review date is shown without a maintained editorial record. No independent professional review is claimed.

Methodology

Conversion factors are normalized to canonical units and checked in both directions. Exact definitions and offset formulas are preferred over rounded lookup values.

Read the editorial methodology

Keep building

Explore more unit converters

Converters