🎉 Launch offer — save 30% on every plan, locked in for early families. See plans →

Density Formula: Definition, Method and Examples

MathPublished

Density Formula: Definition, Calculation, and Examples

Density is a measure of how much mass is contained within a specific volume. Calculate density by dividing the mass of an object by its volume, ensuring the units are compatible. The result is expressed as a compound measure, such as grams per cubic centimeter or kilograms per cubic meter.

What is density?

Density describes how tightly matter is packed together inside an object or substance. It is a specific type of rate that compares the amount of matter present to the amount of three-dimensional space it occupies.

Two identical square containers side by side. The first container is filled with many tightly packed blue circles representing high density. The second container holds fewer, widely spaced blue circles representing low density.

An object with a high density contains a large amount of mass in a small volume. An object with a low density contains a small amount of mass spread out over a larger volume.


The standard mathematical formula for density is:

d=mvd = \dfrac{m}{v}

Where dd represents density, mm represents mass, and vv represents volume.


Density is the ratio of an object's mass to its volume.

Use the density formula

To calculate the density of an object, you must determine both its mass and its volume, then apply the formula.

  1. Identify the mass of the object.
  2. Identify or calculate the volume of the object.
  3. Check that the units of mass and volume match the required density units.
  4. Divide the mass by the volume using d=mvd = \dfrac{m}{v}.
  5. Write the final answer with a compound unit.

If the volume of a solid is not given directly, you must calculate it first. For example, to find the volume of a rectangular prism, multiply its length, width, and height.

Choose compatible units

Density is a compound measure, meaning its units are formed by combining a mass unit and a volume unit.


The most common units for density are:

  • Grams per cubic centimeter (g/cm3g/\text{cm}^3) for small solids and liquids.
  • Kilograms per cubic meter (kg/m3kg/\text{m}^3) for larger solids and gases.

Always check that your given values match the requested final units. If a question asks for the density in grams per cubic centimeter, but gives the mass in kilograms, you must convert the mass into grams before calculating.


Convert your units before substituting them into the formula.

A parent reviewing their child's subject progress on a laptop
FOR PARENTS

See exactly where your child is strong — and where not

Chapter-by-chapter progress, mastery scores and lesson reports. Request custom worksheets from an academic counsellor.

Find density, mass or volume

The density equation relates three variables. If you know any two of the values, you can rearrange the formula to find the unknown third value.

Three interconnected equations demonstrating how to rearrange the density formula. Density equals mass divided by volume. Mass equals density times volume. Volume equals mass divided by density.


To calculate mass from density and volume, multiply both sides of the density equation by volume. This yields the formula m=d×vm = d \times v.


To calculate volume when mass and density are known, divide the mass by the density. This yields the formula v=mdv = \dfrac{m}{d}.

Interpret density in context

Density tells us how heavy an object is relative to its size. For example, a solid piece of iron feels significantly heavier than a piece of wood of the exact same size because iron possesses a higher density.


Understanding density conceptually is similar to finding a unit rate, where you determine the amount of mass contained in exactly one unit of volume. Other important compound measures in mathematics and science include flow rate and the pressure formula.

Worked examples

Example 1: Finding density from mass and volume


Question: A metal block has a mass of 420 g420\text{ g} and a volume of 60 cm360\text{ cm}^3. What is the density of the metal block?


Method:

  1. Identify the given mass and volume. The mass is 420 g420\text{ g} and the volume is 60 cm360\text{ cm}^3.
  2. Ensure the units are compatible. Both are standard metric units that form grams per cubic centimeter.
  3. Substitute the values into the formula d=mvd = \dfrac{m}{v}.
  4. Calculate d=42060d = \dfrac{420}{60}.

Answer: The density of the metal block is 7 g/cm37\text{ g/cm}^3.


Check: Multiply the calculated density by the volume to see if it returns the original mass: 7×60=4207 \times 60 = 420.


Example 2: Finding volume from mass and density


Question: A liquid has a density of 1.2 g/cm31.2\text{ g/cm}^3. If a beaker contains 300 g300\text{ g} of this liquid, what is the volume of the liquid?


Method:

  1. Identify the known variables. The density is 1.2 g/cm31.2\text{ g/cm}^3 and the mass is 300 g300\text{ g}.
  2. Choose the correct rearranged formula to find volume: v=mdv = \dfrac{m}{d}.
  3. Substitute the values: v=3001.2v = \dfrac{300}{1.2}.
  4. Perform the division.

Answer: The volume of the liquid is 250 cm3250\text{ cm}^3.


