Density calculator
Divide the sample mass by the volume it occupies.
Calculator
How to use this calculator
Calculate average density as mass in kilograms divided by volume in cubic meters.
- Enter Mass (kg), Volume (m³). Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Divide mass by volume to calculate density
Density is mass per unit volume. The mass and volume must describe the same object or sample and use the displayed SI units.
Inputs and units
- Mass (kg): Nonnegative mass in kilograms.
- Volume (m³): Positive volume in cubic meters.
Formula and method
Density ρ = mass ÷ volume, giving kg/m³. Since 1 g/cm³ = 1,000 kg/m³, the result can also be expressed in g/cm³.
Worked example
A 3 kg sample occupying 0.002 m³ has density 3/0.002 = 1,500 kg/m³, equivalent to 1.5 g/cm³.
Interpreting the result
For a uniform material, density helps compare how much mass occupies a given volume.
Assumptions and limits
This is an average density over the entered volume. Porosity, voids, temperature, pressure, and nonuniform composition can affect a material’s density.
Method references
Frequently asked questions
Can mass be zero?
Zero mass gives zero density for a positive volume.
Why report g/cm³ as well?
It is a common material-science unit; multiply kg/m³ by 0.001 to convert.
How do I use the Density calculator?
Enter Mass (kg), Volume (m³). Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Density?
A 3 kg sample occupying 0.002 m³ has density 3/0.002 = 1,500 kg/m³, equivalent to 1.5 g/cm³.
What does the Density calculator calculate?
Calculate average density as mass in kilograms divided by volume in cubic meters.
Good calculators show their work.
CalcWorldHub is built around clear inputs and visible assumptions. Results are estimates for planning; check official sources or your provider’s terms when exact figures matter.