Density Calculator

Calculate density, mass, or volume from the other two values.

By Konstantin Iakovlev · Updated April 2026 · Source: Khan Academy

Density

2.0000 g/mL

Mass

100.00 g

D = M / V

Density2.0000 g/mL
Mass100.00 g
Volume50.00 mL

Use the Density Calculator above to calculate your results. Enter your values and see instant results — all calculations run in your browser.

Disclaimer: This calculator is for informational purposes only and does not constitute tax, financial, or legal advice. Results are estimates based on the information you provide and current rates. Always consult a qualified tax professional or financial advisor for advice specific to your situation.

How It Works

Give this tool any two of the three quantities, density, mass, or volume, and it returns the third. That small piece of arithmetic carries real weight across disciplines in 2026: materials scientists characterizing new aerospace alloys lean on it, and so do the teams monitoring how pollutants disperse through water bodies. For engineers, scientists, and students working through harder problems, the relationship between these three properties is bedrock.

Everything rests on one equation, Density (ρ) = Mass (m) / Volume (V), which rearranges cleanly to solve for the others: m = ρ * V when you need mass, or V = m / ρ when you need volume. You enter the two values you have, and the calculator selects the right form and keeps the units consistent so the third value comes out correctly.

Units trip people up more than the math does, so confirm you haven't mixed grams with kilograms or milliliters with liters before converting. Watch your significant figures too, since the precision of what you type sets the precision of what you get back. Temperature is the subtler factor: density shifts with it, and for something like a specialized industrial lubricant the figure can move by 0.5% across a 10°C range, which is worth accounting for whenever accuracy is critical.

Example: Quality Control for 2026 Nanomaterial Production

  1. 1 A quality control engineer in 2026 needs to verify the density of a newly synthesized batch of graphene-reinforced polymer. They measure a sample with a mass of 0.015 kg and a volume of 0.0000075 m³ (7.5 cm³).
  2. 2 Using the formula Density = Mass / Volume, the calculation is 0.015 kg / 0.0000075 m³.
  3. 3 The calculated density is 2000 kg/m³.
  4. 4 This calculated density of 2000 kg/m³ for the graphene-reinforced polymer is within the acceptable range for this advanced material, which typically ranges from 1950 kg/m³ to 2050 kg/m³, confirming the batch meets specifications for a new generation of lightweight automotive components. This precise measurement helps ensure the structural integrity and performance of the final product, potentially saving the company $150,000 in material waste if the density were outside the acceptable limits.

Source: Khan Academy · Last updated: April 2026

Frequently Asked Questions

How do I calculate density?
Density equals mass divided by volume. In metric units, water has a density of 1.0 g/cm3, which is a useful reference point. Objects with a density greater than water sink in water, while those with lower density float.
What are common density units?
Common units include g/cm3 (grams per cubic centimeter), kg/m3 (kilograms per cubic meter), and lb/ft3 (pounds per cubic foot). To convert g/cm3 to kg/m3, multiply by 1,000. Water is 1.0 g/cm3, 1,000 kg/m3, or 62.4 lb/ft3.
How does temperature affect density?
Most materials become less dense as temperature increases because they expand. Water is an exception between 0-4 degrees Celsius, where it actually becomes denser as it warms. This is why ice floats and lakes freeze from the top down.