Everyday utility

Density Calculator

Calculate third quantity from Two of: density, mass, volume, with the key formulas and caveats needed to interpret the result correctly.

Last reviewed May 18, 2026 by ToolSpilo Editorial Team.

Review method: Reviewed against the implemented density formula, unit handling, and examples, displayed formulas, and worked examples.

Calculator tool

How this calculator works

Use the explanation to understand the formula, assumptions, and practical limits behind the calculator result.

Density Means How Much Fits in a Space

Density compares mass with volume:

ρ=mV\rho = \frac{m}{V}

A heavy object can still have low density if it is very large, and a small object can have high density if a lot of mass is packed into little space.

Simple Example

If an object has a mass of 200 g and a volume of 50 cm³, its density is:

200÷50=4 g/cm3200 \div 50 = 4\ \text{g/cm}^3

Why Density Matters

Density helps explain why ice floats on water, why metals feel heavy for their size, and how scientists identify materials. If an object's density is lower than the liquid around it, it is more likely to float; if it is higher, it is more likely to sink.

Check the Units

Mass and volume units must match the result you want. Grams with cubic centimeters give g/cm³. Kilograms with cubic meters give kg/m³. Temperature can also change density, especially for liquids and gases.

Frequently asked questions

How is density used to identify unknown materials?

Many materials have typical density ranges, so mass and volume together can give a clue about what a sample may be. It is a helpful test, but mixtures and alloys can make the answer less certain.

Why does water reach maximum density at 4°C, not 0°C?

Ice is less dense than liquid water, so the same mass takes up more space when frozen. Because it is less dense, ice floats.

How do you measure the density of an irregularly shaped object?

For an irregular solid, measure its mass, place it in water, and measure how much the water level rises. That rise gives the object's volume, which you can use in the density formula.

What is specific gravity and how does it relate to density?

Specific gravity compares a material's density with water's density. A value above 1 means denser than water, while a value below 1 means less dense than water.