Density is a measure of how much mass is packed into a given amount of space. Mathematically, it’s calculated by dividing an object’s mass by its volume. A bowling ball and a beach ball might be similar in size, but the bowling ball has far more mass crammed into that space, giving it a much higher density. This single property explains everything from why some objects float and others sink to how doctors assess bone health.
The Basic Formula
Density equals mass divided by volume. If you know how heavy something is and how much space it takes up, you can calculate its density. The standard scientific unit is kilograms per cubic meter (kg/m³), but in everyday chemistry and materials science you’ll more often see grams per cubic centimeter (g/cm³). One g/cm³ equals 1,000 kg/m³.
Water has a density of about 1.0 g/cm³, which makes it a convenient reference point. Anything denser than water sinks in it; anything less dense floats. Air at sea level is roughly 1.2 kg/m³, roughly 800 times less dense than water. Aluminum comes in at 2.70 g/cm³, and gold at 19.3 g/cm³, which is why a small gold bar feels surprisingly heavy for its size.
Why Things Float or Sink
When you place an object in a fluid, the fluid pushes back with an upward force equal to the weight of the fluid that the object displaces. This is the principle Archimedes described over two thousand years ago, and it comes down to comparing densities. If an object’s average density is lower than the surrounding fluid, the displaced fluid weighs more than the object does, so the object rises and floats. If the object is denser, the displaced fluid can’t support its weight, and it sinks. If the two densities match exactly, the object hovers in place, neither rising nor falling.
This is why a steel ship floats even though steel is about eight times denser than water. The ship’s hull encloses a huge volume of air, bringing its average density (steel plus air combined) well below that of water. Puncture the hull and let water replace that air, and the average density climbs above water’s. The ship sinks.
How Temperature and Pressure Change Density
Most substances get denser as they cool because their molecules slow down and pack more tightly together. Gases are especially sensitive: because gas molecules are free to expand and contract, their density changes dramatically with temperature and pressure. Solids and liquids are far more stable, shifting only slightly with temperature.
Water breaks the usual pattern in an important way. It reaches its maximum density at 4.0 °C, not at its freezing point. Below 4 °C, water actually becomes less dense as it approaches freezing. That’s why ice floats. This quirk is critical for aquatic life: in winter, ice forms a floating layer on top of a lake while slightly warmer, denser water sits below, keeping fish and other organisms alive.
Pressure matters most for gases. Air density decreases exponentially with altitude because the atmosphere thins out the higher you go. Pilots account for this constantly, since thinner air reduces engine performance and the lift that wings generate.
Density vs. Specific Gravity
You’ll sometimes see “specific gravity” used alongside density, and the two are closely related but not identical. Density is an absolute measurement with units (like g/cm³). Specific gravity is a ratio: a substance’s density divided by the density of water at 4 °C (999.974 kg/m³). Because it’s a ratio, specific gravity has no units. A specific gravity of 2.7 tells you the material is 2.7 times as dense as water. For practical purposes, in g/cm³, the numbers are nearly the same, which is why people sometimes use the terms interchangeably. Technically, though, they measure different things.
Density in Medicine
Bone Density
Bone mineral density measures how much mineral content is packed into your bones, and it’s the primary way doctors diagnose osteoporosis. A scan compares your results to those of a healthy young adult, producing a number called a T-score. A T-score of negative 1 or higher is considered healthy. Between negative 1 and negative 2.5 indicates osteopenia, a milder form of bone loss. A T-score of negative 2.5 or lower points to osteoporosis. Each 1-point drop in your T-score increases your risk of fractures by 1.5 to 2 times.
Breast Density
Breast density refers to the proportion of fibrous and glandular tissue versus fatty tissue in the breast, as seen on a mammogram. Radiologists classify it into four categories. About 10% of women have almost entirely fatty breast tissue, while another 40% have mostly fatty tissue with scattered dense areas. Roughly 40% have heterogeneously dense breasts (many areas of dense tissue with some fatty areas), and about 10% have extremely dense breasts.
Density matters here because dense tissue and tumors both appear white on a mammogram, making cancers harder to spot. Women with dense breasts have a higher chance that a mammogram will miss an abnormality, which is why additional screening methods are sometimes recommended.
Everyday Examples
Density shows up in places you might not expect. Cooking oils float on water because they’re less dense. Hot air rises because heating air makes it expand and become less dense than the cooler air around it, which is the entire principle behind hot air balloons. Layered cocktails work because each liquor has a slightly different density, so a bartender can stack them by pouring the densest layer first.
In construction and engineering, choosing materials often comes down to balancing density with strength. Aluminum is popular in aircraft because it’s roughly one-third as dense as steel while still being strong enough for structural use. Gold’s extreme density (19.3 g/cm³) is part of what makes it feel so distinctive in your hand, and historically it made gold easy to identify by simply weighing and measuring a sample.
At its core, density is a straightforward concept: how much stuff fits in a given space. But that simple ratio connects to an enormous range of real-world phenomena, from whether your boat floats to whether your bones are strong enough to resist a fracture.

