What is density?

Density is how much mass is packed into a given volume. Two blocks can be exactly the same size yet feel completely different in the hand - a block of oak wood is light, a block of lead the same size is startlingly heavy - and the difference is density. This density calculator turns that idea into the density formula, ρ = m/V, and solves it in any direction: give it mass and volume to get density, density and volume to get mass, or mass and density to get volume. The Greek letter ρ (rho) is the standard symbol, mass is usually written m, and volume V.

Density is a property of the material itself, not of the particular lump you happen to hold. A gold ring and a gold bar share the same density of 19.32 g/cm³ because both are gold all the way through; cutting a sample in half halves its mass and its volume together, leaving the ratio unchanged. That is what makes density so useful: measure any convenient sample, and the number identifies the material, predicts the mass of any other amount of it, and tells you whether it will float or sink. This page is a density mass volume calculator in the full sense - all three quantities, in metric and imperial units, with a built-in density of materials chart for instant reference values.

The density formula: ρ = m/V

Quick answer: The density formula is ρ = m/V - density equals mass divided by volume. Rearranged, mass is m = ρ × V and volume is V = m/ρ. With mass in grams and volume in cubic centimetres, density comes out in g/cm³; with kilograms and cubic metres, in kg/m³.

The three forms are one relationship, sometimes drawn as a triangle with m at the top and ρ and V side by side at the bottom: cover the quantity you want and the triangle shows the operation. Cover m and you see ρ × V; cover V and you see m over ρ; cover ρ and you see m over V. Students meeting the formula for the first time often memorise the triangle, but the algebra underneath is the same rearrangement this calculator performs, and the results breakdown on this page always shows which form was used and the exact numbers substituted into it, so the working can be followed rather than trusted blindly.

One warning belongs with the formula itself: it only works when the three quantities describe the same sample. The mass of the whole object with the volume of half of it gives a meaningless answer, and mixing the mass in grams with a volume in litres without converting quietly introduces a factor of 1,000. The unit pickers above exist to make that class of error impossible - every input is converted to kilograms and cubic metres first, the calculation happens once, and the answer is converted back into the units you chose.

How to calculate density, step by step

Learning how to calculate density is mostly preparing the numbers before dividing. Step one: measure the mass - weigh the object on a balance or scale, in grams or kilograms. Step two: measure the volume - for a regular solid, multiply length by width by height; for an irregular solid, use water displacement; for a liquid, read the container. Step three: convert to a matching pair of units - grams with cubic centimetres or millilitres, kilograms with cubic metres. Step four: divide mass by volume. This calculator does steps three and four and shows the converted values it used, so you can audit any answer.

A complete hand example: a metal cube weighs 500 grams and measures 250 cm³ in volume. Density = 500 ÷ 250 = 2.00 g/cm³. In SI units the same sample is 0.5 kg in 0.00025 m³, and 0.5 ÷ 0.00025 = 2,000 kg/m³ - the same density, because 1 g/cm³ is exactly 1,000 kg/m³. That figure sits between aluminium and the lighter alloys in the chart below, which is the kind of first clue density gives about an unknown metal. The calculator starts with exactly these values so you can check it instantly.

Worked examples you can check

Example one - density from mass and volume. Mass 500 g, volume 250 cm³. Divide: 500 ÷ 250 = 2.00 g/cm³ = 2,000 kg/m³. Example two - mass from density and volume. An aluminium part has a density of 2.70 g/cm³ and a volume of 100 cm³. Multiply: 2.70 × 100 = 270 g. If a supplier quotes the same part in steel at 7.87 g/cm³, the identical shape would weigh 787 g - density is why material choice changes weight even when the design does not change at all.