Check: Multiply the resulting volume by the density: 250×1.2=300 g250 \times 1.2 = 300\text{ g}. The calculation is correct.


Example 3: Applying the formula to populations


Question: A city covers an area of 50 km250\text{ km}^2. If the city has a total population of 15,00015{,}000 people, what is the population density?


Method:

  1. Treat the population as the total amount (similar to mass) and the area as the space (similar to volume).
  2. Set up the ratio using the density concept: Density=PopulationArea\text{Density} = \dfrac{\text{Population}}{\text{Area}}.
  3. Substitute the values: d=15,00050d = \dfrac{15{,}000}{50}.
  4. Simplify the fraction.

Answer: The population density is 300 people/km2300\text{ people/km}^2.


Check: Multiply the population density by the total area: 300×50=15,000300 \times 50 = 15{,}000.

BUILT AROUND YOUR CHILD

A learning plan shaped by your child, not the class

State-aligned Math plus our own Logic and English curriculum. An adaptive baseline test finds the gaps and fills them.

Common mistakes

Dividing the wrong values

A common error is dividing volume by mass instead of mass by volume. Always ensure that mass is the numerator (the top number) and volume is the denominator (the bottom number) when calculating density.


Ignoring unit mismatches

Using measurements with mixed prefixes, such as kilograms for mass and cubic centimeters for volume, without converting them first will result in an incorrect answer. Ensure all units align before using the formula.


Confusing density with weight

Density measures how concentrated the mass is, not just how heavy an object is. A large block of foam may be heavy overall but still have a very low density because its mass is spread over a huge volume.

Frequently asked questions

Does an object's density change if you cut it in half?

No, density is an intensive property. If you cut a block of wood in half, both the mass and the volume are halved, so the ratio between them (the density) remains exactly the same.


How does density determine if an object floats?

An object will float in a fluid if its density is less than the density of the fluid. It will sink if its density is greater than the density of the fluid.

Practice questions

Question

A rectangular block with a length of 4 centimeters, a width of 3 centimeters, and a height of 2 centimeters. A label above the block states the mass is 72 grams.

Based on the measurements shown in the diagram, what is the density of the block?

  • 3 g/cm33\text{ g/cm}^3

  • 8 g/cm38\text{ g/cm}^3

  • 18 g/cm318\text{ g/cm}^3

  • 24 g/cm324\text{ g/cm}^3

Answer:

3 g/cm33\text{ g/cm}^3

Question

A piece of pure silver has a density of 10.5 g/cm310.5\text{ g/cm}^3 and a volume of 8 cm38\text{ cm}^3. What is the mass of the piece of silver?

  • 1.31 g1.31\text{ g}

  • 8.4 g8.4\text{ g}

  • 18.5 g18.5\text{ g}

  • 84 g84\text{ g}

Answer:

84 g84\text{ g}

Question

A line graph with Volume in cubic centimeters on the horizontal axis and Mass in grams on the vertical axis. A straight line starts at the origin and passes exactly through a point at volume 5 and mass 40.

The graph shows the relationship between mass and volume for a specific material. What is the density of the material?

  • 0.125 g/cm30.125\text{ g/cm}^3

  • 5 g/cm35\text{ g/cm}^3

  • 8 g/cm38\text{ g/cm}^3

  • 40 g/cm340\text{ g/cm}^3

Answer:

8 g/cm38\text{ g/cm}^3

Question

A block of wood has a mass of 1.5 kg1.5\text{ kg} and a volume of 2,500 cm32{,}500\text{ cm}^3. What is the density of the wood in g/cm3\text{g/cm}^3?

  • 0.0006 g/cm30.0006\text{ g/cm}^3

  • 0.6 g/cm30.6\text{ g/cm}^3

  • 1.67 g/cm31.67\text{ g/cm}^3

  • 600 g/cm3600\text{ g/cm}^3

Answer:

0.6 g/cm30.6\text{ g/cm}^3

Question

A plastic cylinder has a density of 1.4 g/cm31.4\text{ g/cm}^3 and a mass of 35 g35\text{ g}. What is the volume of the plastic cylinder?

  • 0.04 cm30.04\text{ cm}^3

  • 25 cm325\text{ cm}^3

  • 36.4 cm336.4\text{ cm}^3

  • 49 cm349\text{ cm}^3

Answer:

25 cm325\text{ cm}^3

Early access

Join the COPRIMES waitlist

Tell us a little about your child. We'll email you when your spot opens, and early families lock in launch pricing.

Early-access emails only. Unsubscribe anytime.