Physics & Mechanics

Density Calculator

Calculate the density of any substance from its mass and volume. Supports kg/m³, g/cm³, and imperial units.

kg
Density (ρ)
1,000

Calculated locally in your browser. Fast, secure, and private.

Mass per Unit Volume

Density is a fundamental physical property of matter that describes how much mass is contained within a specific volume. Think of it as a measure of how "compact" or tightly packed a material is. Lead is extremely dense, meaning a small block weighs a lot, while styrofoam is not dense, meaning a large block weighs very little.

Density determines whether an object will float or sink in a fluid. If an object is less dense than water ($1000 , \text{kg/m}^3$), it floats. If it is denser, it sinks. This applies not just to water, but to all fluids, including air and other gases.

Why Density Matters

Density is a critical property in numerous scientific and engineering fields:

  • Materials Science: Engineers select materials based on their strength-to-weight ratio, which relies heavily on density. Carbon fiber is prized because it is strong yet very low density.
  • Geology: The Earth's layers are sorted by density, with the densest iron-nickel core at the center, surrounded by less dense mantle rock, and the least dense crust floating on top.
  • Meteorology: Cold air is denser than warm air. This density difference is the primary driver of wind, weather patterns, and ocean currents.

The Formula

ρ=mV\begin{aligned} \rho = \frac{m}{V} \end{aligned}

Where:
ρ\rho=
Density (kg/m³)
m=
Mass of the object (kg)
V=
Volume of the object (m³)

Example Calculation

Suppose you have a solid metal block with a mass of $8000 , \text{kg}$ and a volume of $1.03 , \text{m}^3$.

  1. Divide Mass by Volume: $8000 / 1.03 \approx 7767 , \text{kg/m}^3$.

Since iron has a known density of approximately $7800 , \text{kg/m}^3$, this block is very likely made of solid iron.

Frequently Asked Questions

Yes, significantly. As most materials heat up, their molecules vibrate more aggressively, expanding the material's volume while the mass stays exactly the same. This results in a decrease in density. This is exactly why hot air rises.

Osmium is the densest stable naturally occurring element on Earth, with a density of about $22,590 , \text{kg/m}^3$. It is roughly twice as dense as lead.

Yes, in astrophysics. Black holes and neutron stars are collapsed stars with such immense gravitational pull that their matter is crushed into unbelievably small volumes, resulting in near-infinite density.