Calculate density, mass, or volume using the formula: Density = Mass / Volume.
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 (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.
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.
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.
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.
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.
Use consistent units - for example, kilograms and cubic meters give density in kg/m3.
Common units include grams per cubic centimeter (g/cm³) or kilograms per cubic meter (kg/m³), depending on the material and context.
Yes, comparing a measured density against known reference values for common materials is a standard technique for identifying substances.
This is exactly what density describes - materials with lower density need more volume to reach the same weight as a denser material.