PhysicsForces

Density: Definition, Formula, Units and Examples

Simple diagram showing which objects float and which sink in water
Simple diagram showing which objects float and which sink in water. Image: Kayau (Public domain), via Wikimedia Commons

Density is the amount of mass packed into each unit of volume, so it tells you how tightly matter is packed. It is written ρ = m/V and is usually given in kilograms per cubic meter (kg/m³) or grams per cubic centimeter (g/cm³). A block of iron feels heavy for its size because its density is high.

Contents

What is Density?

Density tells you how much stuff is squeezed into a given space. Take two boxes of exactly the same size. If one is filled with feathers and the other with sand, the sand box holds far more mass in the same volume, so sand has the higher density. Feathers are light for their size, and sand is heavy for its size.

The formal definition uses the Greek letter ρ (rho). Density equals mass divided by volume, so a substance with 2 kg of mass in every 1 m³ has a density of 2 kg/m³. The SI unit is the kilogram per cubic meter, written kg/m³, because the SI system uses kilograms for mass and meters for length. Chemists and students often use grams per cubic centimeter (g/cm³) because lab samples are small. One g/cm³ is exactly 1,000 kg/m³.

Density is a scalar quantity. It has a size but no direction. Its value depends on the material and on conditions. Temperature and pressure change the density of liquids and solids only a little, but they change the density of gases a great deal. Density is one of the main properties used to identify a material, such as aluminum or gold.

Why Things Float or Sink

Whether something floats depends on comparing its density with the density of the fluid around it. A fluid is any liquid or gas, and both can push on objects. When an object is placed in water, the water pushes up on it with a force called buoyancy. This upward push equals the weight of the water the object pushes out of the way, which is explained by Archimedes’ principle.

Consider a 1 m³ block of wood with a density of 600 kg/m³ placed in water with a density of 1,000 kg/m³. The block has a mass of 600 kg, while the water it would need to replace weighs 1,000 kg. The upward push is larger than the block’s weight, so the block floats. It sinks only until it has displaced its own weight of water, which is 600 out of every 1,000 parts, so about 60 percent of it stays under the surface.

A steel ship floats for a similar reason. Steel is much denser than water, but the hull is shaped to enclose a large volume of air. The average density of the whole ship, steel plus air, is lower than the density of water. Density also explains layers. Liquids of different densities stack in a glass, with the densest liquid at the bottom. A sugar solution, water and oil will form separate layers, and each layer floats on the one below it.

The Formula for Density

The key equation is ρ = m / V. Density (ρ, in kg/m³) equals mass (m, in kg) divided by volume (V, in m³):

ρ = m / V

Density in kilograms per cubic meter equals mass in kilograms divided by volume in cubic meters. Rearranging the same equation gives the mass of a sample when its density and volume are known:

m = ρ × V

Mass in kilograms equals density in kilograms per cubic meter multiplied by volume in cubic meters.

Worked example. A metal block has a mass of 540 g and a volume of 200 cm³. Step 1: divide the mass by the volume, 540 g ÷ 200 cm³ = 2.7 g/cm³. Step 2: convert to SI units by multiplying by 1,000, so 2.7 × 1,000 = 2,700 kg/m³. This value matches aluminum, which has a density of about 2.70 g/cm³. Step 3: use the density to find the mass of a 50 cm³ piece, m = 2.7 g/cm³ × 50 cm³ = 135 g.

Note that 1 mL equals 1 cm³, so a measuring cylinder reading in milliliters can be used directly as a volume in cubic centimeters. To convert cm³ to m³, divide by 1,000,000, because 1 m³ contains one million cubic centimeters.

Everyday Examples

Density explains many things people see every day. Cork stoppers float because cork is full of air pockets and has a density of about 240 kg/m³, much less than water. Ice floats in a drink because it is about 917 kg/m³, roughly 8 percent less dense than liquid water, so ice cubes stay near the surface. A hot air balloon rises because hot air is less dense than the cooler air around it.

The table below compares some common materials. Values are approximate, measured at about 20 °C and normal air pressure unless stated.

MaterialDensity (kg/m³)Density (g/cm³)
Airabout 1.2about 0.0012
Corkabout 240about 0.24
Iceabout 917about 0.92
Fresh waterabout 998about 0.998
Aluminumabout 2,700about 2.70
Ironabout 7,870about 7.87
Mercuryabout 13,530about 13.5
Goldabout 19,300about 19.3

