Density Formula: How to Find Density, Mass, or Volume
Use the density formula ρ = m/V, rearrange it for mass or volume, and check your units with worked examples.

Density is mass divided by volume:
ρ = m / V. It tells you how much matter fits into a given space. Rearranging the same equation givesm = ρ × Vfor mass andV = m / ρfor volume.
What the density formula means
Density compares mass with volume. Two objects can take up the same space and still weigh very different amounts because their material is packed differently.
The unit comes from the division. If mass is in grams and volume is in cubic centimeters, density is in grams per cubic centimeter. If mass is in kilograms and volume is in cubic meters, density is in kilograms per cubic meter.
How to solve for density
To find density, divide the mass by the volume. Keep the units attached so the answer is not just a number.
That answer means each cubic centimeter of the block has eight grams of mass. If the same mass were spread over more volume, the density would fall.
How to rearrange the formula
The same equation solves three problems. Cover the value you want, then read the operation that remains.
Mass uses multiplication. If you know the density and volume, multiply them.
Volume uses division. If you know mass and density, divide mass by density.
Density units and conversions
Chemistry problems often use g/cm³. Physics problems often use kg/m³. The conversion is fixed because a kilogram contains one thousand grams and a cubic meter contains one million cubic centimeters.
Water is the usual benchmark for quick checks. At ordinary classroom precision, water is treated as one gram per cubic centimeter.
Worked examples across all three directions
Use these as a quick pattern check. The formula changes shape, but the relationship stays the same.
Common mistakes
Mixing units is the easiest way to break the answer. Do not divide grams by cubic meters unless you actually want g/m³. Convert mass and volume into a matching unit system first.
Using length instead of volume gives the wrong dimension. A cube side length is not the volume. Cube the length before using the density formula.
Floating depends on comparison, not weight alone. A heavy object can float if its average density is lower than the fluid around it. A small object can sink if its density is higher.
Common questions
The density formula is ρ = m / V, where ρ is density, m is mass, and V is volume. Divide mass by volume and keep the combined unit, such as g/cm³ or kg/m³.
Use m = ρ × V. Multiply the density by the volume, making sure the volume unit matches the density unit.
Use V = m / ρ. Divide the mass by the density. If density is in g/cm³, use grams for mass so the volume comes out in cubic centimeters.
An object floats when its average density is lower than the fluid around it. That is why a sealed empty bottle can float even though the plastic itself may be denser than air.
Density is one equation read in three directions. Decide which value is missing, match the units, and then use the density calculator when you want the result checked instantly.