Example three - volume from mass and density. You have 1,000 g of a light oil with a density of 0.80 g/mL and need to know whether it fits a one-litre bottle. Divide: 1,000 ÷ 0.80 = 1,250 mL - it does not fit; you need a container of at least 1.25 litres. The three modes of this calculator are one equation read in three directions, and they must agree: feeding the answer of one mode back into another returns the starting numbers, which is the simplest possible check that the rearrangements are correct. Try it with any row of the materials chart - pick gold, multiply 19.32 g/cm³ by 10 cm³ to get 193.2 g, then divide 193.2 g by 19.32 g/cm³ and you are back at exactly 10 cm³.

Finding mass from density and volume

To find mass from density and volume, multiply: m = ρ × V. This is the direction engineers use most, because designs usually fix the volume - the size and shape of a part, a tank, a slab - and the question is what it will weigh. A concrete slab, a tank of fuel, a shipment of grain: in each case the volume is known from drawings or container sizes, the density comes from a chart like the one on this page, and the product is the mass that floors, axles, pumps and budgets must handle. Work in a consistent pair of units - g/cm³ with cm³ gives grams; kg/m³ with m³ gives kilograms - and the multiplication needs no conversion factor at all.

The same direction answers everyday questions. How heavy is a full 20-litre jerry can of petrol? Petrol at 0.737 g/cm³ is 737 kg/m³, and 20 litres is 0.020 m³, so the fuel alone is 737 × 0.020 = about 14.7 kg, before the can itself. How much does the water in a 500-litre tank weigh? Water at 1,000 kg/m³ times 0.5 m³ is 500 kg - half a tonne, which is why large water tanks belong on properly supported ground, not on an ordinary floor. Density turns a volume you can picture into a weight you must respect.

Finding volume from mass and density

The third direction, V = m/ρ, answers the container questions: how much space will a known mass of material take up? Divide the mass by the density, keeping units consistent. A kilogram of gold at 19.32 g/cm³ occupies only 1,000 ÷ 19.32 = about 51.8 cm³ - roughly a matchbox - while a kilogram of oak at about 0.72 g/cm³ occupies about 1,389 cm³, nearly twenty-seven times as much room. Shipping, storage and packaging all live in this direction of the formula: freight is charged by whichever is greater, the actual mass or the space taken, precisely because low-density goods fill vehicles long before they reach the weight limit.

Volume-from-density is also how displacement measurement works in reverse. If an object weighs 270 g and a chart says its material is aluminium at 2.70 g/cm³, its volume must be 100 cm³; submerge it and the water level should rise by exactly 100 mL. If it rises by noticeably more, the object is not solid aluminium - it may be hollow, or a different material with a coating. Jewellers, scrap buyers and quality inspectors all use this cross-check, because density ties mass and volume together tightly enough that any lie in one of them shows up in the other.

Units and conversions: kg/m³, g/cm³, g/mL and lb/ft³

The SI unit of density is the kilogram per cubic metre (kg/m³): water is 1,000, air at sea level is about 1.2, and the metals run from 2,700 for aluminium to 19,320 for gold. Schools and laboratories usually work in grams per cubic centimetre (g/cm³), where the same values read 1.000, 0.0012, 2.70 and 19.32 - smaller numbers for bench-scale work. Because one cubic centimetre is exactly one millilitre, g/mL is numerically identical to g/cm³ and is the natural unit for liquids measured in graduated glassware. US engineering still uses pounds per cubic foot (lb/ft³): water is about 62.43 lb/ft³ and aluminium about 168.6 lb/ft³.

The conversion factors used on this page are exact or standard: 1 g/cm³ = 1,000 kg/m³ exactly; 1 lb/ft³ = 16.0184634 kg/m³; 1 lb = 0.45359237 kg exactly; 1 US gallon = 3.785411784 litres exactly; 1 cubic foot = 28.316846592 litres. The classic errors in density work are almost all unit errors - grams divided by litres, pounds treated as kilograms, cubic feet treated as cubic metres - producing answers out by factors of 1,000, 2.2 or 35 that can still look plausible. Choosing units from the pickers above, and reading the substitution line in the results, removes that whole class of mistake. For general unit work beyond density, the site also offers a full unit converter among its math tools.

