Science & Engineering · Physics
Formula verified
Density Calculator
Pick what you want to solve for — density, mass or volume — enter the other two, and this converts everything to consistent units before applying density = mass ÷ volume.
Solve for
On-screen number pad
Tap to type into the highlighted field
Density
1000.00
kg/m³
g/cm³
1.00
lb/ft³
62.43
Step-by-step proofCheck by hand
Ad slot · 970×250 billboard
Ad slot · 300×250
How density, mass and volume relate
Density is mass divided by volume. Every input is first converted to consistent SI base units (kilograms and cubic meters) so the formula itself never has to change — only which of the three quantities it's solving for does, and the same conversion runs in reverse to show the result in the units you asked for.
The formula
density = mass ÷ volume · mass = density × volume · volume = mass ÷ density
Worked example
1 kg of mass occupying 1 liter (0.001 m³) of volume has a density of 1 ÷ 0.001 = 1,000 kg/m³ — exactly the density of water, which is what liters and kilograms were originally defined against.
Frequently asked questions
What's the formula for density?
Density equals mass divided by volume (ρ = m ÷ V). The same formula rearranges to mass = density × volume, or volume = mass ÷ density, depending on which quantity you're solving for.
Why does the result show both kg/m³ and g/cm³?
kg/m³ is the SI unit used in physics and engineering, while g/cm³ is the unit most published material densities (water, metals, wood) are commonly quoted in — showing both means you can compare your result directly against a reference table without converting by hand.
Does this account for temperature or pressure?
No — this is a plain mass-over-volume calculation using whatever mass and volume you enter. A material's actual density does vary with temperature and pressure (this matters most for gases and liquids), so if you're working from a published density figure, make sure it was measured at conditions close to yours.
Sources and method
- Density formula (ρ = m/V) — general published physics.
- Unit conversion factors (kg, g, lb, m³, L, mL, cm³, ft³) — standard published conversion tables.