Density is mass divided by volume. Enter any two of mass, volume and density and this calculator returns the third, converts between 16 density units, and checks your answer against 67 common materials.
Quick access to common material densities
Enter values to calculate
Created by Marcus Webb
Last updated: October 1, 2026
Density is how much mass is packed into a given volume. It tells you how heavy a material is for its size, which is why a small gold bar outweighs a large block of foam. Divide mass by volume and you have it:
Here (rho) is density, is mass and is volume. The density of water is 1,000 kg/m³, or 1 g/cm³, and that is the number most other materials get compared against. Anything denser than water sinks in it and anything less dense floats, which is the whole of why a steel nail drops and a plank of pine does not.
The spread is enormous. The density of air at sea level is just 1.293 kg/m³, roughly 1/770th of water. The density of aluminum is 2,700 kg/m³, the density of steel is 7,850 kg/m³, and gold reaches 19,300 kg/m³. That is why an aluminum bicycle frame can be lifted with one finger while a steel one of the same shape cannot, and why a gold bar the size of a paperback is a two-handed lift.
Density is a property of the material, not of the lump you are holding. Cut a copper pipe in half and each half still has the density of copper, because the mass and the volume fall by the same amount. That is what makes it useful for telling one substance from another.
Any density unit is a mass unit over a volume unit, which is why there are so many of them. The SI density unit is kg/m³; laboratories prefer g/cm³, and US engineering drawings usually give lb/ft³. The calculator above accepts all sixteen and doubles as a density converter: enter a figure in one density unit, switch the dropdown, and it restates the same density in another.
💡Why Manual Calculation is Tricky: Density calculations require precise measurements and unit conversions. A simple mistake in converting cubic centimeters to cubic meters can throw your result off by a factor of one million! Our calculator handles all conversions automatically with 67 material references built-in.
🔎Need help converting between cubic meters, liters, and gallons? The volume converter helps you master these measurements before calculating density.
Below you will find how the calculation works, the three formulas written out with worked examples, and answers to the questions people ask most. The calculator above does the arithmetic and the unit conversions for you.
Imagine you have two identical boxes – same size, same volume. One is filled with feathers, the other with rocks. They occupy the same space, but the rock-filled box is much heavier. This difference in "heaviness per volume" is density.
Density exists because different materials have different atomic structures. Gold atoms are large and heavy, packed tightly together. Styrofoam has mostly air spaces between molecules. Same volume, vastly different mass – that's density at work.
Core Density Formula:
ρ = m / V
ρ (rho) = Density (typically kg/m³ or g/cm³)
m = Mass of the object (kg, g, lb, etc.)
V = Volume of the object (m³, cm³, L, etc.)
Why this formula works: Density is a ratio. It tells you "for every unit of volume, how much mass exists?" A density of 1000 kg/m³ means every cubic meter contains 1000 kilograms of material. Simple division gives you this ratio.
⚠️Unit Consistency is Critical: You must use consistent units. Mixing kilograms with cubic centimeters without conversion will give incorrect results. Our calculator handles 32 different unit combinations automatically.
The beauty of the density formula is its flexibility. You can solve for any variable if you know the other two:
Find Density:
ρ = m / V
When you have mass and volume
Find Mass:
m = ρ × V
When you have density and volume
Find Volume:
V = m / ρ
When you have mass and density
Example: Finding the density of an aluminum cube
What went wrong?
If your calculation doesn't match known values, check: (1) Measurement errors, (2) Material purity (alloys vs. pure metals), (3) Unit conversion mistakes, (4) Temperature effects. In this example, we likely measured a denser aluminum alloy, not pure aluminum.
Pick a Material or a Mode
Tap Water, Air, Iron or Gold to load a known density, or choose a mode: Find Density (you have mass and volume), Find Mass (density and volume), or Find Volume (mass and density)
Enter Your Measurements
Type values into input fields. Select appropriate units from dropdowns. For volume, either enter directly or use cuboid calculator for box-shaped objects
View Results Instantly
Results update automatically as you type. See your answer, detailed information, and material comparisons in the results panel
Verify & Use Results
Check material comparisons to ensure results make sense. Copy results using the copy button. Reset to start a new calculation
Where: ρ (rho) = density, m = mass, V = volume
Example: A gold bar measures 5 cm × 2 cm × 1 cm and weighs 193 grams. Is it real gold?
Step 1: Calculate volume = 5 × 2 × 1 = 10 cm³
Step 2: Apply formula: ρ = 193 g / 10 cm³ = 19.3 g/cm³
Result: 19.3 g/cm³ matches pure gold density exactly. Likely authentic! (Though professional testing recommended for valuable items.)
Use when you know density and volume but need to find mass.
Example: A concrete foundation slab is 10 m × 8 m × 0.2 m. How much does it weigh? (Concrete density = 2,400 kg/m³)
Step 1: Calculate volume = 10 × 8 × 0.2 = 16 m³
Step 2: Apply formula: m = 2,400 kg/m³ × 16 m³ = 38,400 kg
Result: The slab weighs 38.4 metric tons (about 84,600 pounds). Critical for structural load calculations!
Use when you know mass and density but need to find volume.
Example: You have 500 kg of steel to store. How much warehouse space (volume) will it occupy? (The density of steel is 7,850 kg/m³)
Step 1: Apply formula: V = 500 kg / 7,850 kg/m³ = 0.0637 m³
Step 2: Convert to practical unit: 0.0637 m³ = 63.7 liters (about 17 gallons)
Result: Half a ton of steel fits in a space smaller than a large cooler. Dense materials pack efficiently!
For batch calculations, implement these formulas in Excel or Google Sheets:
Excel/Google Sheets Formulas:
Finding Density:
=B2/C2
(Where B2=mass, C2=volume)
Finding Mass:
=B2*C2
(Where B2=density, C2=volume)
Finding Volume:
=B2/C2
(Where B2=mass, C2=density)
For materials made from multiple components, calculate weighted average density:
Example: Reinforced concrete contains 2,300 kg of concrete (0.958 m³) and 50 kg of steel rebar (0.00637 m³). What's the composite density?
Total mass = 2,300 + 50 = 2,350 kg
Total volume = 0.958 + 0.00637 = 0.964 m³
ρcomposite = 2,350 / 0.964 = 2,438 kg/m³
Result: Reinforcement increases density from 2,400 to 2,438 kg/m³ (1.6% increase)
💡Unit Conversion Tip: Always convert to consistent units before calculating. Mixing kg with cm³ requires conversion factors: 1 g/cm³ = 1,000 kg/m³. Our calculator handles this automatically, but when working by hand or in spreadsheets, consistent units prevent errors.
Density measures how much "stuff" (mass) is packed into a given space (volume). Think of it as compactness – a bowling ball and beach ball might be the same size, but the bowling ball is much denser because it has more mass in the same volume. Mathematically, density equals mass divided by volume (ρ = m/V). Higher density means heavier for the same size; lower density means lighter.
Use the water displacement method: Fill a graduated cylinder or measuring container with water and note the level. Carefully submerge the object completely (ensure no air bubbles). Note the new water level. The difference between levels equals your object's volume. Example: Water rises from 50 mL to 73 mL? Volume = 23 mL (or 23 cm³). This method works for any object that doesn't absorb water or dissolve.
Ice floats because it's less dense than liquid water – a rare property. Water's maximum density occurs at 4°C (1,000 kg/m³). As it cools below 4°C toward freezing, water expands due to hydrogen bonding forming a crystal structure. Ice at 0°C has density 917 kg/m³ (about 8.3% less than water). Objects float when their density is less than the fluid they're in, which is why ice cubes, icebergs, and frozen lakes stay at the surface.
Yes, but with important caveats. Calculate the unknown material's density, then compare to our 67-material database or reference tables. If your result matches a known material closely (within 5%), it's a strong indicator. However, many materials have similar densities (aluminum = 2,700 kg/m³, glass = 2,500 kg/m³), and density alone doesn't definitively identify substances. Use density as one piece of evidence alongside appearance, magnetism, hardness, and chemical tests for confident identification.
The calculator's math is perfectly accurate – density calculations are straightforward division. Your result accuracy depends entirely on your input measurement quality. If you measure mass to ±1% and volume to ±2%, your density will be accurate to about ±3% (errors add). Use calibrated scales and precise volume measurement tools. Our calculator handles unit conversions correctly and preserves significant figures, so computational errors are eliminated. Remember: accurate inputs = accurate outputs; garbage in = garbage out.
Density is absolute (has units: kg/m³, g/cm³, lb/ft³), while specific gravity is relative (no units – just a ratio). Specific gravity compares a material's density to water's density at 4°C. Formula: SG = ρmaterial / ρwater. Example: Gold has density 19,300 kg/m³ and specific gravity 19.3 (19.3 times denser than water). Specific gravity is convenient because it's the same value regardless of unit system – gold's SG is 19.3 whether you measure in metric or imperial.
Yes, significantly for gases and liquids, moderately for solids. Most materials expand when heated (mass stays constant, volume increases, so density decreases). Water at 0°C: 999.8 kg/m³; at 20°C: 998.2 kg/m³; at 100°C: 958 kg/m³ – a 4% change. Gases change even more dramatically: air doubles in volume (halves in density) when heated from 0°C to 273°C. For accurate work, measure temperature and either look up density at that temperature or apply thermal expansion corrections. Most reference densities are given at 20°C (68°F) or 25°C (77°F).
Choose units based on context: kg/m³ is the SI standard for scientific work and construction (concrete, steel). g/cm³ is convenient for small objects and laboratory work (1 g/cm³ = 1,000 kg/m³, water is exactly 1 g/cm³). lb/ft³ is common in U.S. construction and engineering. g/mLis standard for liquids (numerically identical to g/cm³). Our calculator converts between all units automatically, so measure in whatever unit is convenient and convert to the unit your application requires.
Osmium, with density 22,590 kg/m³ (22.59 g/cm³), is the densest naturally occurring element. It slightly edges out iridium (22,560 kg/m³). Both are platinum-group metals – rare, expensive, and extremely hard. For context: osmium is 2.5× denser than iron, 1.17× denser than gold, and 8.3× denser than aluminum. Osmium's extreme density comes from tightly packed atoms with high atomic mass. Beyond Earth, neutron stars have density ~4×10¹⁷ kg/m³ – a teaspoon would weigh 4 billion tons!
Yes, density testing is a powerful first-line authentication method. Pure gold (24k) has density 19.3 g/cm³; 18k gold (75% pure) is ~15.5 g/cm³; 14k gold is ~13 g/cm³. Measure mass on a precise scale, measure volume by water displacement, calculate density, and compare. If a supposed gold ring has density 11 g/cm³, it's not real gold (possibly brass or gold-plated). However, sophisticated fakes can match target density by using tungsten cores (19.3 g/cm³, same as gold) covered with gold plating. Use density testing plus hallmark inspection, acid testing, or X-ray fluorescence for definitive authentication.