Calculate density, mass or volume from the other two.
Calculated locally in your browser.
How do you calculate density?
Density = Mass ÷ Volume (ρ = m ÷ V). Rearranged, mass = ρ × V and volume = mass ÷ ρ, so entering any two values finds the third. Keep units consistent, since 1 g/cm³ equals 1000 kg/m³. For example, 100 g in 50 cm³ gives a density of 2 g/cm³.
Understanding your result
Keep units consistent; 1 g/cm³ equals 1000 kg/m³.
Formula and method
Density = Mass ÷ Volume. So mass = ρ × V and volume = mass ÷ ρ.
Assumptions and limitations
It uses the relationship density equals mass divided by volume and assumes a uniform object at a single condition. It does not adjust for how a material's density changes with temperature or pressure, and you must keep units consistent, remembering that 1 g/cm³ equals 1000 kg/m³.
Worked example
100 g in 50 cm³ gives a density of 2 g/cm³.
How to use this tool
- Enter any two of density, mass and volume.
- Leave the value you want to find blank.
- Press Calculate to solve for the third.
Common mistakes to avoid
- Mixing millilitres with cubic centimetres incorrectly (they are equal for water).
About the Density Calculator
Find density, mass or volume using the relationship density = mass ÷ volume.
Who should use this tool
Chemistry and physics students, hobbyists identifying materials, and makers who know two of density, mass and volume and need the third worked out, whether checking if an object will float or comparing how heavy a material is for its size.
Benefits
- Finds density, mass or volume from the other two
- Handles the full density, mass and volume relationship
- Helps predict whether an object floats or sinks
- Works free in the browser with no account
Practical use cases
- Identifying a metal by comparing its density
- Checking whether an object will float in water
- Solving a chemistry problem involving mass and volume
- Finding the mass of a known volume of material
Explore all Science and Engineering tools
Frequently asked questions
Is mL the same as cm³?
Yes, 1 millilitre equals 1 cubic centimetre.
Is a millilitre the same as a cubic centimetre?
Yes, one millilitre is exactly equal to one cubic centimetre, so the two are interchangeable for volume. This makes density in grams per millilitre the same figure as grams per cubic centimetre, which is convenient when your volume is measured in a measuring cylinder in millilitres.
How do I convert between g/cm³ and kg/m³?
Multiply a density in grams per cubic centimetre by 1000 to get kilograms per cubic metre, since 1 g/cm³ equals 1000 kg/m³. Water, for instance, is about 1 g/cm³ or 1000 kg/m³. To go the other way, divide by 1000.