Skip to content · 跳到主要内容

Density Calculator

Solve density, volume, or mass from the other two values

Enter a positive density.

Enter a positive volume.

Enter a positive mass.

Density
--

Calculation details

Calculate density, volume, or mass

Choose which value to find and enter the other two. Each input has its own unit selector. The calculator converts values to kilograms, cubic meters, and kilograms per cubic meter before solving.

Density = mass ÷ volume
Volume = mass ÷ density
Mass = density × volume

Common density units

UnitEquivalent in kg/m³
kilogram/cubic meter1
kilogram/cubic centimeter1,000,000
gram/cubic meter0.001
gram/cubic centimeter1,000
kilogram/liter1,000
gram/liter1
pound/cubic inch27,680
pound/cubic foot16.02
pound/cubic yard0.5933
pound/gallon (US)119.83
pound/gallon (UK)99.78
ounce/cubic inch1,730
ounce/cubic foot1.001
ounce/gallon (US)7.489
ounce/gallon (UK)6.236
ton (short)/cubic yard1,186.6
ton (long)/cubic yard1,328.9
psi/1000 feet2.3067

Density of common materials

MaterialDensity in kg/m³
Earth's atmosphere at sea level1.2
Water at standard temperature and pressure1,000
Earth5,515.3
Iron7,874
Copper8,950
Tungsten19,250
Gold19,300
Platinum21,450
Atomic nuclei2.3 × 1017
Black holeAbove 1 × 1018

Frequently Asked Questions

What is the density equation?

Density equals mass divided by volume. Rearranging the same equation gives volume = mass ÷ density and mass = density × volume.

Can I use different units for the inputs?

Yes. Select a unit for each value. The calculator converts mass to kilograms, volume to cubic meters, and density to kg/m³ before calculating.

Does density stay the same at every temperature and pressure?

No. Density can change with temperature and pressure, especially for gases. Material values shown here are reference values.

Last reviewed: October 5, 2026 · How we calculate · Sources: Published formula reference; verify domain-specific assumptions before making a decision