A little help goes a long way. Find a tool/

Science & Physics

Density Calculator

Free density calculator: divide any mass by any volume and get density in g/cm³, kg/m³ and lb/ft³ simultaneously — plus a floats-or-sinks verdict against water. Runs entirely in your browser.

YOUR WORKSPACEFree to use. No sign-up.
—
Enter a mass and a volume above.

Deep dive guides

A LITTLE CONTEXT · 4 MIN READDensity Explained: The Ratio That Decides What Floats

How density calculator works

Density is mass per unit volume, ρ = m / V, and it is the property that decides whether a lead sinker drops and a cork bobs. The calculator converts whatever mass and volume units you pick into SI base units — kilograms and cubic metres — divides once, and reports the answer on all three everyday scales at the same time: g/cm³ (the lab standard, numerically the same as g/mL), kg/m³ (SI, used in physics and engineering) and lb/ft³ (US customary, used in materials tables).

The unit landscape is easier with one anchor: water. Water's density is about 1 g/cm³, which is exactly 1000 kg/m³ and about 62.43 lb/ft³. A material at 0.92 g/cm³ (ice) is 920 kg/m³ and 57.5 lb/ft³ — the same physical fact in three dialects. Because the tool shows every scale side by side, a value looked up in an American table (lb/ft³) can be compared instantly with a textbook value (g/cm³) without touching a conversion factor.

The float check is the same comparison dressed as a verdict: anything less dense than water floats on it, anything denser sinks, and a match hovers neutrally — which is exactly how submarines and fish swim bladders tune their buoyancy. Ice at 0.917 g/cm³ floats with roughly 8% of its bulk above the surface; iron at 7.87 g/cm³ sinks; dry wood at 0.4–0.9 g/cm³ usually floats. Note the fine print: the comparison uses water's maximum density (about 4 °C), and dissolved salt raises water's density to about 1.025 g/cm³, which is why ships ride higher in the ocean.

Frequently asked questions

What is the formula for density?
Density equals mass divided by volume: ρ = m / V. If a sample weighs 250 g and displaces 100 cm³, its density is 2.5 g/cm³. Keep the units consistent — mass in grams with volume in cubic centimetres gives g/cm³ directly; mixing grams with litres needs a factor of 1000.
How do g/cm³, kg/m³ and lb/ft³ relate?
1 g/cm³ = 1000 kg/m³ = 62.428 lb/ft³. The first equality comes from the metric prefixes (a kilogram is a thousand grams and a cubic metre is a million cubic centimetres); the second from pounds and feet being defined exactly as 0.45359237 kg and 0.3048 m. The calculator shows all three so no conversion is ever needed.
How do I know if something will float?
Compare its density with the fluid's. Less dense floats, denser sinks, equal density hovers in place. Against fresh water (1000 kg/m³), ice (917), most oils (about 920) and cork (240) float; iron (7870) and glass (about 2500) sink. A hollow steel ship floats because its average density — steel plus all the air inside the hull — is below water's.
What is the density of water?
About 1000 kg/m³ (1.000 g/cm³, 62.43 lb/ft³), with its exact maximum near 4 °C; it is about 998 kg/m³ at room temperature and about 958 kg/m³ at boiling. The float check in this calculator uses the round 1000 kg/m³ reference, which is accurate to a fraction of a percent for everyday temperatures.
Which mass and volume units can I use?
Mass: grams, kilograms, milligrams, ounces, pounds and metric tons. Volume: millilitres, litres, cubic metres, cubic centimetres, cubic inches, cubic feet and US liquid gallons. Pick whichever the source data uses — the conversion to kg and m³ happens before the division, so the answer is unit-independent.