Density Calculator

The Density Calculator computes density from mass and volume. It is useful in physics, materials science, and everyday situations like checking whether an object will float or sink.

Density Calculator

kg

What the result means

Density is mass divided by volume. It tells you how much mass is packed into a given space. A higher density means more mass in the same volume. Objects with density less than water (1000 kg/m³) float; those with higher density sink.

How to use this calculator

  1. 1Enter the mass of the object in kilograms (kg).
  2. 2Enter the volume of the object in cubic meters (m³).
  3. 3Press Calculate to see the density in kg/m³.
  4. 4Compare the result with known densities (water ≈ 1000 kg/m³).
  5. 5Use the result to understand whether the material is dense or light.

The formula

The calculation uses a standard, verifiable formula. Here it is in its simplest form.

Density (ρ) = Mass (m) ÷ Volume (V) ρ = m / V

What each variable means

SymbolNameDescription
mMassThe amount of matter in the object, measured in kilograms.
VVolumeThe space the object occupies, measured in cubic meters.
ρDensityThe mass per unit volume, measured in kg/m³.

Step-by-step example

Example: 10 kg object with 2 m³ volume

Mass:10 kgVolume:2 m³
  1. 1Density = 10 ÷ 2
  2. 2= 5 kg/m³
  3. 3This is much less than water (1000 kg/m³), so it would float.

Result

5 kg/m³

What changes the result

  • Density depends on the material and its state (solid, liquid, gas).
  • Temperature and pressure affect density, especially for gases.
  • The same material can have different densities in different forms.

Edge cases to be aware of

Unusual situations handled correctly

  • If volume is zero, density is undefined — the calculator returns 0.
  • Very small volumes with large mass produce very high densities.
  • Gases have much lower densities than solids or liquids.

Common mistakes

Avoid these errors

  • Using grams and cubic centimeters without converting to kg and m³.
  • Confusing density with weight.
  • Forgetting that volume must be in cubic meters for kg/m³.

Assumptions

  • The object is uniform — density is the same throughout.
  • Mass and volume are measured accurately.
  • Standard metric units are used.

Limitations

  • Assumes uniform density; real objects may have varying density.
  • Does not account for temperature or pressure effects.
  • Requires accurate volume measurement, which can be difficult for irregular shapes.

Frequently asked questions

What is the density of water?+
Water has a density of approximately 1000 kg/m³ (1 g/cm³) at 4°C. Objects with lower density float in water; objects with higher density sink.
How is density different from weight?+
Weight is the force of gravity on an object's mass. Density is the ratio of mass to volume. Two objects of the same weight can have very different densities if their volumes differ.
Why does ice float on water?+
Ice has a lower density than liquid water (about 917 kg/m³ vs 1000 kg/m³) because water expands when it freezes, increasing its volume while keeping the same mass.