Conversion Calculators

Density Calculator

Use this density calculator to find the density of an object from its mass and volume, or to solve for mass or volume when you know the density. Density tells you how much mass is packed into a given space, which is why some objects float and others sink.

Primary answer
Mass
Inputs to verify
Solve for, Mass, and Mass unit
Use type
Use as a direct calculation check.
Keyword intent
density calculator

Calculator

Density Calculator

Calculates mass from solve for, mass, mass unit. Defaults are filled in so you can review a working example before changing inputs.

Choose the unknown value in density = mass / volume.

Mass of the substance or object. Required unless solving for mass.

Unit for the mass input.

Volume occupied by the substance or object. Required unless solving for volume.

More inputs3 additional assumptions

Unit for the volume input.

Mass density. Required unless solving for density.

Unit for the density input.

Result

Result reflects the current submitted inputs.

  • Risk A
  • Reviewed 2026-05-26
  • 2 sources
Mass1,000 kg
Volume1 m^3
Density1,000 kg/m^3
Density1 g/cm^3
Density1 g/mL
Density62.427961 lb/ft^3
  • Density means mass density for a uniform substance or object.
  • Known values are converted to kilograms, cubic meters, and kilograms per cubic meter before calculation.
  • The calculator does not adjust for temperature, pressure, mixtures, porosity, or measurement uncertainty.
  • Intermediate values are not rounded; raw outputs are rounded to 10 decimal places for stability.

Accuracy notes

Risk level
A
Reviewed
2026-05-26
Sources
2
Primary result
Mass

Formula logic is kept in a pure calculator module with fixtures, source notes, and page-visible assumptions.

What the result means

Density tells you how heavy a material is for its size. A high density means a lot of mass in a small volume (like metals), while a low density means light for its size (like foam or wood). Comparing an object's density to water (1 g/cm^3) predicts whether it floats or sinks.

MassMass normalized to kilograms.
VolumeVolume normalized to cubic meters.
DensityDensity in kilograms per cubic meter.
DensityDensity in grams per cubic centimeter.

Use the result this way

  1. Start with Mass, then use supporting outputs for context.
  2. Verify Solve for, Mass, and Mass unit before copying the result.
  3. Check the formula, example, and assumptions before reusing the answer.

User job

How to use this calculator

Use Density Calculator when you need mass, then use volume and density to check the context for unit checks, engineering notes, recipes, travel, shopping, and measurement cleanup.

Best for

  • Converting compatible units
  • Auditing the factor used for a repeated conversion
  • Reviewing a default example before entering your own solve for and mass.

Check before relying

  • Make sure the source and target units measure the same kind of quantity.
  • Density means mass density for a uniform substance or object.
  • Known values are converted to kilograms, cubic meters, and kilograms per cubic meter before calculation.
  • Source context: OpenStax University Physics, reviewed 2026-06-16.

Next useful step

  • Mass CalculatorUse next when your task shifts from Density Calculator to Mass Calculator.
  • Volume CalculatorUse next when your task shifts from Density Calculator to Volume Calculator.
  • Unit Conversion CalculatorUse next when your task shifts from Density Calculator to Unit Conversion Calculator.

Formula

Density = mass / volume, written rho = m / V. To find mass, rearrange to mass = density x volume; to find volume, use volume = mass / density. Density is commonly measured in kilograms per cubic meter (kg/m^3) or grams per cubic centimeter (g/cm^3), where 1 g/cm^3 = 1000 kg/m^3.

  • Density = mass / volume. Rearrange to mass = density x volume or volume = mass / density depending on what you need.
  • Common units: g/cm^3 and kg/m^3, with 1 g/cm^3 = 1000 kg/m^3. Water is 1 g/cm^3 (1000 kg/m^3) at about 4 degrees C, the standard reference point.
  • Approximate densities (g/cm^3): air 0.0012, wood 0.5 to 0.9, water 1.0, aluminum 2.7, iron 7.9, lead 11.3, gold 19.3.
  • An object floats if its average density is less than the fluid it sits in, and sinks if it is greater. This is the basis of specific gravity, which compares a substance's density to water.
  • Density changes with temperature and pressure, especially for gases. Most substances expand and become slightly less dense when heated.

Inputs

Enter any two of the three quantities: mass, volume, and density. The calculator solves for the third. Keep units consistent: if mass is in grams and volume in cubic centimeters, density comes out in g/cm^3. Water is a handy reference at 1 g/cm^3, so anything denser than 1 g/cm^3 sinks in water and anything less dense floats.

Solve forChoose the unknown value in density = mass / volume.
MassMass of the substance or object. Required unless solving for mass.
Mass unitUnit for the mass input.
VolumeVolume occupied by the substance or object. Required unless solving for volume.
Volume unitUnit for the volume input.
DensityMass density. Required unless solving for density.
Density unitUnit for the density input.

Example

A metal block with a mass of 200 grams and a volume of 25 cubic centimeters has a density of 200 / 25 = 8 g/cm^3, close to iron. A 2-liter bottle (2000 cm^3) of water has a mass of 2000 x 1 = 2000 grams, or 2 kg, since water's density is 1 g/cm^3.

FAQ

How do you calculate density?

Divide mass by volume: density = mass / volume. A 200-gram object that takes up 25 cubic centimeters has a density of 200 / 25 = 8 g/cm^3. Keep units consistent so the result is meaningful.

What is the formula for density?

The density formula is rho = m / V, where m is mass and V is volume. You can rearrange it to mass = density x volume, or volume = mass / density.

What is the density of water?

Water has a density of 1 gram per cubic centimeter (1 g/cm^3), which equals 1000 kg/m^3, measured at about 4 degrees C. It is the standard reference for comparing other materials and for specific gravity.

Why do some objects float and others sink?

An object floats if its average density is less than the liquid around it, and sinks if it is denser. A cork floats on water because it is less dense than 1 g/cm^3, while a steel bolt sinks because it is far denser.

What units is density measured in?

Density is usually measured in grams per cubic centimeter (g/cm^3) or kilograms per cubic meter (kg/m^3), where 1 g/cm^3 equals 1000 kg/m^3. Gas densities are often given in g/L.

How do you find mass from density and volume?

Multiply density by volume: mass = density x volume. A 50 cm^3 piece of aluminum (2.7 g/cm^3) has a mass of 2.7 x 50 = 135 grams.

Sources

Last reviewed: 2026-05-26

Disclaimer

Material densities are approximate and vary with temperature, pressure, purity, and form. For engineering or scientific work, use measured values for your specific material and conditions.