Density Calculator

Calculate density as mass divided by volume.

Density Calculator

Formula

density = mass / volume

Divides mass by volume. Volume must be nonzero. Units must match (for example g and cm³ for g/cm³).

This density calculator computes density = mass ÷ volume. Enter mass and volume in matching units. The result is mass per unit volume.

Lab students and makers use it to identify materials or size shipments by weight. Find volume first with the volume calculator, or solve mass with the mass calculator.

Formula

Density equals mass divided by volume. Larger mass in the same space raises density. Larger volume at the same mass lowers density.

Worked example

Mass 10, volume 2. Density = 10 ÷ 2 = 5.

InputValue
Mass10
Volume2
Density5

How to use the fields

  • Mass is the sample weight in your chosen mass unit.
  • Volume is the space occupied in the matching volume unit.

Unit pairs that stay clear

  • g with cm³ → g/cm³
  • kg with m³ → kg/m³
  • lb with ft³ → lb/ft³

Do not mix kg with cm³ without converting. Write the unit pair beside the result so later readers know the scale.

Lab tips

Dry the sample if moisture is not part of the material you mean to measure. For powders, settle consistently or state bulk density versus true solid density. Displacement works well for odd shapes when you can submerge the object safely.

Common mistakes

  • Using outer carton volume for a partial fill
  • Forgetting to subtract container mass on a scale
  • Comparing densities quoted in different unit systems
  • Treating bulk density as crystal density

Why density helps

Shipping class, buoyancy, and material ID often start with density. A quick mass and volume check filters impossible labels before you order expensive stock.

If two alloys claim similar density, combine the number with hardness or appearance tests rather than relying on density alone.

Measurement workflow

Weigh the sample on a tared scale. Measure volume by geometry or displacement. Divide only after both numbers use consistent units. Record temperature when protocols require it.

For porous materials, decide whether you need envelope volume or skeletal volume. Those choices change density labels even when mass is identical.

Quality and shipping uses

Freight density can influence class and price. Use outer package dimensions for shipping density unless the carrier specifies otherwise. Product solid density is a different number for material science work.

In labs, repeated trials and averaging reduce random error. Report the average density with the method used so others can reproduce the work.

Buoyancy intuition

Comparing sample density with fluid density predicts floating or sinking in that fluid when shapes are simple and surface effects are minor. Coatings and trapped air can still surprise you.

Error sources

Meniscus reading errors, scale drift, and trapped bubbles in displacement tests all move density. If two trials disagree widely, fix the method before trusting a single quotient.

When converting units, convert mass and volume factors carefully. A missed factor of 1000 is a common student error between grams and kilograms or liters and cubic meters.

Teaching lab script

Students can predict whether an object floats, measure mass and volume, compute density, then test the prediction. The calculator speeds the arithmetic so discussion time stays on method and error.

Require unit labels on every answer. A bare 5 without g/cm³ or kg/m³ is incomplete for lab credit and for real shipping paperwork.

Material ID caution

Many alloys share similar densities. Use density as a filter, then confirm with markings, magnetism, or spectrometry when the decision is costly. Never scrap metal based on one rushed quotient.

Displacement detail

When using water displacement, read the meniscus at eye level and use a cylinder sized to the object. A huge cylinder makes small volume changes hard to see. Dry the object if absorbed water would change mass after the test.

For water sensitive materials, use an appropriate displacement fluid and correct for that fluid density if your method requires it.

Reporting template

Mass, volume, density, units, method, and temperature belong on one line in the lab notebook. Future readers should reproduce the work without guessing.

Limitations

The calculator does not convert units or correct for temperature. It divides the two numbers you provide. Keep measurement quality high when decisions depend on small density differences.

Frequently Asked Questions

What does the default example show?

Mass 10 and volume 2 give density 5 in mass per volume units.

What if volume is zero?

Density is undefined. Enter a nonzero volume.

Do I need specific units?

Any consistent pair works. The result unit is mass unit per volume unit.

How do I get mass instead?

Use mass = density × volume on a mass from density tool.

Can density be less than one?

Yes. Many materials float on water when density is below the fluid density in matching units.

Does temperature matter?

Real densities change with temperature. This page uses the numbers you enter only.

Is this the same as specific gravity?

Specific gravity compares density to a reference fluid. Convert separately if needed.

How do I measure volume for an odd object?

Use displacement in a graduated cylinder when geometry is irregular.