Physics

Instant, private, and free

Density, Mass & Volume Calculator.

Calculate density and weight from explicit mass, volume, and gravity inputs.

On-device calculationNo signup
01

Set your values

Results update as you type.

Density: 2,500 kg/m³

Density

0.000000kg/m³
Weight: 98.0665 N

Weight

0.000000N

Results update automatically as you type.

Use Cases

Identify unknown materials

By calculating density, you can compare it to known values to guess what a substance is. Useful in chemistry, geology, or recycling.

Example: A sample has mass 2 kg and volume 0.001 m³, density = 2000 kg/m³, suggesting ceramic or stone.

Design and engineering calculations

Engineers use density and weight to determine material requirements, structural loads, or buoyancy. Adjust gravity for different environments.

Example: Calculate the weight of a 5 kg object on the Moon (gravity 1.62 m/s²) to design a lunar rover.

Frequently Asked Questions

How do I calculate density using this calculator?
Enter the mass in kilograms and the volume in cubic meters. The calculator divides mass by volume to give density in kg/m³. Ensure both values are positive and in the correct units.
What is the weight calculated from?
Weight is calculated by multiplying the mass (in kg) by the gravity value (in m/s²). The default gravity is Earth's standard 9.81 m/s², but you can adjust it for other planets or conditions.
Can I use this calculator for any material?
Yes, as long as you have the mass and volume. It works for solids, liquids, gases, and even irregular objects if you know their volume. The density result helps identify materials or check purity.

Tips & Common Mistakes

Tips

  • Ensure mass is in kilograms and volume in cubic meters to get density in kg/m³. Convert if needed.
  • For weight, use the standard gravity 9.81 m/s² on Earth, but change it for other planets or acceleration scenarios.
  • If you have density and need mass or volume, rearrange the formula: mass = density × volume, volume = mass ÷ density.
  • Double-check your volume measurement for irregular shapes; use water displacement or integration for accuracy.

Common Mistakes to Avoid

  • Using grams or liters without converting to kg and m³, leading to incorrect density values.
  • Forgetting to adjust gravity when calculating weight on other celestial bodies, resulting in wrong force values.
  • Entering zero or negative values for mass or volume, which are physically meaningless and cause errors.

Last updated: August 13, 2026