Density Calculator
Calculate density, mass or volume from the other two, with specific gravity and a buoyancy check against water.
Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.
What the Density Calculator does
This density calculator will calculate density, mass or volume from the other two, with specific gravity and a buoyancy check against water. Fill in all 3 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for identifying a material from its density. A related tool on this site is the speed of sound calculator.
How to use it
- Enter the mass and the volume.
- Read the density and the specific gravity.
- Change the fluid density to test buoyancy in something other than fresh water — seawater is about 1025 kg/m³.
How it works
Whether something floats depends on its average density, not on what it is made of. Steel sinks and a steel ship floats, because the ship encloses air and its average density over the whole hull volume is well below that of water.
The fraction submerged when floating equals the ratio of the two densities. Ice at 917 kg/m³ in seawater at 1025 floats with about 89% below the surface — the origin of the iceberg cliché, and an accurate one.
Specific gravity is density relative to water at 4 °C and is dimensionless, which is why it is the same number in any unit system. It is the convention in geology, brewing and petroleum.
When to use it
- Identifying a material from its density.
- Working out whether something will float.
- Converting between density units.
- Checking a buoyancy or displacement calculation.
Common mistakes to avoid
- Mixing units — kg/m³ and g/cm³ differ by a thousand.
- Using bulk volume where true solid volume is meant, for a porous material.
- Forgetting that fluid density changes with temperature and salinity.
Frequently asked questions
What is the density of water?
1000 kg/m³ at 4 °C, falling slightly to 998 at 20 °C. Seawater is around 1025 kg/m³ depending on salinity.
Why does a steel ship float?
Because its average density — including the enclosed air — is less than water. Density of the hull material is irrelevant; it is the whole displaced volume that counts.
What is specific gravity?
Density relative to water, so it is dimensionless and identical in any unit system. A specific gravity of 2.7 means 2.7 times as dense as water, which is roughly aluminium.