Calculate volume-weighted mixture density or the mean and sample standard deviation of repeated density measurements.

Assumes component volumes are additive. Actual mixing can change volume.

Third component

Calculator Functions

FunctionWhat it doesWhat it requires
Mixture of componentsFinds the average density of two or three substances combinedRequires the density and volume of each component
Density from mass and volumeFinds the average density of an object or sampleRequires the total mass and the total volume
Mass from density and volumeFinds the mass of a known volumeRequires the density and the volume
Volume from mass and densityFinds the volume a known mass takes upRequires the mass and the density
Mean of density trialsAverages repeated density measurements of one material and reports their spreadRequires 2 to 20 measured densities in one unit

Density can be entered and shown in kg/m³, g/cm³, g/mL, g/L or lb/ft³, mass in kilograms, grams or pounds and volume in liters, milliliters, cubic meters or cubic feet. The third component of a mixture is optional.

Average Density Formulas

D = (D₁ × V₁ + D₂ × V₂ +
D₃ × V₃) ÷ (V₁ + V₂ + V₃)
DAverage density of the mixture
D₁ D₂ D₃Density of each component
V₁ V₂ V₃Volume of each component

Average density is total mass divided by total volume. Each density times its volume is the mass of that component, so the top line adds up the mass and the bottom line adds up the volume. The result is weighted by volume: a component that fills more of the mixture pulls the average toward its own density. Adding the densities and dividing by how many there are gives the right answer only when every component has the same volume.

Mixture of components

The main formula applies directly. Three components of 10, 5 and 2 g/L with volumes of 2, 5 and 1 L average (10 × 2 + 5 × 5 + 2 × 1) ÷ (2 + 5 + 1) = 47 ÷ 8 = 5.875 g/L. One liter at 1,000 kg/m³ combined with one liter at 789 kg/m³ averages 894.5 kg/m³. The calculator also shows each component’s mass, its share of the volume and how far the result sits from the plain average of the densities.

Density from mass and volume

D = m ÷ V

Here m is the total mass and V the total volume. An object with a mass of 2 kg and a volume of 1 L has an average density of 2,000 kg/m³, or 2 g/cm³. This is the form to use for a planet, a rock with pores or any object that is not the same material throughout.

Mass from density and volume

m = D × V

Two liters of a liquid at 1,000 kg/m³ have a mass of 1,000 × 0.002 = 2 kg.

Volume from mass and density

V = m ÷ D

A 5 kg sample with a density of 2,500 kg/m³ takes up 5 ÷ 2,500 = 0.002 m³, which is 2 L.

Mean of density trials

Mean = (d₁ + d₂ + … +
dₙ) ÷ n [1]

This function is for repeated measurements of the same material, such as three lab trials. Every trial counts equally. The mean is the sum of the measurements divided by their number [1], and the sample standard deviation is s = √[Σ(d − mean)² ÷ (n − 1)] [2]. Trials of 0.998, 1.002 and 1.000 g/mL have a mean of 1.000 g/mL and a sample standard deviation of 0.002 g/mL. The count, the lowest value and the highest value are listed too. Do not use this function to combine different materials. That is a mixture, and it needs the volume-weighted formula.

How to Find Average Density

Divide the total mass by the total volume. When the masses are not known, multiply each component’s density by its volume to get its mass, add the masses, and divide by the sum of the volumes. For two liquids of equal volume the answer is halfway between their densities. For unequal volumes it sits closer to the density of the liquid there is more of.

Limits of This Estimate

  • The mixture formula assumes the volumes simply add. Some liquids shrink or expand slightly when mixed, and the real density then comes from the total mass divided by the measured final volume.
  • Density changes with temperature and, for gases, with pressure. Use component densities taken at the same conditions.
  • The sample standard deviation describes the scatter between trials. It is not the uncertainty of the mean.

Sources