Density of materials chart

The table below is the density of materials chart built into the calculator above - clicking a material there loads its density into the tool. Values are typical reference values near room temperature; the notes after the table explain where they vary. The same values appear in the calculator, the chart and this guide, so every figure can be reproduced and checked.

MaterialDensity (g/cm³)Density (kg/m³)Density (lb/ft³)
Water (pure, 4 °C)1.0001,00062.43
Ice0.91791757.25
Seawater1.0251,02563.99
Petrol (gasoline)0.73773746.01
Oak wood (typical)0.72072044.95
Aluminium2.7002,700168.56
Iron7.8707,870491.31
Copper8.9608,960559.35
Silver10.49010,490654.87
Lead11.34011,340707.93
Gold19.32019,3201206.11

Read the chart as a story about packing. The liquids cluster near 1: petrol at 0.737 floats on water, seawater at 1.025 is slightly denser than pure water because of its dissolved salts. The woods sit below 1, which is why they float; the metals start at aluminium's 2.70 and climb through iron and copper to the precious metals, silver at 10.49, lead at 11.34 and gold at 19.32 - gold is nearly twenty times as dense as water and more than twice as dense as iron, a fact anyone can feel by holding a gold coin beside a steel one of the same size. Ice deserves its own note: at 0.917 it is less dense than the water it froze from, which almost no other substance does, and lakes freeze from the top down because of it.

Why density varies: temperature, alloy and moisture

Honesty about the chart matters: material densities vary with temperature, alloy and composition, and the values here are typical reference values, not physical constants. Warm a material and it usually expands, so the same mass fills more volume and the density drops a little - water falls from 1.000 g/cm³ at 4 °C to about 0.998 at 20 °C and about 0.958 near boiling, and petrol volumes in trade are corrected for temperature for exactly this reason. Alloys vary by recipe: steels run roughly 7,750 to 8,050 kg/m³ depending on grade, and brasses and bronzes differ from pure copper. Wood varies most of all - oak is quoted anywhere from about 0.60 to 0.90 g/cm³ depending on species and, above all, moisture content; the 0.72 used here is a typical mid value for seasoned oak.

What this means in practice: chart values are right for homework, estimates, design drafts and identifying an unknown material to a shortlist. They are not a substitute for measuring the actual sample when money, safety or a legal specification turns on the third decimal place. If a measured density disagrees with the chart by a percent or two, temperature or alloy is the likely explanation; if it disagrees by twenty percent, the material is probably not what its label claims - which is itself one of the most valuable things a density check can tell you.

Floating, sinking and specific gravity

Quick answer: An object floats in a liquid if its average density is lower than the liquid and sinks if it is higher. In fresh water the dividing line is 1.000 g/cm³; in seawater it is about 1.025 g/cm³. Specific gravity is density divided by the density of water, so it is the same comparison written as a unit-free number.

The rule explains the whole chart at a glance. Oak at about 0.72 and ice at 0.917 float in water; every metal sinks. A steel ship floats because the relevant figure is the average density of the whole vessel - steel hull plus the air-filled spaces inside - and that average is well below 1.025. Submarines adjust their average density with ballast tanks to hover, rise or sink on command, and a hydrometer measures the density of a liquid by how high it floats in it, which is how brewers, battery technicians and antifreeze testers read density without any calculation at all.

Seawater's extra 0.025 g/cm³ is small but real: swimmers float noticeably higher in the sea than in a pool, ships sit slightly higher in salt water than in fresh (the Plimsoll line on a hull marks exactly this), and very salty water such as the Dead Sea, at around 1.24 g/cm³, can float a person with no effort at all. Temperature works the same lever from the other side - warm surface water is slightly less dense than cold deep water, and that layering drives ocean circulation and the weather systems covered in the NOAA source below.

Measuring density in practice

