100% Free No Sign-Up Unlimited Use No Limits Secure & Private
PDF Tools Calculators Categories Guides Contact No Sign-Up Needed to Use This Site
Result
--
Enter values to calculate.
Summary
--
Waiting for input
Detail
--
Waiting for input

Calculate density from a substance's mass and volume — a fundamental physics and chemistry formula used across science, engineering, and material identification.

How It Works

How Density Calculator Works

Density is defined as mass divided by volume (density = mass ÷ volume). The calculator performs this single division directly on whatever mass and volume values you enter, so the result's unit depends entirely on the units you used for your inputs — commonly grams per cubic centimeter or kilograms per cubic meter.

Worked Example

See It In Action

A sample with a mass of 750 grams and a volume of 250 cm³ has a density of 3 g/cm³ (750 ÷ 250).
Real-World Use Cases

Who Uses Density Calculator and Why

  • Identifying an unknown material by comparing its calculated density to a reference chart of known substances.
  • Checking whether an object is likely solid or hollow by comparing its measured density to the expected density of its stated material.
  • Working through a chemistry or physics homework problem that gives mass and volume and asks for density.
  • Estimating whether an object will float or sink in water by comparing its density to water's roughly 1 g/cm³.
Common Mistakes

Mistakes to Avoid

  • Mixing mismatched units, like entering mass in grams but volume in liters instead of milliliters — the calculator just divides the two numbers you enter, so mismatched units produce a numerically correct but physically meaningless result.
  • Entering a volume of zero or leaving it blank, which makes the result undefined since density can't be calculated by dividing by zero.
  • Confusing density with specific gravity — density carries units (like g/cm³), while specific gravity is a unitless ratio comparing a substance's density to water's.
Pro Tips

Tips for Best Results

  • Pair grams with cubic centimeters, or kilograms with cubic meters, to keep the result in a standard, easily comparable unit.
  • If you're trying to identify a material, compare your result to a standard density reference table rather than guessing — water (~1 g/cm³), aluminum (~2.7 g/cm³), and steel (~7.8 g/cm³) are common comparison points.
Troubleshooting

Fixing Common Problems

I'm getting an error or undefined result. — Check that you entered a nonzero, positive volume — density is undefined when volume is zero, since that requires dividing by zero.

My calculated density doesn't match the known density of the material I think I'm measuring. — Recheck your unit pairing (grams with cm³, or kilograms with m³) — a mismatched unit pair is the most common cause of a result that's off by a large, suspicious factor like 1,000.

Glossary

Terms Explained

Density: A measure of mass per unit volume (mass ÷ volume), commonly expressed in g/cm³ or kg/m³.

Specific gravity: A unitless ratio comparing a substance's density to the density of water, used to describe how much denser or lighter something is than water.

FAQ

Frequently Asked Questions

Why is it important to keep units consistent?
Since the calculator simply divides the two numbers you enter, mixing units (like grams with liters instead of milliliters) produces a numerically correct but physically meaningless result — always use a matched mass/volume unit pair, like grams and cubic centimeters, or kilograms and cubic meters.
What is the difference between density and specific gravity?
Density is mass per unit volume in absolute units (like g/cm³), while specific gravity is a unitless ratio comparing a substance's density to that of water — the two are closely related but expressed differently.
What does it mean if I get an error for zero volume?
Density is undefined when volume is zero, since you can't divide by zero — double check that you've entered a real, positive volume value.