Solve density, mass or volume. This free density calculator uses ρ = m ÷ V, converts units automatically, and shows results in g/cm³ and kg/m³ with a reference table of common materials.
Solve for
Pick what to solve for, then enter the other two values. Units convert automatically — density is computed internally in grams and cubic centimetres.
Density
—
Enter two values
g/cm³
—
kg/m³
—
In grams
—
In cm³
—
Density relates mass and volume: ρ = m ÷ V. Rearranged, mass = ρ × V and volume = m ÷ ρ. For reference, water is about 1 g/cm³ (1000 kg/m³).
Use this free density calculator to find density, mass or volume. Enter any two and it solves the third using ρ = m ÷ V, with automatic unit conversion.
What this density calculator does
A density calculator relates mass, volume and density. Choose what to solve for, enter the other two values in whatever units you have, and it returns the answer in both g/cm³ and kg/m³.
The density formula
density = mass ÷ volume (ρ = m ÷ V)
mass = density × volume
volume = mass ÷ density
So 100 g in 50 cm³ has a density of 2 g/cm³. Water is about 1 g/cm³, or 1000 kg/m³.
Densities of common materials
Material
g/cm³
kg/m³
Water (4 °C)
1.00
1000
Ice
0.92
917
Aluminium
2.70
2700
Iron
7.87
7870
Gold
19.3
19300
Why density matters
Density tells you whether something floats or sinks, helps identify materials, and converts between weight and volume. Anything denser than water (1 g/cm³) sinks in it; anything less dense floats.
How to use the density calculator
Choose density, mass or volume to solve for.
Enter the other two values and pick units.
Read the result in g/cm³ and kg/m³.
Density FAQ
How do I calculate density?
Divide mass by volume. For example, 100 g in 50 cm³ gives a density of 2 g/cm³.
How do I find mass or volume from density?
Rearrange the formula: mass = density × volume, and volume = mass ÷ density. The calculator does whichever you select.
What is the density of water?
About 1 g/cm³, which is 1000 kg/m³ at 4 °C. It’s the common reference point for floating and sinking.
Why does ice float on water?
Ice is less dense (about 0.92 g/cm³) than liquid water (1 g/cm³), so it floats. Anything denser than water sinks.
Can I mix units?
Yes. Enter mass in grams, kilograms or pounds and volume in cm³, litres, m³ or gallons — the calculator converts internally.
Is the density calculator free?
Yes, this density calculator is completely free, needs no sign-up, and gives instant results in your browser.