Science & Engineering
Density, Mass & Volume Calculator
Solve density = mass ÷ volume for any of the three, with a list of common material densities for reference.
How to use
- 1Choose what to calculate.
- 2Enter the other two values (in g and cm³, or kg and m³ — keep units consistent).
How it's calculated
ρ = m ÷ V; m = ρ × V; V = m ÷ ρ. Water is about 1 g/cm³ (1,000 kg/m³).
Frequently asked questions
Why do things float?
An object floats if its average density is lower than the fluid's. Ice (0.92 g/cm³) floats on water (1.00 g/cm³).
What units should I use?
Any consistent set: g and cm³ give g/cm³; kg and m³ give kg/m³ (1 g/cm³ = 1,000 kg/m³).
What's the densest element?
Osmium, at about 22.59 g/cm³.
A worked example: identifying a metal by density
A 10 cm³ block with a density of 2.70 g/cm³ has a mass of m = ρ × V = 2.70 × 10 = 27 g — the exact figures aluminum would give, since 2.70 g/cm³ is aluminum's accepted density. This is the practical use of density in the real world: measure an object's mass and volume, divide, and compare the result against reference values to identify an unknown material or confirm a part is actually what it's labeled as. A sample measuring closer to 7.87 g/cm³ at the same volume would point to iron instead, not aluminum, even though the two could look identical.
Why density explains flotation, not just weight
An object floats when its average density is lower than the fluid it's placed in — not when it's 'light.' Ice, at about 0.92 g/cm³, floats on liquid water (1.00 g/cm³) because water molecules pack more loosely in the hexagonal lattice of ice than in the liquid, an unusual property most substances don't share (most solids are denser than their own liquid). A solid steel ship (density around 7.8 g/cm³) still floats because its hull shape displaces enough water that the ship's average density — hull plus the air-filled space inside — comes out below that of water.
Keeping units consistent
Density is only meaningful with a matched pair of units: grams with cubic centimetres gives g/cm³, kilograms with cubic metres gives kg/m³, and the two scales relate by a factor of exactly 1,000 (1 g/cm³ = 1,000 kg/m³, since 1 cm³ = 10⁻⁶ m³ and 1 g = 10⁻³ kg). Mixing a mass in kilograms with a volume in cm³ without converting is the single most common source of a density answer that's off by a factor of 1,000 — worth checking first if a result looks wrong by exactly that much.
The field I am solving for disappears
Density is the default unknown, with mass 250 and volume 100, so the first answer is 2.5. If I switch to mass, the mass box hides and density appears, preset to 2.7, the sort of figure I would type for aluminum. Volume hides in the same way when volume is the unknown. I only ever enter the two knowns, which stops me from accidentally over-specifying the trio. A zero in a denominator, volume when finding density, or density when finding volume, is rejected as a division by zero rather than shown as an infinity. The result is labeled Density, Mass, or Volume and given to six decimal places, with no unit conversion of its own.
Related tools
- Molar Mass Calculator
Calculate the molar mass (molecular weight) of any chemical formula — including brackets and hydrates like CuSO4·5H2O — with the mass percentage of each element.
- Hemocytometer Cell Count Calculator
Calculate cell concentration and viability from hemocytometer counts: cells per mL, total cells, and the volume needed to seed a target number of cells.
- Molarity & Dilution Calculator
Calculate molarity, moles, mass or volume of a solution, or solve a dilution with C₁V₁ = C₂V₂.
- Dew Point & Humidity Calculator
Calculate the dew point from air temperature and relative humidity — or relative humidity from temperature and dew point — with a comfort rating.
- Customer Lifetime Value (CLV) Calculator
Estimate customer lifetime value from average order value, purchase frequency, gross margin and retention — and compare it with acquisition cost.
- Lean Body Mass & FFMI Calculator
Estimate lean body mass with the Boer formula (or from your body fat %) and your fat-free mass index (FFMI), normalized to 1.8 m.