Density Calculator with Formula
Density calculator: formula ρ = m ÷ V solved for density, mass or volume, with unit conversion and specific gravity.
Density (ρ)
- In lb/ft³
- 168.55549 lb/ft³
- In kg/m³
- 2,700 kg/m³
- In g/mL
- 2.7 g/mL
- Specific gravity (vs water)
- 2.7
- In fresh water it
- Sinks
How to use the Density Calculator
- Under Solve for, pick the value you want: density, mass or volume.
- Enter the two values you know and choose a unit for each, such as grams and cubic centimeters.
- Choose the unit you want the answer in; the result also appears in a few other common units.
- Check the specific gravity line to compare your material with water and see whether it floats.
Formula
ρ = m ÷ V · m = ρ × V · V = m ÷ ρ
Where:
- ρ
- Density (rho): mass per unit volume, e.g. g/cm³ or kg/m³
- m
- Mass of the object or sample, e.g. g, kg or lb
- V
- Volume it occupies, e.g. cm³, mL, L, m³ or ft³
The calculator converts every value to SI units (kg, m³) before dividing, so you can mix units freely. 1 g/cm³ = 1 g/mL = 1,000 kg/m³. Specific gravity is the density divided by 1,000 kg/m³, the density of water near 4 °C.
Worked example
A metal block has a mass of 270 g and displaces 100 cm³ of water. What is its density, and what metal could it be?
- ρ = m ÷ V = 270 g ÷ 100 cm³ = 2.7 g/cm³.
- In SI units: 2.7 g/cm³ × 1,000 = 2,700 kg/m³.
- Specific gravity = 2,700 ÷ 1,000 = 2.7, so the block is 2.7 times as dense as water and sinks.
- 2.7 g/cm³ matches the textbook density of aluminum.
The block's density is 2.7 g/cm³ (2,700 kg/m³), consistent with aluminum.
The density formula and its rearrangements
Density is the amount of mass packed into a given volume, written with the Greek letter ρ (rho); some chemistry textbooks use d or D. The defining equation is ρ = m ÷ V, where m is mass and V is volume. Multiplying both sides by V gives m = ρ × V, and dividing mass by density gives V = m ÷ ρ. A common memory aid is a triangle with m at the top and ρ and V along the bottom: cover the quantity you want, and the other two show whether to multiply or divide.
Because density belongs to the material and not to the size of the sample, it is a quick way to identify an unknown substance. Cut a lump of aluminum in half and each piece is still about 2.70 g/cm³. Whichever value you solve for, the rearrangement used is printed under the result.
How to find mass from density and volume
Suppose you want to know whether a shelf can hold a 60-liter aquarium. Choose Mass under Solve for, enter a density of 1 kg/L for fresh water and a volume of 60 L.
- m = ρ × V = 1 kg/L × 60 L = 60 kg.
- In pounds: 60 ÷ 0.45359237 ≈ 132.28 lb.
That is the water alone; glass, gravel and a stand add more. Seawater, at about 1.025 kg/L, would weigh about 61.5 kg in the same tank.
Finding volume from density and mass runs the other way. A 1 lb block of butter (453.59 g) at roughly 0.911 g/cm³ occupies 453.59 ÷ 0.911 ≈ 497.9 cm³, a little under half a liter.
Density units: g/cm³, kg/m³ and lb/ft³
The only real trap is units. Grams divided by milliliters gives g/mL, kilograms divided by cubic meters gives kg/m³, and pounds divided by cubic feet gives lb/ft³. Every input is converted to SI units internally with exact factors, so a mass in ounces and a volume in liters still give a correct answer in the unit you pick.
| Unit | Equals (kg/m³) |
|---|---|
| 1 g/cm³ = 1 g/mL = 1 kg/L | 1,000 |
| 1 g/L | 1 |
| 1 lb/ft³ | 16.018463… |
| 1 lb/US gal | 119.826427… |
| 1 lb/in³ | 27,679.9047… |
To convert g/cm³ to kg/m³, multiply by 1,000; to go from lb/ft³ to kg/m³, multiply by 16.018463. Volume units are a frequent source of error: one cubic meter is 1,000,000 cm³, not 100, because the factor of 100 applies to each of the three dimensions.
Density and specific gravity
Specific gravity, also called relative density, is a material's density divided by the density of water, so it has no units. The result shows it for every calculation, measured against 1,000 kg/m³, together with a line saying whether the material floats or sinks in fresh water. Anything with a specific gravity below 1 floats, which is why ice (0.917) rides on top of a lake.
Going back is a multiplication: density = specific gravity × 1,000 kg/m³. Because water is almost exactly 1 g/cm³, a specific gravity and a density in g/cm³ are the same number, and hydrometers used in brewing and battery testing read it directly. Specific gravity cannot be typed in as an input here; enter the equivalent density in g/cm³ instead.
Typical densities of common materials
| Material | g/cm³ | kg/m³ |
|---|---|---|
| Air (sea level, 20 °C) | 0.0012 | 1.2 |
| Pine wood (dry) | about 0.50 | about 500 |
| Ice | 0.917 | 917 |
| Fresh water (4 °C) | 1.000 | 1,000 |
| Seawater | about 1.025 | about 1,025 |
| Aluminum | 2.70 | 2,700 |
| Iron | 7.87 | 7,870 |
| Copper | 8.96 | 8,960 |
| Lead | 11.34 | 11,340 |
| Gold | 19.32 | 19,320 |
Loose materials such as sand, soil, grain and flour contain air gaps, so their bulk density is lower than that of the solid grains. Use a bulk value when estimating a load.
Measuring a liquid or an irregular solid
- Liquid. Weigh an empty measuring cylinder, pour in a known volume, and weigh it again. The difference in mass divided by the volume is the density.
- Irregular solid. Weigh the dry object, then lower it into a part-filled cylinder of water. Each milliliter the level rises is one cubic centimeter of volume. This suits objects that sink and do not absorb water.
- Precision. With a scale that reads to 0.1 g and a cylinder that reads to 1 mL, round the answer to about three significant figures.
Assumptions
The sample is treated as uniform, or the result as an average for an object made of several materials. Specific gravity uses 1,000 kg/m³, accurate to within 0.003% for water near 4 °C; at room temperature water is about 998 kg/m³. Most materials expand when heated, and gas density depends strongly on temperature and pressure, so note the conditions. Reference densities are typical values, and real samples vary with alloy, moisture content and temperature.
Frequently asked questions
How do I find the density of an object?
Divide the mass by the volume: ρ = m ÷ V. A 50 g stone that displaces 20 mL of water has a density of 50 ÷ 20 = 2.5 g/mL, which is the same as 2.5 g/cm³ or 2,500 kg/m³. Weigh the object dry, and measure its volume from its dimensions or by water displacement.
How do I find mass from density and volume?
Multiply them: m = ρ × V. Fresh water at 1 kg/L filling a 60 L tank has a mass of 1 × 60 = 60 kg, about 132.28 lb. The two units must match, so a density in g/cm³ needs a volume in cm³ or mL. Choose Mass under Solve for and the unit conversion is done for you.
How do I find volume from density and mass?
Divide the mass by the density: V = m ÷ ρ. A 1 lb block of butter is 453.59 g, and at roughly 0.911 g/cm³ it takes up 453.59 ÷ 0.911 ≈ 497.9 cm³, a little under half a liter. Choose Volume under Solve for to get the answer in liters, cubic feet or US gallons instead.
What is the density of water?
About 1 g/cm³, which is the same as 1 g/mL, 1 kg/L or 1,000 kg/m³ (about 62.43 lb/ft³). Pure water is densest near 4 °C, at 999.97 kg/m³, and is about 998 kg/m³ at room temperature. Seawater is denser, roughly 1.025 g/cm³, because of the dissolved salt.
How do I find density from specific gravity?
Multiply the specific gravity by the density of water. Specific gravity, also called relative density, is a material's density divided by water's, so it has no units. A specific gravity of 7.87 (iron) means 7.87 × 1,000 = 7,870 kg/m³, or 7.87 g/cm³. Here specific gravity is shown with every result; it is an output, not an input.
How do I measure the density of an irregular object?
Weigh it, then find its volume by water displacement. Partly fill a measuring cylinder, note the level, lower the object in until it is fully submerged and read the new level. The difference in mL is the volume in cm³. Divide the mass by that volume. This works for objects that sink and do not absorb water.
Related calculators
- Dilution CalculatorA dilution calculator with percentages, molarity, mg/mL, ppm or X units: find the stock volume, the solvent to add, the final concentration and the dilution factor.
- Volume CalculatorA volume calculator in liters, US gallons and cubic units for 12 solids, from boxes and cylinders to cones, spheres and tubes.
- Weight ConverterTry this weight converter: stone to kg, kg to lbs, ounces to grams and three kinds of ton, with exact factors and every unit at once.
- Force CalculatorThis force calculator in newtons solves Newton's second law, F = m × a, for force, mass or acceleration, with each value in its own unit.
Last updated: