Skip to content
Physics

Density Calculator

Solve for density, mass, or volume from any two known values. Get the result in g/cm³, kg/m³ and lb/ft³, plus specific gravity and a sink-or-float verdict. Build volume from box dimensions if you only know the shape, and compare your result against a table of common materials.

Your details

Rearrange ρ = m ÷ V to find whichever quantity you do not know.
Weigh the sample on a balance. Mixed units are converted for you.
No volume figure? Switch to box dimensions and the tool computes it.
Measure directly for liquids, or by water displacement for irregular solids.
Density
2g/cm³
Density2,000kg/m³
Density124.86lb/ft³
Specific gravity (vs water)2
2 × water
Floats<1Sinks (light)1-3Dense3-8Very dense8+

Density is 2.000 g/cm³, so it would sink in water (closest material: Concrete).

  • Density is mass per unit volume: ρ = m ÷ V.
  • Water is 1 g/cm³ (1,000 kg/m³); anything denser sinks, anything lighter floats.
  • Specific gravity here is 2.000, meaning the sample is 2.00× as dense as water.
  • That puts it nearest Concrete (2.3 g/cm³) in the reference table below.

Next stepSwitch "Solve for" to Mass or Volume to rearrange ρ = m/V for a known density.

Formula

ρ=mV,m=ρV,V=mρ\rho = \dfrac{m}{V}, \quad m = \rho V, \quad V = \dfrac{m}{\rho}

Worked example

100 g in 50 cm³: ρ = 100 ÷ 50 = 2 g/cm³ (2,000 kg/m³, about 125 lb/ft³), twice as dense as water, so it sinks. To reverse it: a 50 cm³ part at 2 g/cm³ weighs 2 × 50 = 100 g.

How the Calculation Works

Density is defined as mass divided by volume and represents how much matter is packed into a given space. This calculator uses that single physical definition and reports the result in two standard units simultaneously, g/cm³, which is convenient for everyday lab work, and kg/m³, the SI unit used in engineering and science. Because 1 g/cm³ equals exactly 1000 kg/m³, converting between them is trivial and the calculator handles it for you.

How to Use This Calculator

Enter the mass of your object or sample in grams and its volume in cubic centimetres, then read off the density. You can measure mass with a balance scale and volume either directly (for regular geometric shapes) or by water displacement for irregular solids, the Archimedes principle approach. Make sure both measurements use consistent units before entering them, since mixing unit systems is the most common source of error.

What the Density Value Tells You

Water at 4 °C has a density of 1.00 g/cm³ (1000 kg/m³), which makes it the practical reference point for everyday buoyancy judgements. Any material with a density above 1 g/cm³, such as steel at roughly 7.8 g/cm³ or concrete at around 2.3 g/cm³, will sink in fresh water. Materials below that threshold, like most woods (0.4-0.9 g/cm³) or ice (0.917 g/cm³), float. Seawater is slightly denser than fresh water at about 1.025 g/cm³, so the exact sinking or floating threshold shifts a little in marine contexts.

Limitations and Edge Cases

This calculator assumes a uniform, homogeneous material, that is, density is the same throughout the sample. For composite objects, a porous material like foam, or a hollow container, the result reflects average bulk density, not the density of the solid material itself. Temperature also matters: most materials expand slightly when heated, increasing volume and lowering density, so measurements made at very different temperatures are not directly comparable. Gases and liquids are especially sensitive to temperature and pressure, and their densities should be looked up at specified conditions rather than assumed constant.

Density of common materials

Materialg/cm³kg/m³Sinks or floats in water
Balsa wood0.160160Floats
Cork0.240240Floats
Pine wood0.500500Floats
Ice0.917917Floats
Water (4 °C)1.0001,000Neutral
Seawater1.0251,025Sinks
Concrete2.3002,300Sinks
Aluminium2.7002,700Sinks
Glass2.5002,500Sinks
Iron / steel7.8707,870Sinks
Copper8.9608,960Sinks
Silver10.49010,490Sinks
Lead11.34011,340Sinks
Mercury13.53013,530Sinks
Gold19.32019,320Sinks

Approximate values at room temperature. Use these in the reverse modes to solve for mass or volume.

Frequently asked questions

What is the density of water in g/cm³?

Pure water reaches its maximum density of 1.000 g/cm³ at 4 °C (39.2 °F). At room temperature (around 25 °C) it drops slightly to about 0.997 g/cm³, but 1 g/cm³ is the standard reference value used in most practical calculations.

Why does ice float on water if it is made of water?

When liquid water freezes, it forms a hexagonal crystal lattice that is less tightly packed than liquid water. Ice has a density of approximately 0.917 g/cm³, which is lower than liquid water, so it floats. This is an unusual property, most substances are denser in their solid state than in their liquid state.

What units should I use when measuring density?

In scientific and laboratory contexts, density is most commonly expressed in g/cm³ (equivalent to g/mL for liquids) or in the SI unit kg/m³. Engineering applications often use kg/m³. For this calculator, enter mass in grams and volume in cubic centimetres to get g/cm³ directly.

Sources

Written by Dr. Tomás Okafor, PhD Physicist · Lagos, Nigeria

Physicist specializing in classical mechanics, bringing 17 years of research and applied dynamics expertise to every calculator he reviews.

Search 3,500+ calculators

Loading search…