What is the density formula, and which volume counts?
Two cubes of equal size can show very different masses on a balance. Comparing equal volumes reveals a material property; mass alone does not. Conversely, a large piece of light foam can have more mass than a small metal object. Start by comparing mass per volume, then establish which volume belongs to the system under study.[1]
defines average mass density for the chosen mass and volume . For homogeneous material under identical conditions, differently sized samples have the same ratio. For a composite body, it may be only an overall average. Density is neither mass nor weight.[1]
Using a single material density in m = ρV assumes homogeneity; the final rearrangement requires ρ > 0.
A small dense metal body can have less mass than a large low-density foam body. In an original comparison, 10 cm3 at 8 g/cm3 has mass 80 g, while 1000 cm3 at 0.1 g/cm3 has mass 100 g. The denser object is lighter here.
Equal volume, different mass
Free with a Quanta account. Your download stays ready after registration.
A definition rather than a proof of a physical law
Density is defined as a ratio, not proved from a motion law. With uniform ρ and material conditions, multiplying by a subvolume gives its mass. Doubling mass and volume together leaves the ratio unchanged. Compressing a fixed mass changes volume and thus density.
Local continuum density may vary in space; the integral sums masses of small volume elements.
For a more detailed description, imagine dividing a body into small volume elements. Each should still contain enough particles for its average density to be meaningful. Density may then differ between locations, for instance within a wall containing cavities. For the whole body, remains average density. It need not equal density at every location. Treating density as a smooth field is called a continuum model.
Calculating mass and volume: converting g/cm3 to kg/m3
Each of the three spatial dimensions contributes a factor 10−2.
1 mL equals 1 cm3; 1 L equals 1000 cm3 or 10−3 m3. Use either grams with cubic centimetres or kilograms with cubic metres. Do not relabel kg/cm3 as kg/m3 without conversion. 2.5 g/cm3 equals 2500 kg/m3, not 0.0025 kg/m3.
A balance measures mass; dimensions can provide volume. For a cube, : edge-length error therefore contributes three times its relative size to volume error in the linear approximation. Many decimal places in a density value do not replace precise measurement.
How do you measure density using dimensions or displacement?
Density of a geometric body
- Given
- Cube edge 4.0 cm; mass 172.8 g. All measurements refer to the same body.
- Find
- Find average density in g/cm3 and kg/m3.
Approach: Use cube geometry for total volume and then determine the same body’s average density.
Calculate volume from edge length.
Divide mass by volume.
Convert to SI units.
Result: Average density in this calculation is 2.7 g/cm3 or 2700 kg/m3.
Check: Back-substitution: 2700·6.4·10−5 kg = 0.1728 kg. The value is consistent with aluminium but does not uniquely identify material.
Measuring an irregular body by displacement
- Given
- Body mass 500 g; liquid readings 350 mL before and 550 mL after immersion. The body is fully submerged, insoluble and nonabsorbing, with no trapped air bubbles.
- Find
- Find volume and average density.
Approach: For complete bubble-free immersion without absorption, the volume-reading difference equals body volume; divide mass by that volume.
Subtract liquid readings.
Divide mass by displaced volume.
Find SI density.
Result: Displaced volume is 200 cm3; average density is 2500 kg/m3.
Check: Back-substitution: 2500·0.0002 = 0.5 kg. An assumed volume error of ±2 cm3 with unchanged mass gives a ratio between about 2475 and 2525 kg/m3.
What density do hollow bodies and mixtures have?
For a sealed hollow object, external volume includes the enclosed cavity. Average density may be far below wall-material density. For open pores, displacement depends on whether liquid enters them. Material volume, envelope volume and interparticle spaces in bulk material must not be confused.
Original hollow-body comparison: 60 g of wall material enclosed in an external volume of 100 cm3 gives body density 0.60 g/cm3. That does not establish wall-material density, which requires actual material volume.
Use measured total volume; it need not equal V1 + V2.
Only additive component volumes give . Even then, the arithmetic density mean applies only to equal component volumes. Equal masses require different weighting. Mixing liquids can change volume; use actual mixture volume in that case.
How are density, temperature and pressure related?
Density is not an immutable material number under all conditions. At fixed mass, increasing volume lowers density. With , density becomes within the thermal volume-expansion approximation. Phase changes or large temperature intervals require more. Linear thermal expansion concerns a length first; for freely expanding isotropic material and small changes, approximately . Do not equate the length and volume coefficients unchanged.[2]
Water is a counterexample to the claim that heating always lowers density: between roughly 0 and 4 °C, liquid-water density increases under ordinary pressure conditions. Read tabulated densities with temperature, pressure and, where relevant, material state.[2]
For an ideal gas this follows from pV = nRT and m = nM. p is absolute pressure in Pa, M molar mass in kg/mol and R the molar gas constant in J/(mol·K); use kelvins for T.[3]
At unchanged pressure and composition, doubling absolute temperature halves ideal-gas density. At fixed volume and particle number, density stays constant while pressure rises. Boundary conditions, not temperature alone, decide. The ideal gas law supplies the state relation used here, with absolute pressure and temperature in kelvins.[3]
When does a body float, and how much volume is submerged?
For free flotation in static equilibrium without other vertical forces, buoyancy balances weight. In homogeneous liquid, . With body average , submerged volume fraction is when this ratio is below one.[4]
The original sealed 60 g body of external volume 100 cm3 would be 60% submerged by volume in water modelled at 1 g/cm3. That is not automatically 60% of its height; shape determines the volume–height relationship.
Density alone does not settle cases involving surface tension, external support, strongly stratified fluid or a body filling with liquid. Material identification also needs more than one density number: alloy composition, pores, temperature and uncertainty can yield similar results.
Five problems with solutions
Calculate · Foundation
A sample has mass 84 g and volume 12 cm3. Find density in both common units.
Show hint
First calculate in g/cm3.
Learning goal: Calculate mass density and convert units.
Show solution and calculation
Approach: Average density is mass divided by the corresponding volume.
Grams and cubic centimetres may be used together here; then multiply by 1000 for SI.
Result: 7 g/cm3 or 7000 kg/m3.
Check: Density times 12 cm3 reproduces the original 84 g.
Rearrange · Foundation
Find mass for 2.5 L at density 800 kg/m3.
Show hint
Convert litres to cubic metres.
Learning goal: Find mass from density and volume.
Show solution and calculation
Approach: Rearrange for mass and convert volume to cubic metres before substitution.
Result: 2 kg.
Check: Two kilograms in 2.5 litres correspond to 0.8 kg per litre, matching the given density. Conversion changes units, not physical mass.
Transfer · Application
Two incompressible components with additive volumes each have 100 cm3 and densities 2 and 4 g/cm3. Find overall average density.
Show hint
Add masses and divide by total volume.
Learning goal: Find composite density from additive masses and volumes.
Show solution and calculation
Approach: Calculate each component’s mass, then divide total mass by the additive total volume.
Result: 3 g/cm3.
Check: This lies between both component densities. It equals their arithmetic mean here because component volumes are equal; equal masses would not generally justify that average.
Interpret · Application
A closed body expands by 5% in volume while mass stays constant. Initial density is 1000 kg/m3. Find its new average density. Is an exact 5% reduction correct?
Show hint
New density is inversely proportional to new volume.
Learning goal: Interpret density change during mass-conserving expansion.
Error analysis · Application
Two components each have mass 1.00 kg and densities 1000 and 2000 kg/m3. Their volumes add. A solution averages densities to 1500 kg/m3. Check and correct it.
Show hint
Equal masses imply unequal volumes here.
Learning goal: Use correct mass and volume weights for average density.
Show solution and calculation
Approach: first calculate component volumes : 0.001 and 0.0005 m3.
Dividing total mass 2 kg by 0.0015 m3 gives 1333.33 kg/m3.
The arithmetic density mean would fit equal component volumes, which are not supplied here.
Check: overall density lies between both component densities and reconstructs their combined volume.
Key points
Density relates the mass and volume of the same object. Convert both quantities to consistent units and distinguish mean from local density. For composite objects, total mass and total volume determine mean density; simply averaging material densities is insufficient.
Sources for this explanation
Quanta · Updated October 1, 2026
- OpenStax, University Physics 1 §14.1: Fluids, Density, and Pressure
- OpenStax, University Physics 2 §1.3: Thermal Expansion
- OpenStax, University Physics 2 §2.1: Molecular Model of an Ideal Gas
- OpenStax, University Physics 1 §14.4: Archimedes’ Principle and Buoyancy
Editorial responsibility: Quanta Study editorial team
Review scope
This explanation, 2 worked examples and 5 exercises are available in German and English. Structure, source references and mathematical notation undergo automated checks. Calculations, model assumptions and both language versions receive a separate AI review.
An internal human subject review is documented for an earlier release of this page. That confirmation does not apply automatically to the revised explanation and new exercises.
An independent, named human subject review has not yet been documented. Our exercise numbers are worked examples, rather than measurements published by the cited sources.
Editorial responsibility, sources and methodsChange history
- Made the density definition, rearrangements, volume choice, measurement and flotation accessible through precise headings; retained hollow-body and measurement examples and linked the gas law, limited thermal-expansion model and buoyancy in context.
- Added two exercises; labelled all five by task type, difficulty and learning goal.
- Revised the learning introduction and solution paths; independently checked model assumptions and calculations against primary sources.
Cite this reference page
Quanta. Density. Updated October 1, 2026. https://quanta-study.de/en/formula-sheet/dichte
When citing a specific scientific statement, also cite the specialist source linked to that statement.