Mathovia

Science / Physics

Density Calculator

Choose what you want to solve for below, then enter the two values you already know. Works with any combination of common mass, volume, and density units.

Density
2.5000 g/cm³

Density = Mass ÷ Volume. Pick which value you're solving for above — the other two become your inputs. All unit conversions are handled internally by normalizing to grams and cm³ first.

M
Written by
Mathovia Team
Editorial Team

What density tells you about an object

Density describes how tightly mass is packed into a given volume. Two objects can be the same size and look identical, but if one is much heavier, it has a higher density — this is why a solid steel ball sinks in water while a same-sized foam ball floats. Density is one of the most basic ways to identify or compare materials, since every substance has a roughly consistent, well-documented density under normal conditions.

This calculator solves the density equation in any direction: find density from mass and volume, find mass from density and volume, or find volume from mass and density — pick the mode that matches what you actually know.

How to Calculate Density, Mass, or Volume (step by step)

Solving for density, given mass and volume

density = mass ÷ volume

For the defaults (500 g, 200 cm³):

500 ÷ 200 = 2.5 g/cm³

Solving for mass, given density and volume

mass = density × volume

For a density of 2.5 g/cm³ and a volume of 200 cm³:

2.5 × 200 = 500 g

Solving for volume, given mass and density

volume = mass ÷ density

For a mass of 500 g and a density of 2.5 g/cm³:

500 ÷ 2.5 = 200 cm³

Working across different units

Whichever mode you use, every value is first converted to a common base (grams for mass, cubic centimeters for volume) before the calculation runs, then the result is converted to whichever unit you’ve selected. That’s what lets you freely mix units — solving for mass with density in kg/m³ and volume in cubic feet works exactly the same as using grams and cm³ throughout.

Common material densities

A few reference points, in g/cm³: water is 1.0, aluminum is 2.7, iron is 7.86, steel is about 8.05, and copper is 8.96. Comparing a measured or calculated density against known values like these is a common way to identify an unknown material.

About the formula: Density = Mass ÷ Volume. Pick which value you're solving for above — the other two become your inputs. All unit conversions are handled internally by normalizing to grams and cm³ first.

Frequently Asked Questions

What is the formula for density?+

Density equals mass divided by volume (ρ = m/V). Rearranged, mass equals density times volume, and volume equals mass divided by density — this calculator handles all three directions.

How do I know if something will float in water?+

Compare its density to water's density, which is 1 g/cm³ (or 1000 kg/m³). If an object's density is lower than water's, it will float; if higher, it will sink.

Why does switching the density unit change the number so much?+

The underlying density doesn't change — only the unit describing it does. 1 g/cm³ equals exactly 1000 kg/m³ and about 62.43 lb/ft³.

Can I mix unit systems, like density in kg/m³ and volume in cubic feet?+

Yes — every value converts independently to a common base (grams and cm³) before the calculation, so any combination of units works correctly regardless of which mode you're using.

Related calculators