AJ Designer

Density Calculator

Density equals mass divided by volume

Solution

Share:

Calculate Density from Mass and Volume

Use this form when you know how much a sample weighs and how much space it occupies. It is the standard way to identify a material, compare fluids, or verify whether a measured sample matches a reference density.

ρ = m / V

Calculate Mass from Density and Volume

Use this rearrangement when the material density is known and you need the total mass of a batch, slab, tank, or component. This is common in structural estimating, logistics, and process design.

m = ρ × V

Calculate Volume from Mass and Density

Use this version when you know how much material you have and how dense it is, but need to size storage or occupied space. It is especially useful for tanks, packaging, and bulk material handling.

V = m / ρ

How It Works

This density calculator uses the relationship ρ = m / V to solve for density, mass, or volume. You choose the unknown with the solve-for toggle, enter the other two values, and the calculator converts units automatically before solving the equation. That makes it useful for lab work, engineering estimates, fluid calculations, and any problem where you need to move between how much material there is and how much space it occupies.

Example Problem

A lab sample has a mass of 2,700 g and displaces 1,000 cm³ of water. What is its density?

  1. Identify the measured values: the sample mass is 2,700 g and the displaced volume is 1,000 cm³.
  2. Choose the unknown: we want density, so use the density form of the equation ρ = m / V.
  3. Convert the measurements to SI units if needed: 2,700 g = 2.7 kg and 1,000 cm³ = 0.001 m³.
  4. Substitute the values into the formula: ρ = 2.7 / 0.001.
  5. Complete the division: ρ = 2,700 kg/m³.
  6. State the result with an equivalent common lab unit: the sample density is 2,700 kg/m³, which is also 2.7 g/cm³.

That result is consistent with aluminum, so density can be used as a quick material-identification check when the sample is reasonably pure.

When to Use Each Variable

  • Solve for Densitywhen you know the mass and volume of a sample and want to identify the material or compare it with a reference value.
  • Solve for Masswhen you know the material density and occupied volume and need the total amount of material present.
  • Solve for Volumewhen you know the mass and density and need to size a container, tank, shipment, or occupied space.

Key Concepts

Density is an intrinsic material property that describes how much mass is packed into a given volume. A small piece of aluminum and a large block of aluminum have the same density even though their masses and volumes are different. Density is also closely related to specific volume, which is its reciprocal, and to specific gravity, which compares density against a reference fluid such as water.

Applications

  • Materials engineering: verify whether a measured sample matches the expected density of aluminum, steel, copper, plastics, or ceramics
  • Civil engineering: estimate the mass of concrete, asphalt, soil, or aggregate from the required placement volume
  • Fluid systems: size tanks and predict buoyancy by converting between fluid density, stored mass, and occupied volume
  • Manufacturing and logistics: estimate shipping weight or packaging volume for powders, pellets, oils, and other bulk materials

Common Mistakes

  • Mixing units that do not match the desired answer, such as entering grams and cubic centimeters but reading the result as if it were kg/m³
  • Confusing mass and weight - density uses mass, so force in newtons must be converted to mass before using the formula
  • Assuming density never changes - temperature, pressure, moisture content, and trapped air can all change the measured value
  • Using bulk or apparent volume when you really need solid material volume, especially for porous materials and loose aggregates

Frequently Asked Questions

What do I need to know to find the density of a material?

Use the formula ρ = m / V. Divide the mass of the sample by the volume it occupies, making sure the units are consistent with the density unit you want. For example, 2.7 kg divided by 0.001 m³ gives a density of 2,700 kg/m³.

How do you write the density equation?

The density formula is ρ = m / V, where ρ is density, m is mass, and V is volume. The same relationship can be rearranged to m = ρ × V and V = m / ρ when mass or volume is the unknown.

What is the difference between density and specific gravity?

Density has units, such as kg/m³ or g/cm³, and tells you the mass per unit volume of a material. Specific gravity is unitless because it is a ratio: the material density divided by the density of a reference fluid, usually water. A specific gravity of 2.7 means the material is 2.7 times as dense as water.

What units are used for density?

Common SI and lab units include kg/m³, kg/L, g/mL, and g/cm³. Imperial work often uses lb/ft³ or lb/gal. This calculator converts automatically, which helps when your mass and volume measurements come from different unit systems.

