science

Density Calculator

Calculate density (ρ), mass, or volume — solve any variable from the other two

verified Reviewed by Calkulator Team
Science illustration
Science

Calculate density, mass, or volume from any two known values

Density = mass/volume. Water has a density of 1 g/cm³, iron is 7.87 g/cm³, and gold is 19.3 g/cm³. Enter any two values to find the third — useful for chemistry, material science, and quality testing.

tips_and_updates Objects with density less than 1 g/cm³ float in water — this is why wood floats and iron sinks.
Solve For
Mass
Volume
Density (kg/m³)
kg/m³
Common Densities (kg/m³)
Water: 1,000 · Ice: 917 · Air: 1.225
Aluminum: 2,700 · Iron: 7,874
Gold: 19,300 · Wood (oak): ~700
Results
Density (ρ)
—
Mass
—
Volume
—
vs Water
—
insights
Live Result Illustration
Visual summary — updates instantly as you enter values above
LIVE
Formula & Result Updates in real-time F = m × a Applied formula Variable A 10 kg × Variable B 12 m/s² = Result 120 N Confirm units before calculating — mixing mm and m is the most common source of errors. Real systems have friction, heat, and tolerance — the formula result is ideal-case. Adjust for real-world conditions.
tips_and_updates

Real-Life Guide to Using the Density Calculator

Mass and volume to density

When this calculator is useful

Ideal for identifying an unknown material by comparing computed density against reference values, or for finding the volume of an irregular solid via water displacement.

lightbulb Real-Life Example
Checking if a ring is real gold: Someone wants to test whether a ring is solid gold using a kitchen scale and a measuring cup.
1The ring has a mass of 38.6 g and displaces 2 cm³ of water. Density = mass / volume = 38.6 / 2 = 19.3 g/cm³, which matches pure gold almost exactly.
A reading noticeably below 19.3 g/cm³ would suggest the ring is either an alloy or has a hollow cavity rather than solid gold.

Common Mistakes

  • Mixing mass in grams with volume in cubic metres instead of cubic centimetres, which can throw the density off by a factor of a million.
  • Measuring volume by water displacement without fully submerging the object, or letting part of it float, which undercounts the true volume.
  • Treating density and specific gravity as interchangeable — specific gravity is a unitless ratio relative to water, while density carries units like g/cm³ or kg/m³.
  • Using a weighing scale reading as though it were pure mass while ignoring buoyant effects when weighing something already submerged in liquid.
  • Ignoring that liquid density changes with temperature — water is not exactly 1.000 g/cm³ except near 4°C, so a warm sample can throw off precise measurements.

How to Interpret Results

Compare the resulting density to known reference values — water is 1 g/cm³, aluminium is about 2.7 g/cm³, and gold is 19.3 g/cm³ — to identify the material or judge whether a sample is pure or hollow.

quiz

Density Calculator FAQs

What formula does this calculator use?
Density = mass ÷ volume (ρ = m/V), most commonly expressed in grams per cubic centimetre (g/cm³) for solids and small samples, or kilograms per cubic metre (kg/m³) for larger quantities.
How do I convert between g/cm³ and kg/m³?
Multiply g/cm³ by 1000 to get kg/m³ — for example, water at 1 g/cm³ equals 1000 kg/m³, since a cubic metre contains a million cubic centimetres but each gram is a thousandth of a kilogram.
How do I find the volume of an irregular object?
Submerge it fully in a graduated container of water and record how much the water level rises — that rise in millilitres equals the object's volume in cubic centimetres.
Why does my calculated density not exactly match the textbook value?
Small errors in reading water displacement, trapped air bubbles, sample impurities, or temperature differences in the water can all shift the reading by a few percent from the reference value.
Does temperature affect the result?
Yes, particularly for liquids — most substances expand slightly and become less dense as temperature rises, so a warm liquid sample will read a lower density than a cold one.
What is the difference between density and specific gravity?
Specific gravity is density divided by the density of water, giving a unitless number, while density itself always carries units. A specific gravity of 2.7 corresponds to a density of 2.7 g/cm³.
Can density help detect a fake or diluted product?
Yes — diluted liquids like adulterated milk or fuel often show a density outside the expected range for the pure substance, making this a quick screening check before lab testing.
What should I do after computing density?
Cross-check the number against a materials reference table for the substance you suspect it is, and repeat the measurement to confirm the reading before drawing conclusions.

What is Density?

Density is the mass per unit volume of a substance (ρ = m/V). It's measured in kg/m³ (SI) or g/cm³. An object denser than water (1,000 kg/m³) sinks; less dense objects float. This is Archimedes' principle.

Density is used across science and engineering — from material selection and buoyancy to quality control and identifying unknown substances. For example, pure gold (19,300 kg/m³) is far denser than pyrite (fool's gold, ~5,000 kg/m³), making density a simple purity test.

lightbulb Example
500 g of substance in 250 mL:
1m = 0.5 kg, V = 0.00025 m³
2ρ = m/V = 0.5/0.00025 = 2000 kg/m³
✓ Denser than water — it will sink

quizFrequently Asked Questions

What is the density of common materials?
Water: 1 g/cm³ (1000 kg/m³). Aluminium: 2.7 g/cm³. Steel: 7.8–7.9 g/cm³. Copper: 8.9 g/cm³. Gold: 19.3 g/cm³. Wood (pine): ~0.5 g/cm³. Concrete: ~2.3 g/cm³. Air at sea level: 0.0012 g/cm³. Any material with density less than 1 g/cm³ will float on water.
Why do objects float or sink?
An object floats if its average density is less than the fluid's density. A steel ship floats because its hull traps air — the average density of the ship (steel + air inside) is less than water. A solid steel block sinks because its density (~7.8 g/cm³) is greater than water (1 g/cm³). This is Archimedes' principle.
How is density used in quality control?
Manufacturers use density to verify material purity (pure gold vs. gold-plated metals), detect defects (voids in casting reduce average density), and ensure correct formulations in food, pharmaceuticals, and cosmetics. A density measurement outside the specified range is a red flag for adulteration or manufacturing error.
keyboard_arrow_up