⚛️ Science

Density Calculator

Calculate density from mass and volume, and compare it with water.

g
cm³

Results

Density
1.2500 g/cm³
In kg/m³
1,250.00 kg/m³
Floats in water?
No (denser than water)

📊 Density Calculator chart

How the density changes as the volume varies. The orange dot marks your current value.

What is the Density Calculator?

Calculate density from mass and volume, and compare it with water. Density compares mass with volume, which tells you whether something floats, how heavy a material is and whether a sample is what it claims to be.

Density Calculator – free online science tool illustration
Density Calculator — free, exact and private.

How to use the Density Calculator

  1. Enter your mass, your volume.
  2. Results update automatically as you type; you can also press Calculate.
  3. Read the output: density, in kg/m³, floats in water?.
  4. Use the 📊 chart to see the result visually, then copy or share it.

Formula and method

ρ = m ÷ V

Worked example

With mass = 500 g, volume = 400 cm³, the Density Calculator returns density: 1.2500 g/cm³; in kg/m³: 1,250.00 kg/m³; floats in water?: No (denser than water).

Where the Density Calculator helps in real life

A student weighs a metal block at 270 g and measures its volume at 100 cm³. A density of 2.7 g/cm³ matches aluminum, which helps identify the metal.

You are shipping a box of liquid and want to estimate its weight. Knowing the density and volume gives the mass before you reach the scale.

Common mistakes to avoid

  • Mixing grams with kilograms or cm³ with liters.
  • Measuring volume of a porous object without accounting for gaps.
  • Assuming all liquids have the density of water.
  • Forgetting that temperature changes density slightly.

💡 Practical tip: Anything less dense than water floats in it — the density comparison on this page shows that instantly.

Illustration: a science lab bench with flasks and a monitor showing a graph
Density Calculator in everyday work — illustration.

Tips for better results

  • Use water displacement to measure irregular objects.
  • Compare with water (1 g/cm³) to predict floating.
  • Keep units matched: g with cm³ or kg with m³.

Frequently asked questions

What does the Density Calculator do?

Calculate density from mass and volume, and compare it with water.

How is it calculated?

The Density Calculator uses this method: ρ = m ÷ V.

Can you show an example?

With mass = 500 g, volume = 400 cm³, the Density Calculator returns density: 1.2500 g/cm³; in kg/m³: 1,250.00 kg/m³; floats in water?: No (denser than water).

Is the Density Calculator accurate?

Yes. It uses standard formulas and exact constants, and the results are verified by our automated test suite. Values are displayed to up to 12 significant digits.

Is this tool free and private?

Yes — the Density Calculator is completely free with no sign-up, and it runs entirely in your browser, so the values you enter are never uploaded to our servers.

Related tools

📬 Get new tools first — free

Join Taurang to hear about new calculators, converters and features. No spam; unsubscribe anytime.

Create free account