Density Calculator

The density calculator solves the relationship between mass, volume, and density. Use it to find density from a known mass and volume, find mass from density and volume, or find volume from density and mass. The calculator supports metric, imperial, laboratory, and everyday units, then converts internally to kilograms and cubic metres so the formulas stay consistent.

Calculate density, mass, or volume

How to Use

  1. Select Find Density, Find Mass, or Find Volume depending on the unknown quantity.
  2. Enter the known values using the labels shown in the active panel.
  3. Choose the correct mass, volume, or density units before calculating.
  4. Click Calculate to convert values to base units and solve the formula.
  5. Use the secondary result cards to compare common units such as g/cm^3, kg/m^3, litres, kilograms, and pounds.

Density Formula

Density = Mass / Volume
rho = m / V
Mass = Density x Volume
Volume = Mass / Density

Density is the amount of mass packed into a given volume. In symbols, density is often written with the Greek letter rho, but the calculation is simple: divide mass by volume. In SI units, mass is measured in kilograms, volume in cubic metres, and density in kg/m^3. In laboratories and material tables, density is often shown in g/cm^3. The conversion is direct: 1 g/cm^3 equals 1000 kg/m^3. Water at ordinary conditions is close to 1 g/cm^3, making it a useful reference point.

The calculator converts all mass values to kilograms and all volume values to cubic metres before solving. This avoids errors from mixing grams with litres, pounds with cubic feet, or millilitres with cubic inches. After the base calculation, it converts the answer back into common display units. Unit consistency is especially important in science experiments, shipping calculations, material selection, and fluid measurements because density changes by factors of 1000 when cubic centimetres and cubic metres are confused.

Worked Example

A gold bar measures 10 cm x 4 cm x 2 cm, so its volume is 10 x 4 x 2 = 80 cm^3. Gold has a density of about 19.32 g/cm^3. Mass = density x volume = 19.32 x 80 = 1545.6 g. Converting grams to kilograms gives 1545.6 / 1000 = 1.546 kg.

This small bar is heavy because gold atoms are packed densely. A pine wood block of the same volume at about 0.55 g/cm^3 would have a mass of only 44 g. The contrast explains why equal-sized objects can feel completely different in the hand even when their dimensions are identical.

Density of Common Materials

MaterialDensity (g/cm^3)Notes
Air at sea level0.00129At 15 deg C
Cork0.24Floats on water
Wood (pine)0.55Floats on water
Water1.00Reference material
Brick1.84Sinks in water
Aluminium2.70Lightweight metal
Iron / Steel7.87Common metal
Copper8.96Electrical wiring
Lead11.34Very dense
Mercury13.53Liquid metal
Gold19.32Precious metal
Platinum21.45Densest common metal
Osmium22.59Densest element
Glass2.5Sinks in water
Concrete2.3Sinks in water

Why Density Matters

Density connects measurement with physical behavior. A material less dense than water tends to float in water, while a denser material tends to sink, provided shape and trapped air do not dominate. That is why cork floats easily, steel normally sinks, and a steel ship can still float because its hull encloses a large volume of air. Engineers use average density, not just the density of the metal, when designing floating structures. The same idea helps explain life jackets, submarines, hot air balloons, and hydrometers.

Density is also a practical way to identify materials and check quality. A jeweller can compare the mass and volume of a metal object with known densities to test whether it is likely to be gold, silver, or a plated substitute. A lab technician can use density to prepare solutions, verify concentration, or convert between volume and mass. In manufacturing, density affects packaging, transport cost, strength-to-weight ratio, thermal behavior, and whether parts meet specification. Because temperature can change volume, high-precision density work should record temperature and calibration conditions.

FAQ

What is density and how is it measured?

Density is mass per unit volume. It tells you how much matter is packed into a particular space. Common units are kg/m^3 in SI work and g/cm^3 in laboratory tables. To measure density, measure the mass with a balance and measure the volume by dimensions, displacement, or a calibrated container. Then divide mass by volume. For regular solids, volume can be calculated from length, width, and height. For irregular solids, water displacement is often easier if the material does not dissolve or absorb water.

Why does oil float on water?

Oil floats on water because most common oils have lower density than water and do not mix well with it. Water is about 1.0 g/cm^3, while many cooking oils are around 0.90 to 0.93 g/cm^3. The less dense liquid rises above the denser one under gravity. Surface tension and viscosity can affect how the layers look, but density is the main reason the oil layer stays on top. If a liquid is denser than water, such as mercury, it settles below water instead.

What is specific gravity?

Specific gravity is the ratio of a material's density to the density of a reference substance. For liquids and solids, the reference is usually water. A specific gravity of 1 means the material has the same density as water. A value less than 1 means it is less dense and may float; a value greater than 1 means it is denser and may sink. Because it is a ratio, specific gravity has no unit. It is widely used in battery testing, brewing, geology, and fluid quality checks.

What is the densest element?

Osmium is commonly listed as the densest naturally occurring element, with a density around 22.59 g/cm^3 at room temperature. Iridium is very close and may vary slightly depending on measurement conditions and crystal structure. Both are much denser than lead, gold, or platinum. Density values can change with temperature, pressure, purity, and material form, so reference tables give standard-condition values. For everyday comparison, osmium is about 22 times denser than water and much heavier than a similar-sized piece of steel.

How is density used in material science?

Material scientists use density to compare materials for strength, weight, processing, and performance. Aerospace parts need high strength with low density, so aluminium, titanium, and composites are often preferred over heavier metals. Civil engineers consider concrete density for structural loads. Battery researchers care about energy density because it affects how much energy can be stored in a given mass or volume. Density also helps identify porosity, defects, alloy composition, and whether a manufactured part matches specification. It is a simple measurement with wide engineering value.