For a regular solid, the school method is ruler and balance: measure the three dimensions, multiply for volume, weigh for mass, divide. For an irregular solid, displacement replaces the ruler - submerge the object in a measuring cylinder and read the rise in level, which is the volume directly; the ancient story of Archimedes and the crown is this method, used to test whether gold had been diluted with silver, which would lower the density below 19.32 g/cm³. For a liquid, the method is a container of known volume: fill a one-litre bottle exactly, weigh it, subtract the bottle, and the mass in grams divided by 1,000 is the density in g/mL.

Each method has its honest traps. Air bubbles clinging to a submerged object inflate the volume and understate the density. A balance that was not zeroed with its container overstates the mass. A liquid measured warm reads slightly low. None of these is a reason to distrust the formula - the formula is exact - they are reasons to measure carefully, repeat the measurement, and treat a density that lands close to a chart value as confirmation and one that lands far away as a question. This calculator's role in that workflow is the arithmetic: conversions, rearrangements and chart lookups, done instantly and shown openly.

Common density mistakes and how to avoid them

The most common mistake is mixing units - dividing grams by litres, or kilograms by cubic centimetres - which buries a factor of 1,000 in the answer. Second is inverting the formula: volume divided by mass gives a number that looks like an answer and is wrong; remember density is mass over volume, heavy over bulky. Third is confusing mass and weight: density uses mass, and while the distinction barely matters for everyday weighing on Earth, a density quoted from a weight in pounds-force without converting will be off. Fourth is trusting a chart value as exact - as the variation section explains, alloy, temperature and moisture move real materials by a few percent, so a measured 2.65 for a claimed aluminium is plausible, while a measured 2.2 is a different material.

Fifth is forgetting that hollow objects have two densities: the material density of their walls and the much lower average density of the whole object, which is the one that decides floating. A steel bottle floats not because steel became light but because the average includes the air. Finally, sanity-check every answer against the chart: a solid denser than gold (19.32) is almost certainly a unit error, a liquid far from the 0.7 to 1.4 band deserves a second look, and a wood denser than water should prompt a check of the volume measurement. The comparison line in the results above names the closest chart material to make that check instant.

What this calculator cannot do

Plainly stated: this calculator applies ρ = m/V and its two rearrangements, converts the listed units, and loads typical chart densities. It does not measure anything - mass and volume must come from your balance, ruler or measuring cylinder. It does not identify a material with certainty: several materials share similar densities, so a match narrows the field rather than proving identity, and coated, hollow or alloyed samples can mislead. It does not correct density for temperature or pressure, model gases (whose density depends strongly on both), or handle mixtures and solutions whose densities are not simple averages of their parts.

It is also a calculator, not a materials laboratory: nothing here replaces a certified assay, an engineer's material specification, or a teacher's marking scheme. Used with the chart, the worked examples and the mistakes section above, it will verify any straightforward density, mass or volume problem instantly and privately, and show its working while it does. Related tools that continue from here: the Molarity Calculator for concentration in chemistry, the Force Calculator for the mass that appears in F = ma, and the Kinetic Energy Calculator for the energy of moving masses.

Sources & References

Sources note: seven sources are listed. Six were verified loading with HTTP 200 when this page was built - NIST, OpenStax, LibreTexts, both Engineering ToolBox pages and NOAA. Two candidate sources from the original plan were substituted and are disclosed here: the USGS water density page and Encyclopaedia Britannica both refused automated checks (HTTP 403), so the USGS role is covered by NOAA's ocean density page and the general-reference role by Khan Academy's buoyancy article, both verified HTTP 200. The material densities used - water 1.000, ice 0.917, aluminium 2.70, iron 7.87, copper 8.96, silver 10.49, gold 19.32, lead 11.34, oak about 0.72, petrol 0.737 and seawater 1.025 g/cm³ - are the standard typical values listed consistently across the Engineering ToolBox and LibreTexts references; they vary slightly with temperature and composition, as the guide states. Every calculated figure in this guide was produced with this page's own formula, ρ = m/V, so you can reproduce each one exactly above.