Density Calculator
Calculate density, mass, or volume by entering the other two values. Choose familiar units and review helpful conversions for your result.
Enter your measurements
Your result
Results use standard unit conversions. Material comparisons are approximate; use measured or manufacturer data for critical engineering work.
Density formula
Density describes how much mass is contained in a given volume. The standard relationship is:
Density (ρ) = Mass (m) ÷ Volume (V)
Rearrange the formula to find another quantity: Mass = Density × Volume, or Volume = Mass ÷ Density. The SI unit for density is kilograms per cubic metre (kg/m³).
Common reference densities
These are approximate values for general comparison. Actual values depend on material grade, temperature, pressure, and composition.
| Material | Approximate density |
|---|---|
| Air (near room conditions) | 1.2 kg/m³ |
| Water | 1,000 kg/m³ |
| Cooking oil | 900–930 kg/m³ |
| Concrete | 2,400 kg/m³ |
| Aluminium | 2,700 kg/m³ |
| Steel | 7,850 kg/m³ |
| Gold | 19,300 kg/m³ |
Worked example
If a sample has a mass of 2 kg and a volume of 0.001 m³, its density is 2 ÷ 0.001 = 2,000 kg/m³. Make sure the mass and volume units are converted consistently before interpreting a result.
How to use this calculator
- Choose whether to calculate density, mass, or volume.
- Enter the other two known values and select their units.
- Press Calculate to view the result and density conversions.
- Use Copy results to save the displayed figures to your clipboard.
Frequently asked questions
What is the formula for density?
Density equals mass divided by volume: ρ = m ÷ V. Mass is usually measured in kilograms or grams, while volume may be measured in cubic metres, litres, or cubic centimetres.
What is the SI unit of density?
The SI unit is kilograms per cubic metre (kg/m³). Grams per cubic centimetre (g/cm³) and kilograms per litre (kg/L) are also common.
Can I calculate mass or volume instead?
Yes. Select Mass to calculate mass from density and volume, or select Volume to calculate volume from mass and density.
Is water always exactly 1,000 kg/m³?
1,000 kg/m³ is a convenient benchmark. Water density changes slightly with temperature and dissolved substances; use a reference value appropriate to your conditions for precise work.
Why do units matter?
The formula only gives a meaningful result when the selected units are converted correctly. This calculator converts the entered values to base units before calculating.