About this tool
Density is the mass of a substance per unit volume. It tells you how tightly matter is packed: a liter of water has a mass of about 1 kg, while a liter of gold has a mass of about 19.3 kg.
Density helps identify materials, predict whether something floats (anything less dense than water floats on it), and convert between mass and volume, for example to find the weight of a load of gravel or the volume of a liquid bought by weight.
How it works
Choose Density, Mass or Volume and enter the other two values with their units. Density can be shown in kg/m³, g/cm³, g/mL, kg/L, lb/ft³, lb/in³ or lb/gal; mass in kg, g, mg, t, lb or oz; and volume in m³, L, mL, cm³, ft³, in³ or US gallons.
The calculator converts the values to SI units, applies , or , and converts the answer to the unit you chose, listing it in the other units too. It also shows the relative density compared with water and, when the result is within 3 % of a listed material, names that material.
Example
A metal block has a mass of 270 g and a volume of 100 cm³: g/cm³, which is 2700 kg/m³, the density of aluminum.
To find the volume of a 1 kg gold bar, divide by gold's density of 19.3 g/cm³: cm³.
Densities of common materials
Typical densities near 20 °C and atmospheric pressure
| Material | kg/m³ | g/cm³ | lb/ft³ |
|---|---|---|---|
| Air | 1.204 | 0.001204 | 0.07516 |
| Cork | ≈ 240 | ≈ 0.24 | ≈ 14.98 |
| Pine (dry) | ≈ 500 | ≈ 0.5 | ≈ 31.21 |
| Gasoline | ≈ 740 | ≈ 0.74 | ≈ 46.2 |
| Oak (dry) | ≈ 750 | ≈ 0.75 | ≈ 46.82 |
| Ethanol | 789 | 0.789 | 49.26 |
| Olive oil | ≈ 911 | ≈ 0.911 | ≈ 56.87 |
| Ice | 917 | 0.917 | 57.25 |
| Polyethylene (HDPE) | ≈ 950 | ≈ 0.95 | ≈ 59.31 |
| Water | 998.2 | 0.9982 | 62.32 |
| Seawater | ≈ 1,025 | ≈ 1.025 | ≈ 63.99 |
| Milk | ≈ 1,030 | ≈ 1.03 | ≈ 64.3 |
| PVC | ≈ 1,400 | ≈ 1.4 | ≈ 87.4 |
| Concrete | ≈ 2,400 | ≈ 2.4 | ≈ 149.8 |
| Glass | ≈ 2,500 | ≈ 2.5 | ≈ 156.1 |
| Aluminum | 2,700 | 2.7 | 168.6 |
| Granite | ≈ 2,700 | ≈ 2.7 | ≈ 168.6 |
| Titanium | 4,506 | 4.506 | 281.3 |
| Steel | ≈ 7,850 | ≈ 7.85 | ≈ 490.1 |
| Iron | 7,874 | 7.874 | 491.6 |
| Brass | ≈ 8,500 | ≈ 8.5 | ≈ 530.6 |
| Copper | 8,960 | 8.96 | 559.4 |
| Silver | 10,490 | 10.49 | 654.9 |
| Lead | 11,340 | 11.34 | 707.9 |
| Mercury | 13,546 | 13.55 | 845.6 |
| Gold | 19,300 | 19.3 | 1,205 |
Values from the CRC Handbook of Chemistry and Physics and the Engineering ToolBox. Ice is at 0 °C. Values for wood, oils, plastics, concrete, glass, granite, steel and brass are typical: they vary with grade, moisture and composition.
Assumptions and limits
Densities change with temperature and, for gases, strongly with pressure. The table gives values near 20 °C and normal atmospheric pressure. Natural and manufactured materials such as wood, concrete, steel and plastics vary with their grade, moisture and composition, so their values are typical rather than exact.
For a porous or granular material, such as sand or gravel, the bulk density including the air gaps is lower than the density of the solid grains. Measure your own sample when precision matters.
Frequently asked questions
How do you calculate density?
Divide the mass by the volume: . A 500 g object with a volume of 250 cm³ has a density of 2 g/cm³.
How do I convert g/cm³ to kg/m³?
Multiply by 1000. One gram per cubic centimeter equals 1000 kilograms per cubic meter, and also one gram per milliliter or one kilogram per liter.
What is the density of water?
Pure water has a density of about 998 kg/m³ at 20 °C and a maximum of 999.97 kg/m³ at 4 °C, so 1 g/cm³ is a good approximation. Seawater is about 1025 kg/m³.
How do I find the volume of an irregular object?
Submerge it in water in a graduated cylinder or overflow container and measure the volume of water it displaces. Then divide its mass by that volume to get its density.
What is relative density or specific gravity?
It is the density of a substance divided by the density of water, so it has no unit. A relative density above 1 means the substance sinks in water.
Link with your values
Add these parameters to this page’s address to open it with the values filled in, for example to share a calculation or to link to it from an AI assistant. The result is calculated in the browser: the page HTML shows an example for the default values, and the tool sets the data-url-params attribute once the link’s values are applied.
| Parameter | Value | If omitted |
|---|---|---|
solve_for | what to calculate: density, mass, volume; give the other 2 values | default density |
materialFill in the density of a material | one of: air, cork, pine, gasoline, oak, ethanol, olive_oil, ice, polyethylene, water, seawater, milk, pvc, concrete, glass, aluminum, granite, titanium, steel, iron, brass, copper, silver, lead, mercury, gold | optional |
density_g_per_cm3Density (ρ) | number; any unit in the name: _kg_per_m3, _g_per_cm3, _g_per_ml, _kg_per_l, _lb_per_ft3, _lb_per_in3, _lb_per_gal; allowed > 0 g_per_cm3 | give 2 of density_g_per_cm3, mass_g, volume_cm3 |
mass_gMass (m) | number; any unit in the name: _mg, _g, _kg, _oz, _lb, _st, _ug, _t; allowed > 0 g | give 2 of density_g_per_cm3, mass_g, volume_cm3 |
volume_cm3Volume (V) | number; any unit in the name: _ml, _l, _m3, _tsp, _tbsp, _fl_oz, _fl_oz_uk, _cup, _pt, _qt, _gal, _gal_uk, _in3, _ft3, _yd3, _ul, _cm3; allowed > 0 cm3 | give 2 of density_g_per_cm3, mass_g, volume_cm3 |
Examples
?mass_g=500&volume_cm3=185?material=aluminum&volume_cm3=100?solve_for=volume&density_kg_per_m3=7850&mass_kg=12
Write decimals with a point. Encode a space as %20, + as %2B, # as %23 and & as %26.
Result elements: [data-result-block="density_calculator"]