Free online formula calculators

Density Calculator

Find the density of a material from its mass and volume, or use a known density to work out mass or volume.

Density Calculator
kg
m³
Result
Result2,700 kg/m³ (2.7 g/cm³)
Workingρ = 2.7 kg ÷ 0.001 m³ = 2,700 kg/m³

Link to this calculation

Formula

ρ = m ÷ V
m = ρ × V
V = m ÷ ρ
SymbolMeaning
ρDensity, in kilograms per cubic meter (kg/m³)
mMass, in kilograms (kg)
VVolume, in cubic meters (m³); 1 liter = 0.001 m³

How to Use This Calculator

  1. Choose the Solve for (Density (ρ), Mass (m), Volume (V)).
  2. Enter the Mass (kg).
  3. Enter the Volume (m³). 1 liter = 0.001 m³; 1 cm³ = 0.000001 m³.
  4. Enter the Density (kg/m³) when Solve for is Mass (m) or Volume (V). Water ≈ 1000, aluminium ≈ 2700, steel ≈ 7850.
  5. Press Calculate. Results also update automatically as you type.

Worked Example

Using the values pre-filled in the calculator above:

Inputs
Solve forDensity (ρ)
Mass2.7 kg
Volume0.001 m³
Results
Result2,700 kg/m³ (2.7 g/cm³)
Workingρ = 2.7 kg ÷ 0.001 m³ = 2,700 kg/m³

About This Calculation

Density tells you how much mass is packed into a given volume. It is a property of the material rather than of a particular object: a paperclip and a steel beam have the same density, about 7,850 kg/m³. A one-liter block weighing 2.7 kg has a density of 2,700 kg/m³, which identifies it as aluminium, so density is a quick way to check what something is made of.

Comparing an object's density with that of a fluid predicts whether it floats. Fresh water is about 1,000 kg/m³ (1 g/cm³), so oak at roughly 750 kg/m³ floats and granite at about 2,700 kg/m³ sinks. The ratio of a substance's density to water's is called specific gravity and has no units.

Units are the biggest trap. In SI, mass is in kilograms and volume in cubic meters; chemists often use g/cm³ or g/mL, which are 1,000 times smaller numbers (1 g/cm³ = 1,000 kg/m³). A liter is 0.001 m³ and a cubic centimeter is one millionth of a cubic meter. Density also changes with temperature, and strongly with pressure for gases, so tables quote it under stated conditions. To find the volume of a regular shape first, try the rectangular prism calculator.

Frequently Asked Questions

How do I convert g/cm³ to kg/m³?
Multiply by 1,000. Water at 4 °C is 1 g/cm³, which is 1,000 kg/m³.
How can I measure the volume of an irregular object?
Submerge it in water and measure the volume of water displaced, a method attributed to Archimedes. 1 mL of displaced water equals 1 cm³ of object.
Why does ice float on water?
Ice is about 917 kg/m³, roughly 9% less dense than liquid water, because its crystal structure holds the molecules further apart.

Category: Physics. Found a problem with this calculator? Let us know.