Density Calculator
Solve ρ = m ÷ V for density, mass or volume in metric or US units, then see the specific gravity, the closest materials and whether the object floats.
Volume from shape or water displacement
= 2,703 kg/m³ (g/L) · 168.7 lb/ft³
Closest match: aluminum. Sinks in fresh water and seawater.
Log scale from 0.0001 to 25 g/cm³. Bands: gases, lighter than water, 1 to 10 g/cm³, above 10 g/cm³.
Closest materials
The 3 nearest of 32 reference materials, compared by ratio.
- Aluminum2.7 g/cm³, Pure, room temp.. Yours is 0.1% higher.
- Granite2.7 g/cm³, Typical. Yours is 0.1% higher.
- Concrete2.3 to 3 g/cm³, Varies by mix. Within this range.
Your calculation
The same steps the calculator runs, with your numbers in SI units first.
- Mass in kilograms: 500 g × 0.001 = 0.5 kg.
- Volume in cubic meters: 185 cm³ × 0.000001 = 0.000185 m³.
- Density: ρ = m ÷ V = 0.5 ÷ 0.000185 = 2,702.7 kg/m³.
- In g/cm³: 2,702.7 kg/m³ ÷ 1,000 = 2.7027 g/cm³.
- Specific gravity: 2.7027 g/cm³ ÷ 0.99997 g/cm³ = 2.70278 (water at 4 °C is the reference).
- Water check: 2.7027 g/cm³ is above 0.9982 g/cm³ (water at 20 °C), so it sinks.
Material density chart
Your closest match is highlighted. Values apply at the stated conditions.
| Material | g/cm³ | Conditions | In fresh water |
|---|---|---|---|
| Hydrogen | 0.00009 | 0 °C, 1 atm | Gas |
| Helium | 0.00018 | 0 °C, 1 atm | Gas |
| Air, dry | 0.001204 | 20 °C, 1 atm | Gas |
| Carbon dioxide | 0.00198 | 0 °C, 1 atm | Gas |
| Polystyrene foam | 0.1 | Typical | Floats |
| Cork | 0.24 | Typical | Floats |
| Wood, dry | 0.3 to 0.9 | Varies by species | Floats |
| Gasoline | 0.66 to 0.69 | 20 °C | Floats |
| Ethanol | 0.791 | 20 °C | Floats |
| Ice | 0.917 | 0 °C | Floats |
| Olive oil | 0.92 | Typical | Floats |
| Water | 0.9982 | 20 °C | Reference |
| Water | 1 | 4 °C | Reference |
| Seawater | 1.025 | Typical surface | Sinks |
| Blood | 1.05 | Typical | Sinks |
| Glycerin | 1.26 | 20 °C | Sinks |
| Bone | 1.7 to 2 | Typical | Sinks |
| Concrete | 2.3 to 3 | Varies by mix | Sinks |
| Glass, common | 2.6 | Average | Sinks |
| Aluminum | 2.7 | Pure, room temp. | Sinks |
| Granite | 2.7 | Typical | Sinks |
| Steel | 7.8 | Typical | Sinks |
| Iron | 7.87 | Pure, room temp. | Sinks |
| Brass | 8.44 | Typical | Sinks |
| Copper | 8.96 | Pure, room temp. | Sinks |
| Silver | 10.49 | Typical | Sinks |
| Lead | 11.3 | Pure, room temp. | Sinks |
| Mercury | 13.55 | 20 °C, liquid | Sinks |
| Uranium | 18.7 | Typical | Sinks |
| Gold | 19.32 | Typical | Sinks |
| Tungsten | 19.3 | Typical | Sinks |
| Osmium | 22.59 | Pure, room temp. | Sinks |
Density in other units
Units not already shown above, with the exact factor used.
| Unit | Value | Factor |
|---|---|---|
| lb/in³ | 0.09764 | 1 lb/in³ = 27,679.9 kg/m³ |
| oz/in³ | 1.562 | 1 oz/in³ = 1,729.99 kg/m³ |
Real samples vary with temperature, purity, alloy and trapped air, so a density match points to a material but does not prove what it is.
What Is Density?
Density is the mass of a substance per unit of volume. A block of lead and a block of wood of the same size take up the same space, but the lead holds at least 12 times more mass, so it is denser. The symbol is the Greek letter ρ (rho), and the SI unit is the kilogram per cubic meter (kg/m³). Chemistry and school labs usually use grams per cubic centimeter (g/cm³), which is the same as grams per milliliter (g/mL), while US engineering uses pounds per cubic foot (lb/ft³).
This density calculator solves the formula in any direction: mass and volume give density, density and volume give mass, and density and mass give volume. It converts every unit to kilograms and cubic meters first, then reports the answer in your unit with the specific gravity, the closest of 32 reference materials and a float or sink check for fresh water and seawater.
Density depends on the material, not the sample size: a paper clip and a steel beam are both about 7.8 g/cm³. It changes with temperature and pressure, strongly for gases, so reference values state their conditions.
Density Formula: How to Calculate Density, Mass or Volume
Know any two of the three quantities and the formula gives the third. In the triangle m over ρ × V, cover the one you want to see the operation.
How to calculate density manually
- Measure the mass. Weigh the object on a scale and note the unit, for example 500 g.
- Measure the volume. Use a ruler for a regular shape or water displacement for an irregular one, for example 185 cm³.
- Match the units. Grams pair with cubic centimeters to give g/cm³; kilograms pair with cubic meters to give kg/m³.
- Divide mass by volume. 500 ÷ 185 = 2.7027, so the density is 2.703 g/cm³ to four significant figures.
- Convert if needed. Multiply g/cm³ by 1,000 for kg/m³ (2,702.7 kg/m³) or divide kg/m³ by 16.0185 for lb/ft³ (168.7 lb/ft³).
To find mass from density, multiply the density by the volume in matching units. To find volume from density, divide the mass by the density. Ethanol at 0.791 g/cm³ shows the second case: 100 g of it fills 100 ÷ 0.791 = 126.4 mL, more than 100 mL, because ethanol is less dense than water.
How to Use the Calculator
- Solve for. Pick density, mass or volume; the unknown's field sets the answer unit.
- Known values. Type each value and choose its unit.
- Volume from shape. Enter box, cylinder or sphere dimensions in the optional panel.
- Water displacement. Enter the water level before and after the object goes in.
- Examples. Six chips load cases from a gold ring to the air in a room.
Common Mistakes
- Mixing units. Grams over cubic meters is 1,000,000 times too small for g/cm³.
- Confusing mL and L. 185 L instead of 185 mL changes the density 1,000 times.
- Cubing the wrong factor. 1 m is 100 cm, but 1 m³ is 1,000,000 cm³.
- Air bubbles. Bubbles on a submerged object add false volume.
- Ignoring temperature. Gas densities change about 7 percent from 0 °C to 20 °C.
How to Find the Density of an Irregular Object
A rock or a ring has no simple volume formula, so use the water displacement method: a fully submerged object pushes aside exactly its own volume of water.
- Weigh the dry object, for example 250 g.
- Fill a graduated cylinder partway and read the bottom of the curved surface, for example 50 mL.
- Tilt the cylinder and slide the object in so no water splashes out, then read the new level, for example 80 mL.
- Subtract: 80 − 50 = 30 mL, which is 30 cm³.
- Divide: 250 g ÷ 30 cm³ = 8.333 g/cm³, close to brass at 8.44 g/cm³.
A second method weighs the object twice, once in air and once hanging fully under water. By Archimedes' principle the buoyant force equals the weight of the water displaced, so the apparent mass loss equals the mass of that water. OpenStax works this for an ancient coin: 8.630 g in air and 7.800 g in water give a loss of 0.830 g, a volume of 0.830 cm³ and a density of 8.630 ÷ 0.830 = 10.40 g/cm³, close to silver at 10.49 g/cm³.
Density of Water by Temperature
The density of water is 0.99997 g/cm³ at 4 °C, its densest point, and 0.99820 g/cm³ at 20 °C. Water expands as it warms, so a gallon of hot water weighs less. Densities are USGS values; the US columns are computed with the exact NIST factors.
| Temperature | g/cm³ | lb/ft³ | lb per US gal |
|---|---|---|---|
| 32 °F (0 °C) | 0.99987 | 62.42 | 8.344 |
| 39.2 °F (4 °C) | 1.00000 | 62.43 | 8.345 |
| 60 °F (15.6 °C) | 0.99907 | 62.37 | 8.338 |
| 70 °F (21 °C) | 0.99802 | 62.30 | 8.329 |
| 100 °F (37.8 °C) | 0.99318 | 62.00 | 8.288 |
| 212 °F (100 °C) | 0.95865 | 59.85 | 8.000 |
The USGS rounds the 4 °C value to 1.00000; the more precise figure is 0.99997 g/cm³. How much does a gallon of water weigh? About 8.33 lb at room temperature: 3.785411784 L × 0.99820 kg/L = 3.7786 kg, and 3.7786 ÷ 0.45359237 = 8.330 lb. Seawater averages about 1.025 g/cm³, so a gallon of it weighs about 8.554 lb.
Why ice floats
Freezing water forms an open crystal lattice, so ice at 0 °C has a density of about 0.917 g/cm³, around 8 percent less than liquid water at 20 °C. Ice floats with 0.917 ÷ 0.99984 = 91.7 percent of its volume under fresh water near 0 °C, and an iceberg floats with 0.917 ÷ 1.025 = 89.5 percent under seawater.
Density Unit Conversions
Each density unit is a mass unit over a volume unit, so every factor follows from the exact definitions 1 lb = 0.45359237 kg, 1 in = 2.54 cm and 1 US gallon = 231 in³. The calculator converts inputs to kg/m³ and converts the answer back.
| Unit | Equals (kg/m³) | Water at 20 °C |
|---|---|---|
| g/cm³ = g/mL = kg/L | 1,000 | 0.9982 |
| kg/m³ = g/L | 1 | 998.2 |
| lb/ft³ | 16.0185 | 62.32 |
| lb/in³ | 27,679.9 | 0.03606 |
| lb/US gal | 119.826 | 8.330 |
| oz/in³ | 1,729.99 | 0.5770 |
Specific Gravity and Will It Float?
Specific gravity (relative density) is a density divided by the density of water. It has no units, and it equals the density in g/cm³ to within 0.003 percent when the reference is water at 4 °C, the reference this calculator uses. Aluminum at 2.70 g/cm³ has a specific gravity of 2.700.
An object floats when its average density is below the fluid's, sinks when it is above and hovers when they match. The calculator checks fresh water at 20 °C (0.9982 g/cm³) and seawater (1.025 g/cm³); a material between the two sinks in a lake but floats in the ocean.
For an object that sinks, the calculator reports its weight in water: aluminum at 2.7027 g/cm³ keeps 1 − 0.9982 ÷ 2.7027 = 63.07 percent of its dry weight. A steel ship floats because its hull encloses air, which lowers its average density.
Density vs Mass vs Weight, and the Density of Air
Mass is the amount of matter, in kilograms or pounds. Weight is the force of gravity on that mass, in newtons; on Earth 1 kg weighs about 9.81 N. Density is mass divided by volume, so a ton of feathers and a ton of bricks share a mass but not a density.
NASA gives dry air a density of 1.293 kg/m³ at 273 K and 101.325 kPa. The ideal gas law gives the value at room temperature:
Helium at 0.18 kg/m³ is lighter than air, so a helium balloon rises, while carbon dioxide at 1.98 kg/m³ is heavier and collects near the floor.
Density of Common Materials
The chart in the results lists 32 substances from hydrogen to osmium. The density of aluminum is 2.70 g/cm³, the density of steel is about 7.8 g/cm³ and pure iron is 7.87 g/cm³. Copper is 8.96 g/cm³, lead 11.3 g/cm³ and the density of gold is 19.32 g/cm³, which is 2.45 times iron, while iron is 2.91 times aluminum.
Osmium, at 22.59 g/cm³, is the densest element at room temperature and about twice as dense as lead, so the calculator flags any result above it as a likely unit mistake. Tungsten, at 19.30 g/cm³, is so close to gold that density alone cannot verify a gold bar.
Liquids and natural materials vary more. Gasoline runs from 0.66 to 0.69 g/cm³, so a gallon weighs 5.51 to 5.76 lb, and dry wood ranges from 0.3 to 0.9 g/cm³ by species.
Frequently Asked Questions
How do you calculate density?
Divide the mass of an object by its volume: ρ = m ÷ V. Measure the mass on a scale, find the volume from its dimensions or by water displacement, and keep the units consistent. An aluminum block of 500 g that fills 185 cm³ has a density of 500 ÷ 185 = 2.703 g/cm³, which equals 2,703 kg/m³ or 168.7 lb/ft³. Rearrange the same formula to find mass (m = ρ × V) or volume (V = m ÷ ρ) when you know the other two values.
What is the density of water?
Pure water has a density of 0.99997 g/cm³ at 4 °C, where it is densest, and 0.99820 g/cm³ at 20 °C, a typical room temperature. Both round to 1 g/mL, or 1,000 kg/m³, which is why the kilogram was first defined as the mass of 1,000 mL of water. In US units, water at 20 °C is 62.32 lb/ft³ and 8.330 lb per US gallon. Warm water is less dense: near 100 °C the value falls to about 0.958 g/cm³. Seawater is denser, about 1.025 g/cm³, because of dissolved salt.
How much does a gallon of water weigh?
A US gallon of water weighs about 8.33 pounds at room temperature. The gallon is exactly 231 cubic inches, or 3.785411784 liters, and water at 20 °C (68 °F) has a density of 0.99820 kg/L, so one gallon holds 3.7786 kg, which is 8.330 lb. At 60 °F the figure is 8.338 lb, and at 4 °C, where water is densest, it reaches 8.345 lb. An imperial gallon (4.54609 L) of water at 20 °C weighs about 10.00 lb. The USGS lists 8.33 pounds per gallon as a general figure.
How do you find the density of an irregular object?
Use water displacement. Weigh the object, then pour water into a graduated cylinder and read the level. Lower the object in until it is fully under water and read the new level. The rise in the water level equals the object's volume, since 1 mL equals 1 cm³. A metal part with a mass of 250 g that raises the water from 50 mL to 80 mL has a volume of 30 cm³ and a density of 250 ÷ 30 = 8.333 g/cm³, close to brass at 8.44 g/cm³. Push floating objects fully under with a thin wire, and seal porous objects first.
What is specific gravity and how is it related to density?
Specific gravity is the density of a substance divided by the density of water, so it has no units. This calculator uses water at 4 °C (0.99997 g/cm³) as the reference, the convention in physics texts and for hydrometers. Aluminum at 2.70 g/cm³ has a specific gravity of 2.700, and ice at 0.917 g/cm³ has 0.917. Materials with a specific gravity well below 1 float in fresh water, and those above 1 sink. Specific gravity measured against water at 20 °C comes out 0.18 percent higher, because warm water is slightly less dense.
Why does ice float on water?
Ice floats because it is less dense than liquid water. When water freezes, its molecules lock into an open lattice that takes up more space, so ice at 0 °C has a density of about 0.917 g/cm³, roughly 8 percent less than water at 20 °C. A floating object sinks until it displaces its own mass of water, so the fraction under water equals its density divided by the density of the water. For ice in fresh water near 0 °C that is 0.917 ÷ 0.99984 = 91.7 percent, and for an iceberg in seawater it is 0.917 ÷ 1.025 = 89.5 percent.
Sources & References
- National Institute of Standards and Technology. NIST Handbook 44 (2026), Appendix C: General Tables of Units of Measurement (exact pound, inch and gallon). nist.gov
- National Institute of Standards and Technology. NIST Guide to the SI (SP 811), Appendix B.8: Factors for Units Listed Alphabetically (density factors, imperial gallon). nist.gov
- U.S. Geological Survey, Water Science School. Water Density (water from 0 to 100 °C, ice, hydrometers). usgs.gov
- U.S. Geological Survey, Water Science School. Facts About Water (8.33 pounds per gallon). usgs.gov
- NOAA National Centers for Environmental Information. World Ocean Database 2018 notes (seawater density of 1025 kg/m³). noaa.gov
- OpenStax. College Physics 2e, Section 11.2 Density, Table 11.1 (densities of solids, liquids and gases). openstax.org
- OpenStax. College Physics 2e, Section 11.7 Archimedes' Principle (buoyancy, specific gravity, coin example). openstax.org
- Royal Society of Chemistry. Periodic Table (Al, Fe, Cu, Au, Pb and Os densities; osmium 22.5872 g/cm³). rsc.org
- Simon Fraser University, Department of Physics. Density of Common Fluids (water at 4 and 20 °C and liquids at 20 °C, from the CRC Handbook). sfu.ca
- NASA Earthdata. Air Mass/Density (dry air 1.293 kg/m³ at 273 K and 101.325 kPa). nasa.gov
Results are estimates for educational use. Every number on this page was recomputed with the same formulas and conversion factors the calculator uses. Reference data reviewed: 2026.