density calculator

Interactive Density Calculator

Enter any two values and leave the third field blank. The calculator will solve for the missing value using:

Density (ρ) = Mass (m) / Volume (V)

Tip: Use positive values only, and leave exactly one field blank.

What Is Density?

Density describes how much matter is packed into a given amount of space. In physics and engineering, it is one of the most useful material properties because it helps you identify substances, estimate mass, and predict behavior in fluids.

If two objects have the same volume but different masses, the heavier one has the higher density. That is why a steel cube and a wooden cube of the same size feel very different in your hand.

Density Formula

The standard equation is:

  • ρ = m / V (density equals mass divided by volume)
  • m = ρ × V (mass equals density times volume)
  • V = m / ρ (volume equals mass divided by density)

In SI units, density is typically written as kg/m³. In chemistry and practical lab work, g/cm³ and g/mL are also very common.

How to Use This Density Calculator

Step-by-step

  • Enter any two known values: mass, volume, or density.
  • Pick the correct unit for each value using the dropdown menus.
  • Leave the unknown field blank.
  • Click Calculate Missing Value.

The tool automatically converts units behind the scenes, performs the calculation in SI base units, and then returns the result in the unit you selected for the blank field.

Common Unit Conversions You Should Know

  • 1 L = 0.001 m³
  • 1 mL = 1 cm³ = 0.000001 m³
  • 1 g = 0.001 kg
  • 1 g/cm³ = 1000 kg/m³
  • Water at about 4°C has density near 1000 kg/m³ (or 1 g/mL)

If your answer seems off by a factor of 1000, the issue is usually a unit conversion mismatch.

Worked Examples

Example 1: Find Density

A sample has mass = 540 g and volume = 200 cm³. Density = 540 ÷ 200 = 2.7 g/cm³.

Example 2: Find Mass

A liquid has density = 0.79 g/mL and occupies 750 mL. Mass = 0.79 × 750 = 592.5 g.

Example 3: Find Volume

A metal piece has mass = 3.9 kg and density = 7800 kg/m³. Volume = 3.9 ÷ 7800 = 0.0005 m³ (which is 0.5 L).

Why Density Matters in Real Life

  • Engineering: material selection for strength, weight, and performance.
  • Chemistry: identifying unknown substances and checking purity.
  • Construction: estimating load and transportation requirements.
  • Shipping: comparing dimensional volume and actual weight.
  • Everyday science: predicting whether objects sink or float.

Common Mistakes to Avoid

  • Mixing grams with cubic meters without conversion.
  • Entering all three values and expecting recalculation.
  • Using zero or negative volume values.
  • Forgetting that temperature can change density (especially for gases and liquids).

For most classroom and practical calculations, this calculator gives fast, reliable results when inputs are entered with consistent physical meaning and units.

Quick Reference: Typical Densities

  • Air (near sea level): ~1.2 kg/m³
  • Water: ~1000 kg/m³
  • Olive oil: ~910 kg/m³
  • Aluminum: ~2700 kg/m³
  • Steel: ~7850 kg/m³
  • Gold: ~19300 kg/m³

Final Thoughts

A good density calculator saves time and prevents conversion errors. Whether you are doing homework, lab analysis, manufacturing checks, or field estimates, the same core equation applies: density is mass per unit volume. Use the calculator above whenever you need a fast, accurate answer.

🔗 Related Calculators