Converting density to mass is shorthand for switching a density value between the many different mass-per-volume units used in science and industry — grams per cubic centimeter, kilograms per cubic meter, pounds per cubic foot, and more. Because density is defined as mass divided by volume, every density unit is really a way of saying "how much mass fits in how much space," so changing units is a question of mass, volume, or both. The conversion is exact and lossless: every supported unit is defined against a single SI base, the kilogram per cubic meter (kg/m³), so values like 1 g/cm³, 1000 kg/m³, 1 g/mL, 1 kg/L, and 62.428 lb/ft³ all describe the same underlying quantity — the density of pure water near 4 °C. A free Density Converter handles this for any input and any target unit, with no server round-trip and no rounded guesses. Type a number, pick your starting and ending units, and read the result the moment the field updates. The tool also has a "Show all units at once" mode that lays out the same value across every supported unit in one table, which is useful when a specification sheet mixes metric and imperial figures.

What "Convert Density to Mass" Means in Practice
Density is mass per unit of volume. The phrase "convert density to mass" most often means re-expressing a density figure in a different mass unit, a different volume unit, or both — for example, turning a lab value of 7.85 g/cm³ into 7850 kg/m³ so it can be compared against an engineering table written in SI units, or turning 62.428 lb/ft³ into 1000 kg/m³ so a North American spec sheet matches a European supplier's datasheet. The arithmetic is deterministic: every density unit is defined against the kilogram and the meter (or against the pound, the inch, and the foot, which are themselves exactly defined against the SI base), so a converter built around a single hub unit — the kilogram per cubic meter — produces exact results without any rounding error creeping in.
What the unit conversion does NOT do is turn a density alone into a mass. To get the mass of a real object, you also need a volume, because mass = density × volume. The Density Converter is the right tool when the task is to change units of density itself. The same tool covers every common density unit pair you are likely to meet, and it does the calculation entirely in your browser so the value never leaves your device.
The Density Units the Converter Handles
The tool currently supports eleven density units, all routed through kg/m³:
- g/cm³ (gram per cubic centimeter)
- kg/m³ (kilogram per cubic meter) — the SI base
- g/mL (gram per milliliter)
- g/L (gram per liter)
- kg/L (kilogram per liter) — also written t/m³
- mg/mL (milligram per milliliter)
- lb/ft³ (pound per cubic foot)
- lb/in³ (pound per cubic inch)
- oz/ft³ (ounce per cubic foot)
- oz/in³ (ounce per cubic inch)
- lb/gal (pound per US gallon)
That list spans laboratory chemistry (g/mL, mg/mL), SI science and engineering (kg/m³, g/cm³), civil and HVAC work (lb/ft³), heavy industrial spec sheets (lb/in³, oz/in³), and North American fuel and shipping calculations (lb/gal). When a project crosses between the metric and imperial worlds — which is daily reality on mixed-team engineering projects — the same density value has to be readable in both. The converter takes the chosen unit pair, runs the input through the kg/m³ hub, and returns the converted figure as you type or change the dropdown, with no Run button required.
How to Convert Density Units Step by Step
The interface is intentionally short: one number field, two unit pickers, and an optional all-units toggle.
- Type the density value you want to convert into the density value field. The value can be a small decimal (0.000789, the density of gasoline in g/mL) or a large engineering figure (7850 for steel). Very small or very large numbers automatically switch to scientific notation so precision is preserved.
- Choose the source unit under "From" — for instance, g/cm³ if the figure came off a chemistry datasheet, or kg/m³ if it came from an SI table.
- Choose the target unit under "To" — kg/m³, lb/ft³, lb/gal, or any of the other supported units. The result updates as you type or change the dropdown, so there is no Run button to find.
- Read the converted result directly in the result area. If you need the same value in every supported unit at once, tick "Show all units at once" and the tool renders the full table immediately.
Worked example: steel is listed at 7.85 g/cm³. With "From" set to g/cm³ and "To" set to kg/m³, the converter returns 7850 kg/m³. The arithmetic is exact — 1 g/cm³ equals exactly 1000 kg/m³ by definition, because a gram is one-thousandth of a kilogram and a cubic centimeter is one-millionth of a cubic meter. To go the other way, from kg/m³ back to g/cm³, the same tool divides by 1000.
Exact Conversion Factors Behind the Tool
Every conversion passes through kg/m³, so each unit has a single fixed relationship to the SI base. The table below lists the exact factors the converter uses for the units where the factor is quoted directly in the documentation.
| Unit | Relation to kg/m³ |
|---|---|
| g/cm³ | 1 g/cm³ = 1000 kg/m³ |
| g/mL | 1 g/mL = 1000 kg/m³ (identical to g/cm³, since 1 mL = 1 cm³) |
| kg/L | 1 kg/L = 1000 kg/m³ (also written t/m³) |
| g/L | 1 g/L = 1 kg/m³ |
| mg/mL | 1 mg/mL = 1 kg/m³ |
| lb/ft³ | 1 lb/ft³ = 16.018463 kg/m³ |
| lb/in³ | 1 lb/in³ = 27679.905 kg/m³ |
| oz/in³ | 1 oz/in³ = 1729.994 kg/m³ |
| lb/gal (US) | 1 lb/gal = 119.82643 kg/m³ |
The imperial factors are not approximations. They fall directly out of the exact definitions of the pound (0.45359237 kg), the inch (0.0254 m), the foot (0.3048 m), and the US gallon (231 in³), all of which match the values used in NIST SP 811. That is why the same tool can deliver identical answers for g/cm³ to kg/m³, kg/m³ to lb/ft³, or any other pairing without ever re-rounding. The remaining supported unit, oz/ft³, is handled by the same pound and foot definitions, so it slots into the same kg/m³ hub with no extra rounding either.
Sanity-Checking Values with the Water Anchor
Pure water near 4 °C has a density of 1 g/cm³, which works out to 1000 kg/m³, 1 g/mL, 1 kg/L, and about 62.428 lb/ft³. That one anchor is the fastest way to tell whether a converted number is physically sensible.
- Substantially above 1000 kg/m³ (1 g/cm³, 62.428 lb/ft³): the material is denser than water and will sink. Examples the converter returns: steel at 7850 kg/m³ (7.85 g/cm³), aluminum at about 2700 kg/m³.
- Substantially below 1000 kg/m³: the material is lighter than water and will float. Examples: gasoline around 730–780 kg/m³, cork around 240–250 kg/m³.
If a converted value lands far from the anchor in the wrong direction, the unit pair is probably mis-selected, or the input was specified in a different system than you thought. Treat the water anchor as a one-second plausibility check every time. The anchor also has a useful byproduct: it makes the relationships between metric density units memorable. Anything that reads 1.00 g/cm³, 1.00 g/mL, 1000 kg/m³, 1.00 kg/L, or 62.428 lb/ft³ is almost certainly water (or a very close approximation).
Going From Density to an Actual Mass Value
The unit conversion covered above does not, on its own, turn density into a mass. If the real question is "how much does this object weigh," you also need a volume, because mass = density × volume. For a cylinder, for example, you would first compute the volume from its radius and height, then multiply by the density. The product of cylinder volume and density then gives a mass in kilograms (after converting the density to kg/m³) or in pounds (after converting to lb/ft³). For a step-by-step worked example of that exact flow — radius and height in, mass in kg out — see Calculate Cylinder Volume in kg Using Density. The Density Converter is the right tool for the unit side of that calculation; pair it with the cylinder volume flow whenever the question is the mass of a specific shape rather than a unit change for the density alone.