Density Calculator
Find density from mass and volume, or the mass or volume from the other two. Mix metric and US units freely, and see specific gravity and whether it floats. Advanced adds materials, shapes and the water-rise method.
Read the water level in a measuring jug, sink the object fully, and read it again. The rise is its volume.
density = mass ÷ volume
The answer appears in the highlighted box; change its unit to see it another way. Numbers like 2.5e-3 work too.
How your density is worked out
Your numbers: put mass and volume in base units, divide, then compare with water.
- 1
Mass in kg
270 g= 0.27 kg
- 2
Volume in m³
100 cm³= 0.0001 m³
- 3
Mass ÷ volume
0.27 kg ÷0.0001 m³= 2,700 kg/m³ = 2.7 g/cm³
- 4
Compare with water
2,700 ÷ 1,000= SG 2.7so it sinks
Read more: the formula, worked examples and a table of densities
Density tells you how tightly mass is packed into space. Two things the same size can weigh very differently: a 100 cm³ block of aluminium weighs about 270 g, the same block of pine about 50 g. Divide mass by volume and you get a number that belongs to the material, not to the size of the piece.
The formula
density ρ = mass m ÷ volume V
mass m = density ρ × volume V
volume V = mass m ÷ density ρ
specific gravity = density ÷ density of water (1,000 kg/m³)
cube V = side³ · box V = length × width × height
cylinder V = π × (diameter ÷ 2)² × height
sphere V = π × diameter³ ÷ 6
volume by displacement = water level after − water level before
it floats if its density is less than the water's; share under the surface = its density ÷ water density
Worked example
Density (the default): 270 g with a volume of 100 cm³. Mass: 270 g = 0.27 kg. Volume: 100 cm³ = 0.0001 m³. Density: 0.27 ÷ 0.0001 = 2,700 kg/m³, which is 270 ÷ 100 = 2.7 g/cm³. In US units: 2,700 ÷ 16.018 = 168.6 lb/ft³. Specific gravity: 2,700 ÷ 1,000 = 2.7, more than 1, so it sinks. The closest listed material is aluminium (about 2,700 kg/m³).
Mass: 1 US gallon of petrol at about 740 kg/m³. 1 US gal = 0.003785411784 m³, and 740 × 0.003785411784 = 2.801 kg (6.176 lb).
Volume: 1 kg of copper at about 8,960 kg/m³. 1 ÷ 8,960 = 0.0001116 m³ = 111.6 cm³.
Mass of a steel cylinder: 5 cm across and 10 cm tall. Radius 2.5 cm = 0.025 m, height 0.1 m. Volume: π × 0.025² × 0.1 = 0.00019635 m³ (196.35 cm³). Mass: 7,850 × 0.00019635 = 1.541 kg.
Mass of a gold ball: 2 cm across. Volume: π × 2³ ÷ 6 = 4.189 cm³. Mass: 4.189 × 19.3 g/cm³ = 80.84 g.
Water rise (Archimedes): a 100 g ring raises the water in a jug from 200 mL to 205.2 mL. Volume: 205.2 − 200 = 5.2 mL = 5.2 cm³. Density: 100 ÷ 5.2 = 19.23 g/cm³, close to gold (about 19.3). This is the test Archimedes is said to have used on a king’s crown.
Floating: ice at about 917 kg/m³ has a specific gravity of 0.917, so it floats with 917 ÷ 1,000 = 91.7% under fresh water, and 917 ÷ 1,025 = 89.5% under sea water.
Typical densities (approximate)
These are rounded, typical values. Real samples change with temperature, grade, alloy, moisture and air gaps (wood and concrete vary a lot). Water is about 1,000 kg/m³ near 4 °C and about 998 kg/m³ at 20 °C. Air is about 1.225 kg/m³ at sea level and 15 °C. For exact work, use the figure on the material’s data sheet: you can type it into the density box.
| Material | kg/m³ | g/cm³ | lb/ft³ |
|---|---|---|---|
| Water (4 °C) | 1,000 | 1 | 62.43 |
| Sea water | 1,025 | 1.025 | 63.99 |
| Ice | 917 | 0.917 | 57.25 |
| Air (sea level, 15 °C) | 1.225 | 0.001225 | 0.07647 |
| Petrol / gasoline | 740 | 0.74 | 46.2 |
| Diesel | 840 | 0.84 | 52.44 |
| Olive oil | 910 | 0.91 | 56.81 |
| Milk | 1,030 | 1.03 | 64.3 |
| Honey | 1,420 | 1.42 | 88.65 |
| Wood (pine) | 500 | 0.5 | 31.21 |
| Wood (oak) | 750 | 0.75 | 46.82 |
| Cork | 240 | 0.24 | 14.98 |
| Concrete | 2,400 | 2.4 | 149.8 |
| Glass | 2,500 | 2.5 | 156.1 |
| Aluminium | 2,700 | 2.7 | 168.6 |
| Steel | 7,850 | 7.85 | 490.1 |
| Copper | 8,960 | 8.96 | 559.4 |
| Lead | 11,340 | 11.34 | 707.9 |
| Silver | 10,490 | 10.49 | 654.9 |
| Gold | 19,300 | 19.3 | 1,205 |
Notes
- 1 g/cm³ = 1 g/mL = 1 kg/L = 1,000 kg/m³ = 62.43 lb/ft³ = 8.345 lb per US gallon.
- Unit definitions used: 1 lb = 0.45359237 kg, 1 oz = 1/16 lb, 1 in = 2.54 cm, 1 US gallon = 231 in³ (3.785 L), 1 UK gallon = 4.54609 L, 1 US fl oz = 1/128 US gallon.
- For a hollow object or one with holes (a boat, a bottle, a sponge), the result is its average density, which decides whether it floats.
- In the water-rise method the object must be fully under water and must not soak up water. Use a narrow jug for small objects so the rise is easy to read.
- Specific gravity here is compared with water at 1,000 kg/m³. Some industries compare with water at 15.6 °C (60 °F, about 999 kg/m³), which changes the answer by about 0.1%.
Common questions
What is density?
Density is how much mass is packed into each bit of space: mass divided by volume. Water is about 1,000 kg/m³, which is the same as 1 g/cm³ or 1 kg per litre. Something with a density of 2.7 g/cm³, like aluminium, weighs 2.7 times as much as the same volume of water.
How do I calculate density?
Divide the mass by the volume. 270 g ÷ 100 cm³ = 2.7 g/cm³. In SI units that is 0.27 kg ÷ 0.0001 m³ = 2,700 kg/m³. Keep the units together: grams with cm³ (or mL) gives g/cm³, kilograms with m³ gives kg/m³.
How do I find mass from density and volume?
Multiply density by volume. One US gallon of petrol (about 740 kg/m³) is 740 × 0.003785 m³ ≈ 2.80 kg, or about 6.2 lb.
How do I find the volume of an odd-shaped object?
Use water displacement. Read the water level in a measuring jug, drop the object in so it is fully under, and read it again. The rise is the object’s volume: 200 mL → 205.2 mL means 5.2 cm³. Turn on Advanced and pick “From water rise”.
What is specific gravity?
Specific gravity (relative density) is the density divided by the density of water, 1,000 kg/m³. It has no units. Steel at 7,850 kg/m³ has a specific gravity of 7.85. Anything below 1 floats in fresh water.
Will it float?
A solid object floats in water if its average density is less than the water’s: about 1,000 kg/m³ for fresh water and about 1,025 kg/m³ for sea water. The share of it under the surface is its density ÷ the water’s density, so ice (917) floats with about 92% under fresh water.
Is g/cm³ the same as g/mL?
Yes. 1 mL is exactly 1 cm³, so 1 g/cm³ = 1 g/mL = 1 kg/L = 1,000 kg/m³.
Related calculators
Made by Zulu Calculator, part of AlphaZulu LLC. Formulas are shown in full and rule figures are checked against official sources; see how we build calculators.