Density Calculator
A density calculator is a physical science utility that computes the density, mass, or volume of a substance based on the relationship density equals mass divided by volume (D = m/V). Users input any two of the variables along with their corresponding units, and the calculator solves for the third unknown variable while performing any necessary unit conversions. It supports standard units like grams, kilograms, pounds, milliliters, cubic centimeters, and liters. Chemists, materials scientists, engineers, and students use this tool to identify unknown substances, estimate material weight, and verify volume capacities.
Calculate density from mass and volume, or solve for mass or volume. Supports metric and US customary units.
Quick Answer
Calculate density, mass, or volume. Enter any two values with their units to find the missing variable with step-by-step formulas.
What do you want to calculate?
Output Unit
Density
2 g/cm³
ρ = 100 g / 50 cm³ = 2 g/cm³
Context: Plastics, concrete, light rocks
How it works
What is density?
Density is a fundamental physical property defined as mass per unit volume. It tells you how much 'stuff' is packed into a given space.
THE FORMULA:
ρ = m / V
Where:
• ρ (the Greek letter rho) is density
• m is mass
• V is volume
A more compact substance has higher density (lead, gold, iron). A less compact substance has lower density (wood, water, gases).
Why density matters
- Determines whether something floats or sinks in water (lower density than water = floats)
- Used to identify substances — pure gold and fool's gold (pyrite) look similar but have very different densities (19.3 vs 5.0 g/cm³)
- Critical in engineering — calculating loads, designing ships and aircraft, choosing materials
- Used in chemistry to determine concentrations of solutions
- Used in geology to understand rock formations and identify minerals
How to calculate density
Calculating density requires two measurements: mass and volume.
- MEASURE MASS: Use a scale or balance. Common units include grams (g) for small objects, kilograms (kg) for larger objects, or pounds (lb).
- MEASURE VOLUME: For regular shapes, calculate geometrically (e.g., L × W × H). For irregular shapes, use water displacement (submerge the object in a graduated cylinder and note the change in water level). For liquids, use a measuring cup.
- DIVIDE: Density = Mass ÷ Volume.
WORKED EXAMPLE:
A rock has a mass of 254 grams. When submerged in water, it displaces 95 mL of water.
Density = 254 g ÷ 95 mL = 2.67 g/mL = 2.67 g/cm³
Density units explained
SI STANDARD: kilograms per cubic meter (kg/m³). Mostly used in engineering and scientific papers.
MOST COMMON FOR EVERYDAY: grams per cubic centimeter (g/cm³). Most familiar for solids and liquids. Equivalent to grams per milliliter (g/mL) since 1 cm³ = 1 mL.
US CUSTOMARY: Pounds per cubic foot (lb/ft³) or pounds per cubic inch (lb/in³).
Density of common substances
| Substance | Density (g/cm³) |
|---|---|
| Air | 0.0012 |
| Wood (pine) | 0.5 |
| Vegetable oil | 0.92 |
| Ice | 0.92 |
| Water (4°C) | 1.00 |
| Seawater | 1.03 |
| Concrete | 2.4 |
| Aluminum | 2.70 |
| Iron | 7.87 |
| Lead | 11.34 |
| Gold | 19.32 |
Common density mistakes
- Confusing density with weight. A pound of feathers and a pound of lead have the same weight, but radically different densities. The lead is much smaller because it's denser.
- Forgetting that volume changes with temperature. Most substances expand when heated and contract when cooled.
- Mixing up units. 1 g/cm³ = 1,000 kg/m³, NOT 1 kg/m³. Watch the order of magnitude.
- Assuming average density for non-homogeneous objects. A boat made of steel floats even though steel itself is denser than water because the internal air space lowers the average density.
Disclaimer
Density values are temperature and pressure dependent. Standard reference values are typically given at 20°C and 1 atmosphere. For precise scientific or engineering work, use temperature-corrected values from authoritative sources.
Related calculators
Related Calculators
More tools from Education



