Math · Every step shown

Density Calculator

Solve for density, mass, or volume — give any two and find the third.

Enter your numbers

Press Solve with steps to see the answer and how to get it.

Job: Physics
Your answer

Press Solve with steps to see the answer and every step.

How it works, examples and FAQ

Density = mass ÷ volume. Rearranged: mass = density × volume, and volume = mass ÷ density.

Example: 10 kg in 2 m³ gives a density of 5 kg/m³.

What is density?
How much mass is packed into a given volume — density = mass ÷ volume.

What's the density of water?
About 1,000 kg/m³ (or 1 g/cm³), which is why objects less dense than that float in water.

Can I use grams and centimeters instead of kilograms and meters?
Yes, as long as you're consistent — the ratio stays the same, just label your own units (g/cm³ instead of kg/m³).

More math calculators

Snap a photo of a problem →   All math tools →   All calculators →

These calculators show the method as well as the answer, so you can learn the steps and check your own work. If a result ever looks wrong, tell us on the Contact page with the numbers you entered.

Save or print your results

On a phone, choose Save as PDF on the next screen to keep a copy.