Here is a riddle that catches people out: which is heavier, a kilogram of steel or a kilogram of feathers? They weigh the same, of course — a kilogram is a kilogram. Yet the pile of feathers is vast and the lump of steel is tiny. The reason is one of the most useful ideas in all of science, and it explains why ships float, why oil sits on top of vinegar in salad dressing, and why a hot-air balloon climbs into the sky. This guide explains what density is, how to work it out, and why it governs so much of the physical world.
What it is
Density is the amount of mass packed into a given volume of a substance. In other words, it tells you how much "stuff" is squeezed into a particular amount of space. A material with a lot of mass crammed into a small space is dense; one with little mass for its size has low density.
This is the key to the steel-and-feathers riddle. Steel is very dense, so a small lump contains a kilogram of mass. Feathers have very low density, so you need a huge, fluffy pile to reach the same kilogram. They have the same mass, but wildly different densities, because density is about mass relative to size, not total weight. Understanding it relies on grasping mass — the amount of matter in something — which sits among the everyday building blocks of physics alongside ideas like what is electricity.
The simple formula
Density has a refreshingly straightforward formula:
density = mass / volume
You take the object's mass (how much matter it contains) and divide it by its volume (how much space it takes up). For example, if a metal block has a mass of 600 grams and a volume of 200 cubic centimetres, its density is 600 divided by 200, which is 3 grams per cubic centimetre.
Density is usually measured in grams per cubic centimetre (g/cm3) for everyday objects, or kilograms per cubic metre (kg/m3) in larger scientific and engineering work. The number gives you an instant sense of how heavy something is for its size: water, for comparison, has a density of 1 gram per cubic centimetre, a handy benchmark to measure other materials against.
Density does not depend on size
A common misunderstanding is that bigger objects are denser. They are not. Density depends on the substance and its state, not on how much of it you have. A small gold ring and a large gold bar have exactly the same density, because they are made of the same tightly packed material.
If you cut a block of cheese in half, each half has half the mass and half the volume, so the density stays the same. This is why density is so useful for identifying materials: it is a property of the substance itself. Jewellers, for instance, can check whether a metal is genuine gold partly by measuring its density, because pure gold has a very specific and unusually high value that cheaper metals cannot match.
Floating and sinking
Density's most visible effect is in floating and sinking. The rule is simple and powerful: an object floats on a liquid if it is less dense than that liquid, and sinks if it is denser.
A cork floats on water because cork is less dense than water. A steel bolt sinks because steel is far denser. This also solves a classic puzzle: how can a steel ship float when steel sinks? The answer is that a ship is not a solid lump of steel — it is a hull shaped around a huge volume of air. Taken as a whole, the ship's average density (steel plus all that enclosed air) is less than water, so it floats. Pierce the hull and let water replace the air, and the average density rises until the ship goes down.
The same rule explains why liquids can stack. Pour oil and water into a glass and the oil settles on top because it is less dense. In a bottle of unshaken salad dressing, the oil floats above the watery vinegar for exactly the same reason. The way different substances pack together also shapes how they mix and react, an idea explored in what is a chemical reaction.
| Substance | Approximate density (g/cm3) | Floats on water? |
|---|---|---|
| Cork | 0.2 | Yes |
| Water | 1.0 | reference |
| Aluminium | 2.7 | No |
| Steel | 7.8 | No |
| Gold | 19.3 | No |
Temperature changes density
Density is not entirely fixed for a given substance; temperature affects it. When most materials are heated, their particles move more vigorously and spread out, so the substance expands. The same mass now fills a larger volume, which means its density drops.
This is exactly why hot air rises. Warm air is less dense than the cooler air around it, so it floats upward just as a cork rises through water — the same buoyancy effect, in a gas. It is the principle that lifts a hot-air balloon: heat the air inside the envelope, make it less dense than the surrounding air, and the balloon climbs. The same temperature-driven differences in density stir the oceans and drive much of our weather, as warm and cool masses of air and water rise and sink.
Water's strange exception
Water breaks the usual rules in a way that turns out to be vital for life. For most substances, the solid form is denser than the liquid, because cooling packs the particles closer. Water is unusual: ice is less dense than liquid water. As water freezes, its particles lock into an open, spacious structure that takes up more room than the liquid.
The consequence is everywhere: ice floats. Ice cubes bob in your drink, and in winter a pond freezes from the top down, leaving liquid water — and the fish in it — insulated below the floating ice layer. Had ice been denser than water, ponds and lakes would freeze solid from the bottom up, with very different results for aquatic life. It is a small quirk of density with outsized importance.
Why density matters
Beyond floating and weather, density is a workhorse of practical life. Engineers choose materials by density all the time: aircraft and racing bikes use low-density aluminium and carbon fibre to stay light and strong, while a ship's stability depends on careful management of where its mass sits. Knowing a material's density lets you predict whether a structure will float, how heavy it will be, and how it will behave when heated. It even helps in cooking and in spotting fakes. Few simple ratios do as much explanatory work as mass divided by volume.
The bottom line
Density is how much mass is packed into a given volume, found by dividing mass by volume. It explains the steel-and-feathers riddle, because density is about weight for a given size, not total weight. The rule that less dense things float on denser ones accounts for floating ships, oil on water and rising hot air, while heating lowers density by making materials expand. Water's odd habit of becoming less dense when it freezes lets ice float and keeps ponds liveable in winter. From shipbuilding to the weather, this single, simple idea quietly explains an enormous amount of the world.