🔍

Density Calculator

Calculate density, mass, or volume using the formula: Density = Mass / Volume.

Result

Result0

How to Use the Density Calculator

  1. Choose which value you want to solve for.
  2. Enter the two known values.
  3. Click Calculate to find the missing value.

What is Density?

Density is mass per unit volume, calculated with the formula Density = Mass / Volume. This calculator can also solve for mass or volume given the other two values.

Density Calculations Show Up in More Places Than Chemistry Class

Density (mass divided by volume) is used practically for identifying unknown materials - since every substance has a characteristic density, comparing a measured density against known reference values can help identify what something is made of, a technique used in everything from geology (identifying minerals) to quality control in manufacturing. Shipping and logistics companies use density calculations to determine dimensional weight pricing, since bulky-but-light packages are often charged based on volume rather than actual weight.

Cooking and baking occasionally require density conversions too - converting a recipe measured by volume (cups) to weight (grams) depends on the density of the specific ingredient, which is exactly why one cup of flour and one cup of honey have very different weights despite occupying the same volume.

Why Density Isn't Always What People Expect

A famous example: a kilogram of feathers and a kilogram of lead weigh the same, but the feathers occupy vastly more volume because their density is much lower - people sometimes misapply intuition about "heavy" materials in ways that a proper density calculation corrects.

What Density Actually Tells You

Density measures how much mass is packed into a given volume, and it is one of the most useful properties for identifying and comparing materials without needing to know anything else about their size or shape. Two objects can have wildly different sizes and weights but the same density if they are made of the same material — a small steel ball and a large steel beam both have the density of steel, roughly 7.85 grams per cubic centimeter, regardless of their overall mass or volume.

This property is used constantly in material science, manufacturing, and quality control. Density testing can reveal whether a metal part contains hidden air pockets (porosity) from a manufacturing defect, since a porous part will have lower density than a solid one of the same material. In shipping and logistics, density determines whether a package's cost is based on actual weight or "dimensional weight," since low-density, bulky-but-light items often cost more to ship than their actual weight would suggest.

Density and Buoyancy

Whether an object floats or sinks in a fluid depends entirely on comparing its density to the density of that fluid — anything less dense than water (1 gram per cubic centimeter) floats, and anything denser sinks. This is why a solid steel ship hull, despite being made of a material far denser than water, can float: the overall shape displaces enough water that the ship's average density (including the air-filled space inside) ends up lower than water's.

Temperature's Effect on Density

Density is not a fixed constant for a given material — it changes with temperature, since most materials expand slightly as they heat up and contract as they cool, spreading the same mass across a slightly different volume. Water is a notable exception, reaching its maximum density at 4°C rather than at its freezing point, which is why ice floats instead of sinking. Precise density measurements in scientific or industrial contexts always specify the temperature at which the measurement was taken for exactly this reason.

Frequently Asked Questions

What units should I use?

Use consistent units - for example, kilograms and cubic meters give density in kg/m3.

What units does density use?

Common units include grams per cubic centimeter (g/cm³) or kilograms per cubic meter (kg/m³), depending on the material and context.

Can density help identify an unknown material?

Yes, comparing a measured density against known reference values for common materials is a standard technique for identifying substances.

Why do equal weights of different materials take up different amounts of space?

This is exactly what density describes - materials with lower density need more volume to reach the same weight as a denser material.