Density Calculator
Solve for density, mass, or volume using the density formula (ρ = m/V) — with instant unit conversion and a built-in reference table of common material densities.
⚖️ Density Calculator — What Do You Want to Find?
What Is Density? A Complete Guide
Density is a measure of how much mass is packed into a given volume of a substance. It's typically denoted by the Greek letter ρ (rho) and defined by one of the simplest formulas in physics: density equals mass divided by volume. Two objects can be exactly the same size and look identical, yet weigh completely differently — a foam block and a steel block of the same dimensions have wildly different densities, which is exactly what makes density such a useful way to identify and compare materials.
Density is an intensive property, meaning it doesn't depend on how much of a substance you have. A teaspoon of water and an entire swimming pool of water both have the same density (about 1 g/cm³) — only the total mass and volume differ, not the ratio between them. This is what makes density such a reliable fingerprint for identifying an unknown material, verifying purity, or checking whether an object is solid or hollow.
Why Density Matters
Density calculations show up across nearly every scientific and industrial field:
- Material identification: Comparing a measured density against known reference values to identify an unknown metal, gemstone, or liquid
- Engineering and material selection: Choosing materials that balance strength against weight for aircraft, vehicles, and structures
- Quality control: Detecting impurities, voids, or inconsistencies in manufactured parts by comparing actual density to the expected value
- Fluid mechanics: Predicting whether an object will float or sink, and how fluids stratify by density (like oil floating on water)
- Geology and mining: Estimating ore composition and rock type from density measurements
- Cooking and food science: Understanding why oil floats on water, or how whipped cream's density changes as air is incorporated
- Shipping and logistics: Calculating dimensional weight for freight pricing based on volume versus actual mass
Density vs. Weight vs. Mass — Don't Confuse Them
These three terms are frequently used loosely in everyday speech but mean distinctly different things in physics:
| Term | What It Measures | Units | Changes With Gravity? |
|---|---|---|---|
| Mass | Amount of matter in an object | g, kg, lb | No — constant everywhere |
| Weight | Force of gravity acting on mass | Newtons (N), lbf | Yes — changes with gravity |
| Density | Mass packed into a given volume | g/cm³, kg/m³, lb/ft³ | No — a material property |
| Volume | Amount of 3D space occupied | cm³, L, m³, ft³ | No — a geometric property |
This calculator uses "mass" in the strict physics sense (measured in grams, kilograms, or pounds as a mass unit), which is what people commonly call "weight" in everyday, non-technical usage on Earth.
The Density Formula — Solving for Mass, Volume, or Density
The density formula can be rearranged to solve for any of its three variables, provided you know the other two. This calculator handles all three directions automatically, but understanding the algebra behind each one is useful for checking a result by hand.
1. Solving for Density
An object weighs 80 kg and has a volume of 47 in³. Convert: 80 kg = 80,000 g; 47 in³ × 16.387064 ≈ 770.19 cm³. ρ = 80,000 ÷ 770.19 ≈ 103,870 kg/m³ (103.87 g/cm³) — a density in the range of very dense metals.
2. Solving for Mass
A block of aluminum (density 2.70 g/cm³) has a volume of 500 cm³. m = 2.70 × 500 = 1,350 g (1.35 kg)
3. Solving for Volume
A gold bar (density 19.3 g/cm³) weighs 1,000 g. V = 1000 ÷ 19.3 ≈ 51.81 cm³
Quick Formula Reference
ρ = m ÷ Vm = ρ × VV = m ÷ ρSG = ρ ÷ ρ(water)Density Unit Conversions — Complete Reference
Density can be expressed in many different unit combinations depending on the field and country. Getting the unit right matters just as much as getting the math right, since mixing up g/cm³ and kg/m³ (a factor of 1,000 apart) is one of the most common density calculation mistakes.
| Unit | Equal to (g/cm³) | Common Use |
|---|---|---|
| g/cm³ (= g/mL) | 1 | Chemistry, solids and liquids |
| kg/m³ | 0.001 | SI standard, engineering |
| kg/L | 1 | Liquids, industrial tanks |
| g/L | 0.001 | Gases, dilute solutions |
| lb/ft³ | 0.0160185 | US construction, materials |
| lb/in³ | 27.6799 | US mechanical engineering |
| lb/gal (US) | 0.1198 | US liquids and fuel |
| oz/in³ | 1.72999 | Small parts, US customary |
Density of Common Materials — Reference Table
The table below lists the approximate density of familiar substances, gases, liquids, and solids at standard temperature and pressure unless otherwise noted. Use it to sanity-check a calculated result or to identify an unknown material.
Gases
| Material | Density (kg/m³) | Density (g/cm³) |
|---|---|---|
| Hydrogen | 0.09 | 0.00009 |
| Helium | 0.18 | 0.00018 |
| Air (sea level, 20°C) | 1.20 | 0.0012 |
| Carbon dioxide | 1.98 | 0.00198 |
Liquids
| Material | Density (kg/m³) | Density (g/cm³) |
|---|---|---|
| Gasoline | 710–770 | 0.71–0.77 |
| Ethanol | 789 | 0.789 |
| Vegetable oil | 920 | 0.92 |
| Ice (0°C) | 917 | 0.917 |
| Water (4°C, pure) | 1,000 | 1.000 |
| Seawater | 1,020–1,030 | 1.02–1.03 |
| Milk | 1,030 | 1.03 |
| Honey | 1,420 | 1.42 |
| Mercury | 13,534 | 13.534 |
Solids and Metals
| Material | Density (kg/m³) | Density (g/cm³) |
|---|---|---|
| Cork | 240 | 0.24 |
| Balsa wood | 160 | 0.16 |
| Oak wood | 750 | 0.75 |
| Ice | 917 | 0.917 |
| Plastic (HDPE) | 970 | 0.97 |
| Concrete | 2,400 | 2.40 |
| Glass | 2,500 | 2.50 |
| Aluminum | 2,700 | 2.70 |
| Titanium | 4,506 | 4.51 |
| Steel (mild) | 7,850 | 7.85 |
| Iron | 7,874 | 7.87 |
| Copper | 8,960 | 8.96 |
| Silver | 10,490 | 10.49 |
| Lead | 11,340 | 11.34 |
| Gold | 19,300 | 19.30 |
| Platinum | 21,450 | 21.45 |
| Osmium (densest natural element) | 22,590 | 22.59 |
Real-World Density Calculation Examples
Density calculations solve practical problems across science, industry, and everyday decision-making. The following worked examples show the formula applied in context.
Example 1 — Identifying an Unknown Metal
A metal sample weighs 178.5 g and displaces 66 cm³ of water when submerged.
- ρ = 178.5 ÷ 66 ≈ 2.70 g/cm³ — matching the known density of aluminum
Example 2 — Will an Object Float?
A children's pool toy weighs 340 g and has a volume of 900 cm³.
- ρ = 340 ÷ 900 ≈ 0.378 g/cm³, which is less than water's 1.0 g/cm³, so the toy will float
Example 3 — Calculating Shipping Volume from Density
A shipment of industrial oil weighs 2,000 kg and the oil's density is 920 kg/m³.
- V = 2000 ÷ 920 ≈ 2.17 m³ of tank capacity needed
Example 4 — Concrete Mix Verification
A cured concrete test cylinder measures 10 cm diameter × 20 cm height (volume ≈ 1,570.8 cm³) and weighs 3,770 g.
- ρ = 3770 ÷ 1570.8 ≈ 2.40 g/cm³ — consistent with standard concrete density, confirming a properly mixed batch
Example 5 — Gemstone Authentication
A jeweler weighs a suspected diamond at 0.95 g with a measured volume of 0.271 cm³ (via water displacement).
- ρ = 0.95 ÷ 0.271 ≈ 3.51 g/cm³ — matching diamond's known density and supporting authenticity (cubic zirconia, by comparison, is denser at ≈ 5.6–6.0 g/cm³)
Specific Gravity and Buoyancy
Specific gravity (also called relative density) is the ratio of a substance's density to the density of a reference substance — almost always water for solids and liquids, or air for gases. Because it's a ratio of two densities, specific gravity has no units at all, which makes it convenient for quickly comparing materials without worrying about which density unit was originally used.
Aluminum has a density of 2.70 g/cm³. Since water is 1.00 g/cm³, aluminum's specific gravity is 2.70 ÷ 1.00 = 2.70 — meaning aluminum is 2.70 times denser than water.
Why Objects Float or Sink
Whether an object floats or sinks in a fluid depends entirely on comparing its density to the fluid's density — a principle first formalized by Archimedes. An object with a lower density than the surrounding fluid experiences more buoyant force than gravitational force and floats; an object with higher density sinks. This is exactly why a solid steel ball sinks in water (steel ≈ 7.85 g/cm³ vs. water ≈ 1.0 g/cm³) while a massive steel ship floats — the ship's overall shape traps enough air that its average density, hull plus air-filled interior, drops well below that of water.
Advanced Density Concepts
Density of Mixtures and Alloys
For a mixture of substances that don't chemically react or change volume when combined, the overall density can be estimated with a weighted average based on the volume fraction of each component. Real alloys and solutions often deviate slightly from this ideal because atoms of different sizes can pack together more or less efficiently than they would separately, which is why measured alloy densities are usually looked up rather than calculated from a simple average.
Temperature and Pressure Effects
Density isn't perfectly constant — it changes with temperature and, for gases especially, with pressure. Most materials expand slightly as they heat up, which lowers their density, and contract as they cool, which raises it. Water is a famous exception near its freezing point: it's actually less dense as solid ice than as liquid water just above freezing, which is why ice floats — an unusual property with major consequences for aquatic ecosystems in winter. For precise scientific and engineering work, density values are always specified at a stated temperature and pressure (often 20°C and 1 atmosphere, sometimes called STP).
Bulk Density vs. Particle (True) Density
For granular or porous materials — soil, sand, powders, sponge, aerated concrete — there's an important distinction between true density (the density of the solid material itself, with zero voids) and bulk density (the density of the material as it naturally sits, including the air gaps between particles). A cup of sand has a lower bulk density than the density of solid quartz, simply because a meaningful fraction of that cup's volume is empty air between grains. This calculator's basic formula returns bulk density whenever the measured volume includes internal voids, so it's important to know which one your application actually needs.
Measuring Volume for Irregular Objects
For objects with a simple geometric shape — cubes, cylinders, spheres — volume can be calculated directly from their dimensions. For irregular objects, the most reliable method is water displacement: submerge the object fully in a graduated container and measure how much the water level rises, which equals the object's volume exactly (provided the object doesn't absorb water or trap air bubbles). This is the same principle Archimedes is said to have used over two thousand years ago to test whether a king's crown was pure gold.
Frequently Asked Questions About Density
Answers to the most commonly searched density calculation questions — from basic formulas to real-world applications.
Related Calculators
