Density Calculator Guide: Formula, Units & Real-World Examples
Quick Answer
- *Density = mass ÷ volume, or d = m / V. SI unit: kg/m³.
- *Water's density at 4°C is 1.000 g/cm³ (1,000 kg/m³) — the standard reference for liquids and solids.
- *Objects float when their density is less than the fluid they're in. Ice (0.917 g/cm³) floats on water.
- *Specific gravity is density relative to water — a unitless ratio used across engineering and geology.
What Is Density?
Density measures how much mass is packed into a given volume. A bowling ball and a basketball are about the same size, but the bowling ball is far heavier because its material is denser. Formally, density is defined as mass per unit volume.
The concept dates back to Archimedes in the 3rd century BCE, who reportedly used density to determine whether King Hiero's crown was pure gold. The principle remains one of the most widely used measurements in physics, chemistry, engineering, and materials science.
The Density Formula
The fundamental equation:
d = m / V
Where:
- d = density
- m = mass (grams, kilograms, pounds)
- V = volume (cm³, m³, liters, ft³)
Rearranging the formula gives two other useful equations:
- m = d × V (find mass from density and volume)
- V = m / d (find volume from mass and density)
Worked Example
A block of aluminum has a mass of 135 g and dimensions of 5 cm × 2 cm × 5 cm. What is its density?
Volume = 5 × 2 × 5 = 50 cm³
Density = 135 g ÷ 50 cm³ = 2.70 g/cm³
This matches the known density of aluminum (2.70 g/cm³), confirming the block is pure aluminum. The CRC Handbook of Chemistry and Physics lists aluminum's density as 2.6989 g/cm³ at 20°C.
Common Material Densities
| Material | Density (g/cm³) | Density (kg/m³) |
|---|---|---|
| Air (at sea level, 20°C) | 0.0012 | 1.2 |
| Cork | 0.12–0.24 | 120–240 |
| Pine wood | 0.35–0.60 | 350–600 |
| Ice | 0.917 | 917 |
| Water (4°C) | 1.000 | 1,000 |
| Concrete | 2.3–2.5 | 2,300–2,500 |
| Aluminum | 2.70 | 2,700 |
| Steel | 7.75–8.05 | 7,750–8,050 |
| Copper | 8.96 | 8,960 |
| Lead | 11.34 | 11,340 |
| Gold | 19.32 | 19,320 |
| Osmium (densest element) | 22.59 | 22,590 |
Osmium holds the record as the densest naturally occurring element at 22.59 g/cm³, edging out iridium at 22.56 g/cm³. A 1-liter cube of osmium would weigh about 22.6 kg (nearly 50 lbs).
Density Unit Conversions
| From | To | Multiply By |
|---|---|---|
| g/cm³ | kg/m³ | 1,000 |
| kg/m³ | g/cm³ | 0.001 |
| g/cm³ | lb/ft³ | 62.428 |
| lb/ft³ | g/cm³ | 0.01602 |
| kg/m³ | lb/ft³ | 0.06243 |
The convenient thing about g/cm³: the numerical value equals the specific gravity (relative to water). Aluminum at 2.70 g/cm³ has a specific gravity of 2.70.
Buoyancy and Archimedes' Principle
An object submerged in a fluid experiences an upward buoyant force equal to the weight of fluid it displaces. This is Archimedes' principle, and it explains why density determines floating and sinking:
- Object density < fluid density → floats
- Object density = fluid density → neutrally buoyant
- Object density > fluid density → sinks
Ice has a density of 0.917 g/cm³, which is why about 8.3% of an icebergsits above the waterline (the fraction is 1 – 0.917/1.025, accounting for seawater's density of 1.025 g/cm³). The National Snow and Ice Data Center confirms that roughly 90% of iceberg mass is submerged.
Specific Gravity
Specific gravity (SG) is the ratio of a substance's density to a reference density:
SG = d_substance / d_reference
For solids and liquids, the reference is water at 4°C (1.000 g/cm³). For gases, the reference is air at standard conditions (1.225 kg/m³). Because it's a ratio, specific gravity has no units.
Specific gravity is used in brewing (to measure sugar content in wort), geology (mineral identification), medicine (urinalysis), and petroleum engineering (API gravity for crude oil). The American Petroleum Institute defines API gravity as: API = (141.5 / SG) – 131.5, where lighter crudes have higher API values.
Measuring Density in Practice
Regular Solids
Measure dimensions with calipers, calculate volume geometrically, weigh on a balance. Accuracy depends on measurement precision — digital calipers typically resolve to 0.01 mm.
Irregular Solids
Use water displacement (Archimedes' method): submerge the object in a graduated cylinder and read the volume change. For very small objects, a pycnometer provides higher precision with accuracy to 0.001 g/cm³.
Liquids
Use a hydrometer (floats higher in denser liquids) or weigh a known volume. Digital density meters use oscillating U-tube technology and can measure to 0.00001 g/cm³. According to Anton Paar (a leading instrument manufacturer), over 90% of quality control labs in the beverage industry use digital density meters.
Gases
Gas density depends heavily on temperature and pressure. Use the ideal gas law: d = PM / RT, where P = pressure, M = molar mass, R = gas constant, and T = temperature in Kelvin.
Calculate density, mass, or volume instantly
Use our free Density Calculator →Frequently Asked Questions
What is the formula for density?
Density equals mass divided by volume: d = m / V. In SI units, density is measured in kilograms per cubic meter (kg/m³). Common alternative units include grams per cubic centimeter (g/cm³) and pounds per cubic foot (lb/ft³). 1 g/cm³ = 1,000 kg/m³.
What is the density of water?
Pure water at 4°C (39.2°F) has a density of exactly 1.000 g/cm³ (1,000 kg/m³). This is the temperature at which water reaches maximum density. At room temperature (25°C), water's density is slightly lower at 0.997 g/cm³. Seawater is denser at about 1.025 g/cm³ due to dissolved salts.
Why do some objects float and others sink?
An object floats if its average density is less than the fluid it's in. Wood (density ~0.5 g/cm³) floats in water (1.0 g/cm³), while steel (7.8 g/cm³) sinks. Ships float despite being made of steel because their hollow hull gives them an average density less than water — the key is the overall density including the air inside.
What is specific gravity?
Specific gravity is the ratio of a substance's density to the density of a reference substance (usually water at 4°C). Since it's a ratio, specific gravity has no units. A specific gravity of 2.5 means the material is 2.5 times denser than water. For gases, air is typically the reference.
How do you measure the density of an irregular object?
Use water displacement (Archimedes' method). Weigh the object to find its mass, then submerge it in a graduated cylinder partially filled with water. The rise in water level equals the object's volume. Divide mass by volume to get density. This method works for any waterproof solid regardless of shape.