Density Calculator
Solve density = mass / volume for any variable in g/cm³, kg/m³ or lb/ft³, with specific gravity and a reference table of common material densities.
Density — ρ = m ÷ V
- Mass: 250 g · 0.25 kg · 0.551156 lb
- Volume: 100 cm³ · 0.1 L · 0.003531 ft³
- Result shown in your chosen unit: 2.5 g/cm³
- Specific gravity 2.5 — this material would sink in fresh water.
- Closest common material in the table below: Glass.
Reference densities
| Material | g/cm³ | kg/m³ | lb/ft³ |
|---|---|---|---|
| Water (4 °C) | 1 | 1,000 | 62.43 |
| Water (25 °C) | 0.997 | 997 | 62.24 |
| Ice (0 °C) | 0.917 | 917 | 57.25 |
| Sea water | 1.025 | 1,025 | 63.99 |
| Air (20 °C, 1 atm) | 0.0012 | 1.204 | 0.08 |
| Ethanol | 0.789 | 789 | 49.26 |
| Petrol / gasoline | 0.75 | 750 | 46.82 |
| Olive oil | 0.918 | 918 | 57.31 |
| Whole milk | 1.03 | 1,030 | 64.3 |
| Pine wood (dry) | 0.5 | 500 | 31.21 |
| Oak wood (dry) | 0.75 | 750 | 46.82 |
| Dry sand | 1.6 | 1,600 | 99.88 |
| Brick | 1.9 | 1,900 | 118.61 |
| Concrete | 2.4 | 2,400 | 149.83 |
| Glass | 2.5 | 2,500 | 156.07 |
| Granite | 2.7 | 2,700 | 168.56 |
| Aluminium | 2.7 | 2,700 | 168.56 |
| Diamond | 3.51 | 3,510 | 219.12 |
| Titanium | 4.51 | 4,510 | 281.55 |
| Zinc | 7.14 | 7,140 | 445.74 |
| Steel | 7.85 | 7,850 | 490.06 |
| Iron | 7.874 | 7,874 | 491.56 |
| Nickel | 8.908 | 8,908 | 556.11 |
| Copper | 8.96 | 8,960 | 559.35 |
| Silver | 10.49 | 10,490 | 654.87 |
| Lead | 11.34 | 11,340 | 707.93 |
| Mercury | 13.534 | 13,534 | 844.9 |
| Gold | 19.3 | 19,300 | 1,204.86 |
| Platinum | 21.45 | 21,450 | 1,339.08 |
Reference values are typical figures at about 20–25 °C and 1 atm. Real samples vary with temperature, purity, alloy, moisture content and porosity, so treat them as indicative rather than exact.
What is the Density Calculator?
Density is mass divided by volume: ρ = m ÷ V. A 250 g object occupying 100 cm³ has a density of 2.5 g/cm³, which is 2,500 kg/m³ or about 156 lb/ft³.
- Solves for density, mass or volume
- Metric and imperial mass, volume and density units
- Specific gravity with a float-or-sink verdict
- Reference table of around 30 common materials
- Names the closest matching material to your result
- Fully client-side — no data leaves your browser
How to use the Density Calculator
- 1
Choose whether to solve for density, mass or volume.
- 2
Enter the two known values and pick their units.
- 3
Read the density in g/cm³, kg/m³ and lb/ft³ at once.
- 4
Check the specific gravity to see if it floats in water.
- 5
Compare against the reference table of common materials.
About the Density Calculator
The ByteTools Density Calculator solves ρ = m ÷ V for density, mass or volume. Enter the two values you know in whichever units you measured them — grams or pounds, cubic centimetres or cubic feet — and the answer comes back simultaneously in g/cm³, kg/m³ and lb/ft³ so you never have to convert by hand.
It also reports specific gravity, the ratio of the material's density to that of water, which tells you at a glance whether something will float or sink. A reference table of about 30 everyday materials, from air and ethanol through concrete and steel to gold and platinum, sits underneath, and the tool names the closest match to your result.
All the conversions and arithmetic run in your browser with JavaScript, so nothing is uploaded. The reference densities are typical values at room temperature and one atmosphere — real samples vary with temperature, alloy, moisture and porosity, so use them as a guide rather than a specification.
Frequently asked questions
How do you calculate density?
Divide mass by volume. An object weighing 250 g that displaces 100 cm³ of water has a density of 250 ÷ 100 = 2.5 g/cm³. To find mass instead, multiply density by volume.
What is the density of water?
1.000 g/cm³, or 1,000 kg/m³, at 4 °C where water is at its densest. At a more typical 25 °C it is about 0.997 g/cm³. That near-round number is why water is the reference for specific gravity.
How do I convert g/cm³ to kg/m³?
Multiply by 1,000. One gram per cubic centimetre is exactly 1,000 kilograms per cubic metre. To reach lb/ft³ instead, multiply g/cm³ by 62.428.
What is specific gravity?
It is density divided by the density of water, so it has no units. Anything with a specific gravity above 1 sinks in fresh water and anything below 1 floats. Ice at 0.917 floats; aluminium at 2.7 does not.
Why does my measured density not match the reference table?
Published densities are typical values for pure, dry material at about 20 °C. Alloys, moisture content, porosity, air bubbles in a casting and temperature all shift the real figure, and a hollow or composite object gives a bulk density rather than a material density.
Related tools
Molar Mass Calculator
Work out the molar mass of any chemical formula in g/mol, with a per-element breakdown. Handles brackets, hydrates and a grams-to-moles converter.
Ideal Gas Law Calculator
Solve PV = nRT for pressure, volume, moles or temperature, plus combined, Boyle's and Charles's law modes with atm, kPa, bar, psi and mmHg units.
Molarity Calculator
Solve M = mol/L for molarity, moles, volume or mass of solute. Enter grams with a molar mass or a chemical formula and get the concentration instantly.
Unit Converter
Convert between units of length, weight, temperature, area, volume, speed, time and data storage instantly, with a swap button and common conversion tables.
Volume Calculator
Calculate the volume of a cube, box, sphere, cylinder, cone, pyramid, capsule or prism, with instant conversion to litres, gallons, cubic feet and yards.