CalculatorAll.online Logo
CalculatorAll.online

Global calculator

Density, Mass & Volume Calculator

Calculate density, mass, or volume instantly with unit conversions and buoyant float-or-sink determination.

Calculate your result

Update input parameters to recalculate instantly.

Free Webmaster Tool

Embed this Density, Mass & Volume Calculator on your website or blog

Add a fast, free, and responsive interactive calculator widget to your web pages with a simple 1-line HTML snippet.

About this Density, Mass & Volume Calculator

The Density, Mass & Volume Calculator computes volumetric mass density (ρ), specific gravity relative to pure water (1.0 g/cm³), and determines whether an object will float or sink in water.

Transparent calculation methodology
Editorial review: CalculatorAll.online Editorial TeamLast reviewed: August 29, 2026

How this calculation works

The Density, Mass & Volume Calculator computes volumetric mass density (ρ), specific gravity relative to pure water (1.0 g/cm³), and determines whether an object will float or sink in water.

Mathematical formula and logic

Density (ρ) = Mass / Volume. Specific Gravity (SG) = Density of Object / Density of Water (1.0 g/cm³).

Worked example

An object with a mass of 270 grams occupying 100 cm³ has a density of 2.70 g/cm³ (2,700 kg/m³ — matching solid Aluminum) with a Specific Gravity of 2.70 (sinks in water).

Calculation assumptions

  • Water density reference at 4°C = 1.000 g/cm³ (1,000 kg/m³).
  • Homogeneous material density throughout the object volume.

Frequently asked questions

What is density?

Density is the ratio of mass to volume (ρ = m / V), measuring how tightly matter is packed within a given spatial volume.

Why do heavy steel ships float on water?

A hollow steel ship encloses a massive volume of air, making its *average* overall density significantly less than the density of water (1.0 g/cm³), displacing water according to Archimedes' principle.

What is specific gravity?

Specific gravity is a dimensionless ratio comparing the density of a substance to the density of pure water at 4°C. An SG > 1.0 sinks; an SG < 1.0 floats.

What is the densest naturally occurring element on Earth?

Osmium (element 76) is the densest natural element, with a staggering density of 22.59 g/cm³ (nearly twice as dense as lead).

How does temperature affect fluid density?

As substances heat up, thermal expansion increases volume, causing density to decrease (which drives warm air and water to rise via convection).