Physics and laboratory tool

Density Calculator

Calculate density, mass, or volume using common laboratory measurement units and clear working steps.

Enter two known values

Solve a density problem

Free tool
g/cm³

This is the value being calculated.

g

Amount of matter in the sample.

cm³

Space occupied by the sample.

Use one consistent unit system. This calculator displays units but does not convert between different unit systems.

Try an example:

Your result will appear here

Select the missing variable and enter the other two measurements.

Calculator guide

How this calculator works

Density Calculator determines the mass per unit volume of a substance using mass and volume measurements. It helps physics students, chemists, engineers, researchers, and laboratory users analyze material properties, identify substances, and study physical characteristics using density principles.

Formula explanation

Density is calculated by dividing mass by volume and describes how much matter exists in a given space.

Formula

Density = Mass ÷ Volume

Worked example

Example: A substance with 10 grams of mass occupying 2 cubic centimeters has a density of 5 g/cm³.

Assumptions

  • Mass and volume values use compatible units.
  • The sample has a uniform density.
  • Measurements accurately represent the tested material.
  • Temperature and pressure effects are ignored in the ideal calculation.

Examples

  • Example: Calculate density when the mass and volume of a material sample are known.
  • Example: Scientists compare measured density values to identify and analyze materials.

Common mistakes

  • Mixing mass and volume units.
  • Using incorrect volume measurements.
  • Ignoring unit conversions.

Variables

  • Mass
  • Volume
  • Density
  • Material properties
  • Sample composition
  • Measurement units

Limitations

  • Does not account for materials with changing density throughout a sample.
  • Results depend on accurate mass and volume measurements.

Scientific references

  • OpenStax University Physics: Density and Matter
  • NIST SI Units and Measurement References
  • Material science principles

Content review

Reviewed by: ScienceCalcHub Physics Review Team | Last reviewed: 2026-08-30

Applications

  • Physics education
  • Chemistry and material analysis
  • Laboratory measurements
  • Engineering material studies
  • Substance identification
  • Scientific research applications

Frequently asked questions

How is density calculated?

Density is calculated by dividing mass by volume, showing how much mass exists in a given amount of space.

What is the SI unit of density?

The SI unit of density is kilograms per cubic meter (kg/m³).

Why is density important in science?

Density helps identify materials, compare substances, and analyze physical properties in physics, chemistry, and engineering.

Where is density used?

Density calculations are used in laboratories, material science, engineering, chemistry, and physics experiments to study substances.

Accuracy and transparency

Created and maintained by our editorial team

This chemistry calculator is maintained by the ScienceCalcHub Editorial Team. Its calculation logic is tested with representative inputs, while the supporting guidance is checked for formula clarity, units, assumptions, and common mistakes.

Written by
ScienceCalcHub Editorial Team
Reviewed by
ScienceCalcHub Scientific Review Team
Review standard
Formula accuracy, units, examples, and educational clarity

Learn more about our formula-review and correction process, explore our calculation methodology, or view our scientific references.

  • Calculation logic tested
  • Variables and units explained
  • Assumptions stated clearly
  • Corrections handled transparently

Formula

How density is calculated

Density formulaρ = m ÷ V

Density measures the amount of mass contained in a given volume. The symbol ρ represents density, m represents mass, and V represents volume.

Worked example

Density calculation example

A sample has a mass of 100 grams and occupies a volume of 20 cubic centimeters.

  1. Write the formula: density = mass ÷ volume
  2. Substitute the values: 100 ÷ 20
  3. Calculate the result: 5
  4. Report the density as 5 g/cm³

Unit guidance

Use a consistent measurement system

Density units depend on the mass and volume units used. Common laboratory combinations include g/cm³, g/mL, and kg/m³.

This calculator displays a selected unit system but does not automatically convert measurements entered in mixed units.

Laboratory guidance

Common density mistakes

  • Dividing volume by mass instead of mass by volume.
  • Mixing incompatible mass and volume units.
  • Using a measured container volume instead of sample volume.
  • Ignoring significant figures in the final result.
  • Rounding intermediate values too early.

Related calculations

Use the Mass to Moles Calculator when converting a measured sample mass into an amount of substance for chemistry calculations.

Use the Measurement Uncertainty Calculator to evaluate uncertainty in experimental mass, volume, and density measurements.

Questions and answers

Calculator FAQ

How is density calculated?

Density is calculated by dividing mass by volume, showing how much mass exists in a given amount of space.

What is the SI unit of density?

The SI unit of density is kilograms per cubic meter (kg/m³).

Why is density important in science?

Density helps identify materials, compare substances, and analyze physical properties in physics, chemistry, and engineering.

Where is density used?

Density calculations are used in laboratories, material science, engineering, chemistry, and physics experiments to study substances.