Skip to main content
Categories
Table of contents

Density calculator

Provide any two values to calculate the third. All quantities are converted through SI base units (kg, m³, kg/m³) before solving. Density, mass, and volume: ρ = m / V. Choose what to find; results update as you type or change units.

Density Calculator

Find

Result

Related calculators:


What is density?

Density is a physical property that describes how much mass is contained within a given volume. In simple terms, it measures how tightly matter is packed together. Materials with a high density contain a large amount of mass in a relatively small space, while materials with a low density contain less mass for the same volume.

The standard formula for density is:

ρ=mV\rho=\frac{m}{V}

where:

  • ρ (rho) = density
  • m = mass
  • V = volume

Density is commonly measured in:

  • Kilograms per cubic meter (kg/m³) – the SI unit
  • Grams per cubic centimeter (g/cm³) – frequently used in science and engineering
  • Pounds per cubic foot (lb/ft³) – commonly used in the United States

Density visualization

Move the slider to increase or decrease how tightly packed the particles are (ρ).

Packing

Moderate

Box showing particles becoming more densely packed as density increases

Why is density important?

Density plays a crucial role in science, engineering, construction, manufacturing, and everyday life. It helps determine how materials behave under different conditions and whether they are suitable for specific applications.

For example:

  • Shipbuilders use density calculations to ensure vessels float safely.
  • Engineers use density when designing structures, vehicles, and machinery.
  • Geologists identify minerals and rocks by measuring their density.
  • Manufacturers use density to monitor product quality and material consistency.
  • Scientists use density to study the properties of solids, liquids, and gases.

Density and floating

One of the most familiar applications of density is determining whether an object will float or sink in a fluid.

An object generally:

  • Floats if its average density is less than the density of the fluid.
  • Sinks if its density is greater than the density of the fluid.
  • Remains suspended if its density is approximately equal to the fluid’s density.

This is why a massive steel ship can float while a small steel ball sinks. The ship’s overall volume includes large air-filled spaces, reducing its average density below that of water.

Floating and sinking density demonstration

Adjust the object's density relative to water (ρ = 1 g/cm³).

Status

Floating

Tank of water with an object floating, suspended, or sinking based on density Object

Density of common materials

Different substances have vastly different densities:

MaterialApproximate density
Air1.225 kg/m³
Water1,000 kg/m³
Ice917 kg/m³
Wood400–900 kg/m³
Aluminum2,700 kg/m³
Iron7,870 kg/m³
Copper8,960 kg/m³
Gold19,320 kg/m³

These values can vary slightly depending on temperature, pressure, and material composition.

How temperature affects density

Temperature has a significant effect on density because most substances expand when heated and contract when cooled.

When a material expands:

  • Its volume increases.
  • Its mass remains the same.
  • Its density decreases.

When a material contracts:

  • Its volume decreases.
  • Its density increases.

This principle is especially important for gases, whose density can change dramatically with temperature and pressure.

Water exhibits an unusual behavior: it reaches its maximum density at approximately 4°C (39.2°F). As water freezes into ice, it expands, causing ice to be less dense than liquid water and therefore float.

Density, mass, and volume relationship

Density calculators are useful because any one of the three variables can be calculated if the other two are known:

  • Density = Mass ÷ Volume
  • Mass = Density × Volume
  • Volume = Mass ÷ Density

This relationship is widely used in chemistry, physics, engineering, and manufacturing.

For example, if a metal block has a density of 7,800 kg/m³ and occupies a volume of 0.01 m³, its mass would be:

Mass = 7,800 × 0.01 = 78 kg

Relative density (specific gravity)

Relative density, often called specific gravity, compares the density of a substance to the density of water.

Specific Gravity=ρsubstanceρwaterSpecific\ Gravity=\frac{\rho_{substance}}{\rho_{water}}

Because it is a ratio, specific gravity has no units.

A substance with:

  • Specific gravity greater than 1 is denser than water.
  • Specific gravity less than 1 is less dense than water.

This measurement is commonly used in geology, petroleum engineering, and material science.

Applications of density

Density calculations are used in many fields, including:

  • Engineering: Engineers use density to calculate loads, structural weights, and material requirements.
  • Construction: Builders estimate the weight of concrete, steel, soil, and other materials to ensure structures remain safe and stable.
  • Chemistry: Density helps identify substances, determine purity, and calculate concentrations.
  • Transportation: Aircraft, ships, and automobiles rely on density calculations to optimize performance and fuel efficiency.
  • Environmental science: Scientists study the density of air and water masses to understand weather patterns, ocean currents, and climate systems.

Interesting density facts

  • Gold is approximately 19 times denser than water.
  • Mercury is one of the densest liquids at room temperature.
  • The Earth’s average density is about 5,500 kg/m³.
  • Hot air balloons rise because heated air becomes less dense than the surrounding atmosphere.
  • Oil floats on water because its density is lower than that of water.
  • Density is considered an intensive property, meaning it does not depend on the amount of material present.