Our free density calculator works out how tightly packed the matter in an object is. Enter the mass in kilograms and the volume in cubic metres, and you will get the density in kilograms per cubic metre. All figures are estimates for educational purposes only.
These figures are estimates only for educational purposes. No personal data is collected or saved.
How to use this density calculator
Enter the mass in kilograms and the volume in cubic metres. Then click Calculate Density to see the result in kg/m³. Water has a density of about 1,000 kg/m³ at room temperature, so anything denser than that sinks in water and anything less dense floats. Use the Metric / Imperial switch above the inputs to enter pounds (lb) and cubic feet (ft³) instead; the result will then be shown in pounds per cubic foot (lb/ft³).
Formula: ρ = m ÷ V, where ρ (the Greek letter rho) is density, m is mass, and V is volume. For a floating object, the same idea can be used with our force calculator to work out the weight pushing down on the water.
Worked example
A block with a mass of 10 kg and a volume of 2 m³ has a density of 10 ÷ 2 = 5 kg/m³.
Frequently asked questions
What is density?
Density is the mass of an object divided by its volume. It tells you how much matter is squeezed into a given space — a small, heavy object is denser than a large, light one.
Why do some things float?
An object floats when it is less dense than the fluid around it. That is why a huge steel ship floats while a tiny steel nail sinks: the ship’s overall density, including the air inside it, is lower than water’s.
What if the volume is zero?
Density cannot be worked out when the volume is zero, because dividing by zero has no answer. Enter a volume greater than zero and try again.