Gold is about seven times as dense as aluminum. A gold ring and an aluminum ring of the same size would differ greatly in mass, which is why density is a useful check on whether a metal is genuine. Mercury is so dense that a steel ball floats on it, while the same ball sinks quickly in water.

Density, Mass and Weight

Density is easy to confuse with mass and weight, but the three measure different things. Mass is the amount of matter in an object and is measured in kilograms. Weight is the force of gravity on that mass and is measured in newtons. Density is mass divided by volume, so it describes how concentrated the mass is. A large log can float even though it is heavy, because its volume is large compared with its mass. A small pebble sinks because its mass is concentrated in a small space.

A useful comparison is relative density, also called specific gravity. It divides the density of a substance by the density of water, so it has no units. Iron has a relative density of about 7.87, meaning it is 7.87 times as dense as water. Any substance with a relative density below 1 floats on water. Relative density is handy in labs and industry because the number is the same whatever units are used for density.

Who Discovered It

The idea of density is linked with Archimedes of Syracuse, a Greek mathematician and engineer who worked in the 3rd century BC. A well-known story says King Hiero II asked him to check whether a gold crown was pure. The story is told by the Roman writer Vitruvius about two centuries later, and it may be a legend rather than a record of a real experiment. Still, it shows the basic idea of comparing mass with the volume of water displaced.

Density became a precise quantity as scientists began to measure mass and volume carefully. Today it is defined using SI units. The SI system, which uses the kilogram and the meter, was adopted in 1960 by the General Conference on Weights and Measures. Modern tables of density come from careful laboratory measurements and are compiled by organizations such as NIST and the Royal Society of Chemistry.

Common Mistakes and Exam Tips

The most common mistake is to say that a heavy-looking object has a high density. Density depends on mass compared with volume, so a large object can have a low density even if it is heavy in total. Always divide mass by volume before deciding.

Unit errors cause most lost marks. Check that mass is in kilograms or grams and that volume is in cubic meters or cubic centimeters. Remember that 1 g/cm³ equals 1,000 kg/m³, not 100 or 1,000,000. When converting cubic centimeters to cubic meters, divide by 1,000,000.

For an irregular solid, the volume must be measured by displacement, such as lowering it into water in a measuring cylinder. Read the scale at eye level and use the change in level as the volume. A good exam habit is to write the formula, substitute the numbers with units, and then check that the answer is sensible: water is about 1 g/cm³, so most solids should be between 1 and 20 g/cm³.

More about Density

Frequently asked questions

What is density in simple words?

Density tells you how much mass is packed into a given space. Two boxes of the same size can hold very different amounts of material, and the box with more mass per unit volume has the higher density. Density is found by dividing mass by volume.

What is the formula for density?

The formula is ρ = m / V, where ρ is density, m is mass and V is volume. The SI unit is kilograms per cubic meter (kg/m³). Grams per cubic centimeter (g/cm³) is also common, and 1 g/cm³ equals 1,000 kg/m³.

What is the density of water?

Fresh water has a density of about 1,000 kg/m³, or 1 g/cm³, near 4 °C. At room temperature of about 20 °C it is about 998 kg/m³. Sea water is slightly denser, at about 1,025 kg/m³, because of the dissolved salt.

Why do some objects float and others sink?

An object floats when its average density is less than the density of the fluid it sits in. A fluid pushes up on the object with a buoyant force equal to the weight of the fluid displaced. Wood and cork float on water, while iron sinks.

Is density the same as weight?

No. Weight is a force that depends on mass and gravity, measured in newtons, while density compares mass with volume. A large foam block can weigh less than a small steel nut yet have a much lower density than the steel.

What is the densest element?

Osmium is the densest naturally occurring element, at about 22.6 g/cm³ near room temperature. Iridium is almost as dense, at about 22.6 g/cm³. Both are far denser than common metals such as iron, at about 7.87 g/cm³.

Sources and further reading

  • OpenStax, "College Physics 2e"
  • NIST, "Guide for the Use of the International System of Units (SI)"
  • Encyclopaedia Britannica, "Density"

Cite this page

“Density: Definition, Formula, Units and Examples.” Atoms & Forces, https://science.bigworldlist.com/physics/density/.