Does temperature affect density?

Yes. Most solids, liquids, and gases expand as temperature increases, so their density decreases if mass stays the same. The effect is especially important for gases and for liquids stored across a wide temperature range, which is why engineering references usually state density at a specific temperature.

Can density be used to identify a material?

Often, yes. If you measure mass and volume carefully, the calculated density can be compared against reference values for metals, plastics, fuels, and other materials. It works best when the sample is pure and free of voids, coatings, or trapped moisture.

Does lower density mean an object will float?

An object floats in a fluid when its average density is lower than the density of that fluid. That is why wood floats on water and solid steel sinks. Shape still matters because hollow objects can trap air and lower their average density enough to float.

How accurate is a density calculation?

The formula itself is exact, but the final answer is only as accurate as the mass and volume measurements you enter. Errors in displaced-volume tests, rounded dimensions, temperature shifts, or mixed units are the most common reasons real-world density calculations drift from handbook values.

Reference: Tipler, Paul A. 1995. Physics for Scientists and Engineers. Worth Publishers. 3rd ed.

Worked Examples

Materials Science

How do you calculate the density of an aluminum sample from lab measurements?

A materials lab measures an aluminum specimen with a mass of 2,700 g and a displaced volume of 1,000 cm³. Use the density formula to confirm whether the result matches typical aluminum.

  • Knowns: m = 2,700 g and V = 1,000 cm³
  • Formula: ρ = m / V
  • ρ = 2,700 / 1,000 = 2.7 g/cm³
  • Density ≈ 2.7 g/cm³, which is also 2,700 kg/m³

This is a good purity check for metals, but temperature and trapped air can shift the measured volume slightly.

Civil Engineering

How do you estimate the mass of a concrete pour from its volume?

A slab pour requires 2.5 m³ of concrete, and the mix design density is 2,400 kg/m³. Calculate the concrete mass to size the crane lift and truck delivery.

  • Knowns: ρ = 2,400 kg/m³ and V = 2.5 m³
  • Formula: m = ρ × V
  • m = 2,400 × 2.5 = 6,000
  • Mass = 6,000 kg

Actual delivered mass can vary with moisture content and aggregate selection, so field densities should come from the approved mix data.

Manufacturing

How much tank volume do you need for 850 kg of hydraulic oil?

A maintenance team needs to store 850 kg of hydraulic oil with a density of 0.85 kg/L. Use the density equation to size the tank volume in liters.

  • Knowns: m = 850 kg and ρ = 0.85 kg/L
  • Formula: V = m / ρ
  • V = 850 / 0.85 = 1,000
  • Volume = 1,000 L

Storage calculations should include freeboard and thermal expansion, because oils expand as temperature rises.

Density Formula

The density formula relates mass, volume, and how tightly a material is packed:

Density equals mass divided by volumeMass equals density multiplied by volumeVolume equals mass divided by density

Where:

  • ρ — density, usually expressed in kg/m³, g/cm³, or lb/ft³
  • m — mass of the material
  • V — occupied volume

This formula is exact for any measured mass and volume pair. The main limitation is the quality of your measurements: density changes with temperature, pressure, moisture content, and trapped voids, so engineering design values should come from the right reference condition for the material.

Density of Common Materials

Reference densities at standard conditions (20 °C, 1 atm). Click a row to load it into the calculator.

Materialkg/m³g/cm³Type
Water1,0001.00Liquid
Air1.2250.001225Gas
Aluminum2,7002.70Metal
Steel7,8507.85Metal
Copper8,9608.96Metal
Gold19,32019.32Metal
Lead11,34011.34Metal
Iron7,8747.87Metal
Titanium4,5074.51Metal
Concrete2,4002.40Solid
Glass2,5002.50Solid
Oak Wood7500.75Solid
Ice9170.917Solid
Granite2,7502.75Solid
Rubber1,1001.10Solid
Mercury13,54613.55Liquid
Ethanol7890.789Liquid
Gasoline7480.748Liquid
Brass8,5008.50Metal
Bone1,9001.90Solid

Values are typical and vary with temperature, alloy composition, and moisture content.

Related Calculators

Related Sites