Skip to content

Density Calculator

Density from mass and volume, mass or volume from density, material presets and a density unit converter.

Your details

Unit system
Calculate

Results update as you type

Density ρ

62.3875 lb/ft³

g/cm³ (= g/mL = kg/L = t/m³)
0.999352 g/cm³
Pounds per cubic foot
62.3875 lb/ft³
Pounds per cubic inch
0.036104 lb/in³
Pounds per US gallon
8.34 lb/US gal
Pounds per UK gallon
10.0159 lb/UK gal
Specific gravity (vs water at 4 °C)
0.9994
Unit weight γ = ρg
9.8003 kN/m³
Close to
Water (25 °C) (997 kg/m³)

Step-by-step solution
  1. ρ = m ÷ V = 8.34 lb ÷ 1 US gal = 62.3875 lb/ft³
  2. γ = ρ × g = 999.3524 × 9.80665 ÷ 1000 = 9.8003 kN/m³

Density tells you how much mass is packed into a given volume. It is why a litre of water weighs about a kilogram while a litre of petrol weighs only three quarters of that, and why a steel beam is more than three times heavier than an aluminium one of the same size. Engineers use it to estimate loads, chemists to identify substances, and anyone shipping liquids or bulk materials to turn litres into kilograms.

This density calculator works in four ways. In Density mode, enter a mass and a volume to get ρ = m/V. In Mass mode, pick a material (water, oils, fuels, wood, concrete, metals) or type your own density, enter a volume and get the mass. In Volume mode you get the volume taken up by a given mass. And in Convert units mode it works as a density unit converter between kg/m³, g/cm³, g/mL, kg/L, g/L, lb/ft³, lb/in³ and pounds per US or UK gallon.

Every mode also shows the specific gravity (density relative to water) and the unit weight γ = ρg in kN/m³, the figure structural engineers use for self-weight. Mass and volume fields each have their own unit switcher, so you can mix grams with millilitres or pounds with gallons.

How to use this calculator

  1. Choose what to calculate: Density, Mass, Volume or Convert units.
  2. For density, enter the mass and the volume, each in any unit.
  3. For mass or volume, choose a material from the list, or "Other" to type a density in the unit you prefer.
  4. For a conversion, type the density and pick its unit: the result appears in every other unit.
  5. Read the specific gravity, the unit weight and, when your value is close to a common material, its name.

The formula

Density is mass divided by volume:

ρ=mVm=ρVV=mρ\rho = \frac{m}{V} \qquad m = \rho V \qquad V = \frac{m}{\rho}

The SI unit is the kilogram per cubic metre. Useful equivalences:

1 g/cm3=1 g/mL=1 kg/L=1 000 kg/m31 lb/ft3=16.0185 kg/m31\ \text{g/cm}^3 = 1\ \text{g/mL} = 1\ \text{kg/L} = 1\,000\ \text{kg/m}^3 \qquad 1\ \text{lb/ft}^3 = 16.0185\ \text{kg/m}^3

Specific gravity compares a density with that of water at 4 °C (about 1,000 kg/m³), and the unit weight multiplies density by standard gravity g=9.80665 m/s2g = 9.80665\ \text{m/s}^2:

SG=ρ1 000 kg/m3γ=ρgSG = \frac{\rho}{1\,000\ \text{kg/m}^3} \qquad \gamma = \rho g

Worked example

Identifying a metal. A block weighs 540 g and displaces 200 cm³ of water. Its density is 540 g/200 cm3540\ \text{g} / 200\ \text{cm}^3 = 2.7 g/cm³, i.e. 2,700 kg/m³ or 168.56 lb/ft³ — exactly the value for aluminium.

Mass of a liquid. 50 litres of diesel at 835 kg/m³ weigh 835×0.050835 \times 0.050 = 41.75 kg.

Volume from mass. One tonne of plain concrete at 2,400 kg/m³ fills 1 000/2 4001\,000 / 2\,400 = 0.4167 m³ (about 417 litres).

Density of common materials

Material kg/m³ g/cm³ lb/ft³
Dry air (20 °C, sea level) 1.204 0.0012 0.08
Softwood (C24 pine/spruce) 420 0.42 26.22
Petrol / gasoline 745 0.745 46.51
Diesel fuel 835 0.835 52.13
Olive oil 911 0.911 56.87
Ice (0 °C) 917 0.917 57.25
Water (25 °C) 997 0.997 62.24
Concrete (plain) 2,400 2.4 149.83
Aluminium 2,700 2.7 168.56
Steel 7,850 7.85 490.06
Copper 8,960 8.96 559.35
Lead 11,340 11.34 707.93
Gold 19,300 19.3 1,204.86

These are typical values at room temperature. Water is 997 kg/m³ at 25 °C and peaks at about 1,000 kg/m³ near 4 °C. Air at 20 °C and sea-level pressure follows the ideal gas law, ρ=pM/(RT)=1.204\rho = pM/(RT) = 1.204 kg/m³. Woods, concrete and fuels vary with moisture, mix and blend, so treat them as estimates.

Density, specific gravity and unit weight

Specific gravity (relative density) is a ratio with no unit: 2.7 for aluminium means it is 2.7 times as dense as water. Unit weight is a force per volume, used in structural design: plain concrete at 2,400 kg/m³ has γ=2 400×9.80665=23.54\gamma = 2\,400 \times 9.80665 = 23.54 kN/m³, which Eurocode tables round to 24 kN/m³. Both are shown with every result.

Measuring density at home or in the lab

For a liquid, weigh an empty container, fill it to a known volume and weigh it again. For a solid with an irregular shape, use water displacement: lower it into a graduated container and read how much the level rises — that rise is its volume. Temperature matters most for liquids and gases: petrol, for example, loses roughly 1 % of its density for every 10 °C of warming. For bulk materials such as sand or gravel, the bulk density (including air gaps) is much lower than the density of the grains themselves; use the concrete calculator for mix quantities.

Frequently asked questions

How do you calculate density?

Divide the mass by the volume: ρ = m/V. A 540 g object with a volume of 200 cm³ has a density of 2.7 g/cm³, which is 2,700 kg/m³. Make sure both values are in compatible units, or let the calculator convert them.

How do I convert kg/m³ to g/cm³?

Divide by 1,000. 997 kg/m³ is 0.997 g/cm³, and 7,850 kg/m³ is 7.85 g/cm³. Grams per cubic centimetre, grams per millilitre, kilograms per litre and tonnes per cubic metre are all the same number.

What is the density of water?

About 1,000 kg/m³ (1 g/cm³) at 4 °C, where it is densest, and 997 kg/m³ at 25 °C. In US units that is about 62.4 lb/ft³ at 4 °C, and 62.2 lb/ft³ or 8.32 lb per US gallon at 25 °C. Ice is less dense, around 917 kg/m³, which is why it floats.

What is the difference between density and specific gravity?

Density has units (kg/m³, g/cm³, lb/ft³). Specific gravity is the ratio of a density to that of water, so it has no unit and is the same in every system: aluminium has a specific gravity of about 2.7 whether you work in metric or imperial.

How do I find the mass from density and volume?

Multiply them: m = ρ × V. Choose Mass mode, pick a material or type the density, and enter the volume. 50 L of diesel at 835 kg/m³ gives 41.75 kg; 1 m³ of steel at 7,850 kg/m³ gives 7.85 tonnes.

Sources

Last updated:

More Physics calculators

People also use