Density equals mass divided by volume: ρ = m / V. To get grams per cubic centimeter, measure mass in grams and volume in cubic centimeters; to get kilograms per cubic meter, use kilograms and cubic meters. Mix those unit families and your number will be off by a factor of 1,000. That single condition decides most right and wrong density answers, whether you're checking a metal sample in a lab or sizing a shipping box.
The Density Formula and What Each Symbol Actually Measures
The formula is ρ = m / V, where the Greek letter rho (ρ) stands for density, m is mass, and V is volume. The National Institute of Standards and Technology (NIST) publishes its SI guidance in the NIST Special Publication 811 style guide, which defines density as mass per unit volume and lists the coherent SI unit as kilograms per cubic meter. Read the formula as a rate, not a sum: mass is how much matter the sample contains, volume is how much space it occupies, and density is how tightly that matter packs into that space.
Mass and volume are independent measurements, and density is the ratio you derive from them. A kilogram of feathers and a kilogram of lead share mass, but lead's volume is tiny by comparison, so its density is far higher. This is why density works as an identifier: at a fixed temperature and pressure, a pure substance has a characteristic density you can look up. The condition matters, because density shifts when temperature changes volume through thermal expansion.
Keep the units visible while you work. Write "12.5 g ÷ 5.0 cm³" rather than just "12.5 ÷ 5.0," so a unit mismatch shows up before you commit to an answer. Professionals do this routinely in laboratory notebooks and quality-control records because the arithmetic rarely goes wrong; the labels do.
One detail separates mass from weight, and it trips people up constantly. Mass stays the same wherever you are, but weight changes with gravity. A balance measures mass directly; a spring scale measures force and needs a gravity value to report mass. If your instrument reports newtons, divide by 9.80665 m/s² (standard gravity) before you compute density.
The Three Density Units Most Answers Use and How They Compare
Density unit choice is not cosmetic, because the number you report changes by factors of 1,000 between common systems. The kilogram per cubic meter (kg/m³) is the coherent SI unit NIST's guidance builds on. The gram per cubic centimeter (g/cm³) dominates chemistry and materials work because it keeps lab-scale numbers manageable. The gram per milliliter (g/mL) is numerically identical to g/cm³, a fact worth memorizing because it means 1 mL of water at about 4 °C has a density of roughly 0.99997 g/mL, or about 1.000 g/cm³.
| Unit | Equivalent in kg/m³ | Typical use | Example value |
|---|---|---|---|
| kg/m³ | 1 | Engineering, SI reporting | Water at 4 °C: 999.97 |
| g/cm³ | 1,000 | Chemistry, geology, materials | Aluminum: 2.70 |
| g/mL | 1,000 | Liquids, lab work | Ethanol at 20 °C: 0.789 |
| lb/ft³ | 16.018 | US construction, shipping | Water: 62.4 |
| kg/L | 1,000 | Fuels, bulk liquids | Diesel: roughly 0.83 |
The conversion direction matters. Going from g/cm³ to kg/m³ means multiplying by 1,000, because a cubic meter holds one million cubic centimeters and a kilogram holds one thousand grams. Many students remember the factor but reverse it under exam pressure. Sanity-check with water: 1.0 g/cm³ equals 1,000 kg/m³, and water's familiar metric value of about 1,000 kg/m³ confirms the direction.
Volume conversions deserve their own care, because length cubes. One meter is 100 centimeters, so one cubic meter is 100³ or 1,000,000 cubic centimeters. If you convert 5 cm³ to m³ by dividing by 100 instead of 1,000,000, your density comes out a million times too large. The US customary system adds another translation: 1 pound per cubic foot equals about 16.018 kg/m³, per the conversion factors published in NIST SP 811.
Worked Example One: A Solid Metal Block
Start with a block that has mass 162.0 grams and dimensions 6.00 cm × 3.00 cm × 5.00 cm. Volume is length times width times height, so 6 × 3 × 5 = 90.0 cm³. Density is 162.0 ÷ 90.0 = 1.80 g/cm³. That value sits far below steel, so the block is likely a plastic or a composite rather than metal.
Now repeat the exercise with plausible metal figures to see the method in action. Suppose the same block masses 243 grams. Density becomes 243 ÷ 90.0 = 2.70 g/cm³, which matches aluminum's room-temperature density of about 2.70 g/cm³ as published in CRC Press's CRC Handbook of Chemistry and Physics. Matching a calculated value to a handbook entry is a standard identification step in materials work; it never proves identity alone, because temperature, alloying, and porosity all shift density slightly.
The measurement uncertainty deserves a line of its own. If the calipers read to 0.02 cm and the balance reads to 0.01 g, the density uncertainty propagates through those errors. Engineers quantify this with error propagation formulas from organizations like the National Physical Laboratory, which publishes free guidance on stating measurement uncertainty. In practice, an answer reported as 2.70 g/cm³ should carry an uncertainty, perhaps ±0.03 g/cm³, rather than false precision.
Rounding rules make a real difference in how an answer looks. Report density to the same number of significant figures as your least precise input. A mass of 162.0 g carries four significant figures; dimensions of 6.00 cm carry three. Your volume and density answers should carry three, so write 1.80 g/cm³ rather than 1.802469 g/cm³. That last digit isn't wrong, only misleading.
Worked Example Two: An Irregular Sample via Water Displacement
An irregular stone won't yield dimensions easily, so displacement finds volume instead. Fill a graduated cylinder with water, record the starting level, drop the sample in, and record the new level. The rise equals the sample's volume, provided the sample sinks and absorbs no water. Suppose the cylinder rises from 45.0 mL to 67.5 mL, so the stone displaces 22.5 mL and therefore occupies 22.5 cm³.
Take a mass of 59.6 grams for the stone. Density is 59.6 ÷ 22.5 = 2.649 g/cm³, which rounds to 2.65 g/cm³. That value falls in the range for quartz-rich rock such as sandstone. A scale alone would have told you nothing about what the object is; mass plus volume together identify a candidate material.
The displacement method has failure modes you should know before trusting an answer. Porous materials like pumice, brick, and some ceramics drink water and show a falsely small volume, giving a falsely large density. Coating the sample with a thin water-resistant layer can block absorption, but then the coating's own volume enters the measurement. For powdery or soluble solids, displacement with a non-wetting liquid such as mineral oil or a purpose-made density kit avoids the problem.
Temperature controls the displaced liquid's own volume, and water's density peaks near 4 °C. At 20 °C, water's density is 0.9982 g/mL, so a nominal 22.5 mL cylinder reading isn't exactly 22.5 cm³ of liquid unless you correct for it. Most schoolwork ignores this; calibration labs don't. The National Institute of Standards and Technology (NIST) publishes water density tables used in calibration certificates for exactly this reason.
Worked Example Three: A Liquid and the Container-Mass Trap
Liquids demand a subtraction step most students miss. Weigh the empty container first, then fill it and weigh again. Suppose an empty 100 mL flask masses 62.4 grams and the filled flask masses 141.0 grams. The liquid's mass is 141.0 − 62.4 = 78.6 grams. With 100.0 mL volume, density is 78.6 ÷ 100.0 = 0.786 g/mL. That value matches ethanol at 20 °C (0.789 g/mL in the CRC Handbook), with the small gap attributable to temperature or container readings.
A hydrometer offers a faster readout for liquids: drop it in, read the scale where the stem meets the surface. These instruments are calibrated for a specific temperature, usually 20 °C, and the readout is specific gravity relative to water. Multiply specific gravity by 0.9982 g/mL to get density in g/mL for a quick approximation. Hydrometers also appear in automotive and brewing settings where density itself (or the related Brix or ABV scale) signals quality.
Mixtures require extra caution. A 50/50 mix by volume of water and ethanol doesn't have the average density of the pure liquids, because molecules pack together differently and the total volume shrinks slightly. Your measured density will be higher than a naive volume-weighted average, and that's correct. Add dissolved salt, sugar, or antifreeze, and the relationship shifts further. The glucose cell biology convention puts typical cytoplasm at roughly 1.1 g/mL, so a saltwater tank measuring 1.02 g/mL isn't unreasonable.
Solids that absorb liquid, liquids that evaporate mid-weighing, and hygroscopic substances that pull moisture from air all corrupt this method. Weigh quickly, keep lids on samples, and use a closed container. For scientific reference values, the CRC Handbook of Chemistry and Physics remains the standard compilation for densities of pure substances.
Convert Mass and Volume Without Losing a Factor of 1,000
Set the unit conversion before you divide. One reliable habit is to convert mass and volume into a consistent system first, then apply ρ = m / V. If your mass is in grams and your volume in liters, a liter equals 1,000 cm³, so 250 mL of a 300 g sample gives density 300 ÷ 250 = 1.2 g/mL. If you instead used liters, you'd get 300 g ÷ 0.25 L = 1,200 g/L, and 1,200 g/L equals 1,200 kg/m³ and 1.2 g/mL. Same answer, same density.
The density conversion ladder in the table above handles most cases. Multiply g/cm³ by 1,000 for kg/m³, and for lb/ft³ multiply by 62.428. Cross-check with water's value: 1.0 g/cm³ is 62.4 lb/ft³, which is a calibration point worth committing to memory. If your calculation says water's density is 0.0624 lb/ft³, you've divided instead of multiplied.
The volume conversion traps again because it cubes. Converting cubic inches to cubic centimeters uses 16.387 (2.54³), not 2.54. A 10 in³ object is about 163.9 cm³, and treating it as 25.4 cm³ would multiply a computed density by roughly 6.45. One defensive habit: check the order of magnitude against known values. A solid metal with density below 1 g/cm³ or above 25 g/cm³ is rare enough to warrant re-reading your units.
Common conversions appear in ASTM standards and NIST publications, and online calculators disagree occasionally on rounding. Before publishing or recording a value, recalculate by hand using the factors in NIST SP 811. Recording the conversion step in your notes is standard practice for repeatability, so the next person can find the error without redoing the whole measurement.
Populate a Density Table the Way a Lab Spreadsheet Does
A four-column table with mass, volume, density, and unit conversion catches your own errors before a grader or client does. Spreadsheet formulas should reference a conversion cell, not hard-coded multipliers, so a single edit updates the whole sheet. In the table below, the kg/m³ column is the multiplier result, not an independent measurement.
| Material | Mass | Volume | Density (g/cm³) | Density (kg/m³) |
|---|---|---|---|---|
| Aluminum sample | 243 g | 90 cm³ | 2.70 | 2,700 |
| Stone (quartz-rich) | 59.6 g | 22.5 cm³ | 2.65 | 2,650 |
| Ethanol at 20 °C | 78.6 g | 100.0 mL | 0.786 | 786 |
| Saturated salt water | 120 g | 100.0 mL | 1.20 | 1,200 |
| Water at 4 °C | 99.997 g | 100.0 mL | 1.000 | 1,000 |
Order-of-magnitude checks guard against a slipped decimal point. Solids are usually above 0.7 g/cm³ and below 25 g/cm³, with tungsten around 19.3 g/cm³ as the classic heavy example in CRC data. Liquids generally sit between 0.6 and 2.0 g/cm³. Gases are in the low thousandths of a gram per cubic centimeter, which is why gas densities are reported in kg/m³ rather than g/cm³.
If a row lands far outside its category, something's wrong. Perhaps the sample was wet, or the volume was misread, or the conversion cell is wrong. A single spreadsheet formula with a named conversion cell prevents most copy-paste errors across rows. If you're using a template from an older spreadsheet version, verify the conversion factors once and lock them.
Temperature columns matter too. The same liquid reported at two temperatures shows the shift, and this tells you whether the density formula is being asked about the same sample or different ones. If a sensor's compensation button is on, note whether the reported density is at measured temperature or corrected to 20 °C; mixing the two creates a phantom drift that again isn't physical.
Sources of Error That Push Density Away From the Reference Value
Bubbles are the most common hidden error in liquid work. A 0.5 cm³ bubble in a 100 mL sample lowers measured mass by a few tenths of a gram and gives density slightly low, and the same bubble in a solid measured by displacement adds apparent volume, giving density slightly high. Tapping the container or degassing liquid with a short vacuum step reduces this.
Temperature drift explains a surprising share of failed checks. Liquids expand roughly 0.1% to 0.2% per degree Celsius near room temperature, and water's expansion is larger near 4 °C than warmer liquids. If you compare a 25 °C measurement to a reference value at 20 °C, expect a small mismatch. NIST's thermometer calibration tables and water density tables let you correct for this yourself.
The buoyancy of air is small but real. A balance in ordinary air weighs slightly less than a mass in vacuum, at roughly 0.1% for a sample of water density. In high-precision work, weigh with a balance that compensates or correct for the displaced air, using a formula recorded in NIST measurement guidance. For a high school lab this never matters; for a metrology grade result it does.
Humidity and static charge affect electronic balances, and vibration makes them drift. A measured 162.0 g can flutter by ±0.05 g in a busy room. Weigh away from drafts, use the balance enclosure or draft shield, and record the reading only after the display settles. The uncertainty you quote should reflect the balance's own resolution as stated in its manual.
Where Density Calculations Decide Real Outcomes
Shipping and freight pricing uses density in some carriers' dimensional weight formulas, where pounds per cubic foot determine whether a light, bulky parcel is charged as heavy. That means a single density error can shift a quote under freight's dimensional weight rules. The exact thresholds vary by carrier and by contract, so confirm against the current tariff page for the carrier and service level you're using.
Materials and construction use density for estimating loads and weights. A cast concrete element's weight per cubic meter (roughly 2,400 kg/m³ in common mixes) drives crane and formwork requirements. Aluminum's lower density relative to steel is the underlying reason it's chosen for aerospace applications, and this is a textbook-level comparison grounded in CRC or similar reference data. Concrete mix designs vary widely, so confirming the supplier's mix data matters more than picking a generic number.
Quality control and authenticity checks run on density bands. Precious metals have characteristic densities, and counterfeit coins or bars often show off-values because an impure core changes density. The specific check procedure depends on your reference standard, and in regulated settings you need a calibrated balance and a procedure from a recognized body. A rough density measurement can flag a suspect sample, not certify one.
Biological, geological, and environmental work lean on density for everything from sediment classification to soil bulk density. In soil science, bulk density (dry soil mass divided by total volume including pores) differs from particle density (solid fraction only), and mixing the two definitions produces wildly wrong numbers. This is the biggest definition mix-up in earth sciences and a good reason to annotate which density you measured.
Quick Conversion Numbers You Can Memorize
| From | To | Multiply by |
|---|---|---|
| g/cm³ | kg/m³ | 1,000 |
| g/cm³ | lb/ft³ | 62.428 |
| kg/m³ | g/cm³ | 0.001 |
| lb/ft³ | kg/m³ | 16.018 |
| kg/L | g/mL | 1 |
| g/mL | kg/m³ | 1,000 |
Memorize the water anchor. Density of pure water is about 1.000 g/cm³ at 4 °C, per NIST water density tables, which fixes every direction in the table above. Ethanol sits near 0.789 g/cm³ at 20 °C, aluminum near 2.70, iron near 7.87, and lead near 11.3, per CRC compiled values. Those five anchors cover most everyday checks.
Density values are often given in tables online without stated temperature; that's a real limitation. Steel's density in handbooks is often quoted at room temperature, but at 300 °C it's a little lower. The gap is small enough to ignore in many uses, but not in high-precision metrology. When in doubt, treat an unstated temperature as an uncertainty on your answer.
If you work with gas densities, expect values around 1.2 kg/m³ for air at sea level and 20 °C, per standard atmosphere tables. For mass flow and process engineering, gas density depends on pressure and temperature through the ideal gas law, so quoting a single number without those conditions is meaningless. That's why gas densities are almost always called out together with pressure and temperature.
Unit systems also reflect culture. The US customary system dominates construction in the United States, while SI dominates science worldwide. If you must mix them, do the conversion in a separate step, record it, and let someone else reproduce your work. The habit costs minutes and prevents costly retakes.
FAQ
What is the density of a 500 g sample with volume 200 cm³?
Dividing 500 grams by 200 cubic centimeters gives 2.50 g/cm³, which is exactly 2,500 kg/m³. That value sits near silicon dioxide's range, around 2.2 to 2.65 g/cm³ in geological references, but only a real sample tells you the material. The key issue is that 200 cm³ is 0.0002 m³, so mixing units here would shift the answer by 1,000. Always compute the ratio in consistent units, then convert.
Why is density of water not exactly 1 at room temperature?
Water's density peaks around 3.98 °C at about 0.99997 g/cm³, not at exactly 1.000, per NIST's water density tables. At 20 °C it's about 0.9982 g/cm³, and at 25 °C roughly 0.9970 g/cm³. The textbook "1.0 g/cm³" is a rounded convenience for daily work, not a precise constant. Use the temperature-specific value from a density table when your tolerance is tighter than 0.1%.
Can density be negative?
No, density for ordinary physical materials is positive because mass is positive and volume is non-negative. In exotic physics reports, negative effective mass or negative permeability can appear, but those aren't ordinary density in this formula's sense. If a spreadsheet shows a negative result, the likely issues are a data-entry sign swap or subtraction order mistake. Check the raw mass and volume values before accepting it.
How does temperature change density for a gas compared with a liquid?
Gases expand a lot more for the same temperature change, so gas density drops quickly as temperature rises. The ideal gas law makes gas density roughly proportional to pressure divided by absolute temperature, so doubling absolute temperature roughly halves density at fixed pressure. Liquid density shifts by a much smaller fraction. This is why gas densities are usually reported with both temperature and pressure, and why the correction for liquids can often be small.
What's the difference between density and specific gravity?
Specific gravity is a pure ratio, typically density of a substance divided by density of water at a reference temperature, so it has no units. Density carries units such as g/cm³ or kg/m³. A hydrometer scale usually reads specific gravity, so multiply by water's density at the reference temperature to get density in your working units. Both are widely used, but only one is a direct physical measurement with units.
Can I compute density without a volume measurement?
For regular solids, yes: multiply the three side lengths to get volume, then divide. For irregular samples, use water displacement or a purpose-built density kit. If you can't measure volume at all, your only options are identifying the material and using a handbook value, or comparing against a second sample. Never assume density equals a known material's value just because the material "looks like" it.
How accurate does my volume need to be for a reliable density result?
Volume error propagates straight into density error, so a 1% volume error gives about a 1% density error. A graduated cylinder with 1 mL graduations on a 100 mL scale carries roughly a few percent error if read carelessly, so read the bottom of the meniscus at eye level. A volumetric flask or a calibrated pipette sharply reduces that error. For a value accurate to one part in 100, volume measurement needs better than 1% precision.
How do I derive density from mass in kilograms and volume in liters without a conversion error?
Convert liters to cubic meters first: 1 L equals 0.001 m³. So 2 kg in 1.5 L becomes 2 kg ÷ 0.0015 m³ = 1,333 kg/m³. That's exactly 1.333 g/cm³, if you prefer the smaller unit family. Recording both the original and converted units in your notes keeps the arithmetic verifiable. If a matched pair of conversions is required, verify one against water.