Density Calculator
Density describes how much mass is packed into a given volume. Choose whether to find density, mass or volume, enter the other two, and the calculator solves for the third in grams and cubic centimeters. Density results are also shown in kg/m³, the SI unit used in engineering tables.
Your numbers
- Density
- 2,500 kg/m³
How to calculate density
Density is mass divided by volume, so the first step is to get both into compatible units. This calculator uses grams for mass and cubic centimeters (cm³, the same as milliliters) for volume, which gives density in g/cm³. To find density, divide the mass by the volume. To find mass, multiply density by volume. To find volume, divide mass by density. Choose the mode in the Find menu and only the two values that mode needs are shown. Results are rounded to four decimal places. Because 1 g/cm³ equals 1,000 kg/m³, the density mode also shows the SI figure, which is what most engineering and materials tables list. A zero volume or zero density returns zero rather than an undefined result.
Density = Mass / Volume | Mass = Density x Volume | Volume = Mass / DensityWorked example. 500 g of a substance occupying 200 cm³ has a density of 2.5 g/cm³ (2,500 kg/m³), a little below aluminium at about 2.70 g/cm³.
Worked examples for mass and volume
To find mass, pick Mass and enter the density and volume. A gold bar of 50 cm³ at 19.32 g/cm³ weighs 50 x 19.32 = 966 g, almost a kilogram in a block smaller than a deck of cards. To find volume, pick Volume and enter mass and density. One kilogram (1,000 g) of olive oil at about 0.91 g/cm³ occupies 1,000 / 0.91 = 1,098.9 cm³, or roughly 1.1 liters, which is why a 1 L bottle of oil weighs less than a kilogram. The same method sizes containers, estimates shipping weights from dimensions, and checks whether a reading of mass and volume matches the material it is supposed to be.
Densities of common materials
These approximate values at room temperature are useful for checking a result. Water is 1.00 g/cm³ (0.998 at 20 °C, and exactly 1 at about 4 °C). Ice is about 0.92, which is why it floats. Olive oil is around 0.91, and seawater about 1.03. Among metals, aluminium is about 2.70, steel about 7.85, copper 8.96, lead 11.34 and gold 19.32 g/cm³. Mercury, a liquid, is about 13.53. Woods vary widely, from about 0.15 for balsa to over 1.0 for some tropical hardwoods. If your calculated density is far from the expected value for a material, the usual cause is a unit mismatch or a hollow or porous sample, not a measurement of a different substance.
Measuring an irregular object and avoiding unit errors
For objects without simple dimensions, measure volume by water displacement. Fill a measuring cylinder partway, note the level, submerge the object fully and note the new level. The difference in mL is the volume in cm³. Weigh the object, then divide. This works for objects that do not absorb water. For an object that floats, hold it just under the surface with a thin pin, which adds almost no volume of its own. The most common mistake is mixing units, for example entering kilograms with cubic centimeters. Convert first: 1 kg is 1,000 g, 1 L is 1,000 cm³, and 1 m³ is 1,000,000 cm³. Note that 1 g/cm³ also equals 1 kg/L and about 62.43 lb/ft³.
Questions people ask
What is the density formula?
Density = mass ÷ volume (ρ = m/V). A 500 g block that takes up 200 cm³ has a density of 500 ÷ 200 = 2.5 g/cm³. Rearrange it to find mass (m = ρ × V) or volume (V = m ÷ ρ).
What units should I use?
Enter mass in grams and volume in cubic centimeters (or milliliters, which are the same size), and density comes out in g/cm³. That unit is numerically equal to kg/L and to g/mL, and multiplying by 1,000 gives kg/m³.
Why do some objects float and others sink?
An object floats in a fluid if its average density is lower than the fluid's density, and sinks if it is higher. That is why most wood (below 1 g/cm³) floats on water (1 g/cm³) while steel (about 7.85 g/cm³) sinks. A steel ship floats because its hollow hull makes its average density lower than water.
What is the density of water?
Pure water is about 1.00 g/cm³, or 1,000 kg/m³. More precisely, it peaks at 0.99997 g/cm³ near 4 °C and is about 0.998 g/cm³ at 20 °C. Seawater is denser, around 1.025 g/cm³, because of dissolved salt.
Does temperature change density?
Yes. Most materials expand when heated, so the same mass takes up more volume and density falls. The effect is small for solids, larger for liquids and very large for gases, so reference tables always state the temperature.
How do I convert g/cm³ to kg/m³?
Multiply by 1,000. A density of 2.5 g/cm³ is 2,500 kg/m³, and steel at 7.85 g/cm³ is 7,850 kg/m³.
Put this calculator on your site
Free to use on any site. Please keep the credit link.
<iframe
id="letmecalc-density-calculator"
src="https://letmecalc.com/embed/science/density-calculator"
title="Density Calculator"
width="100%"
height="620"
style="border:0;max-width:100%"
loading="lazy"
></iframe>
<p><a href="https://letmecalc.com/science/density-calculator" target="_blank" rel="noopener">Density Calculator</a> by letmecalc</p>
<script>
(function () {
var f = document.getElementById("letmecalc-density-calculator");
window.addEventListener("message", function (e) {
if (e.origin !== "https://letmecalc.com") return;
if (!f || e.source !== f.contentWindow) return;
var d = e.data;
if (!d || d.source !== "letmecalc-embed" || d.type !== "resize") return;
if (typeof d.height === "number" && d.height > 0) {
f.style.height = d.height + "px";
}
});
})();
</script>