Density Calculator
540 g of material that fills 200 cm³ has a density of 2.7 g/cm³, which is 2,700 kg/m³ or about 168.555 lb/ft³: density is mass divided by volume (ρ = m ÷ V). Fresh water is 1,000 kg/m³ at about 4 °C, so this material is 2.7 times as dense and sinks. Rearranged, mass = density × volume (1.5 L of a 2,700 kg/m³ metal has a mass of 4.05 kg) and volume = mass ÷ density. Pick which of the three to solve for, enter the other two in mg to lb, mL to US gallons and six density units, and the calculator shows the answer in your unit and in other common units, with the working and whether the object floats.
Updated Runs in your browser: nothing you enter is uploadedHow this tool works
ρ = m ÷ V = 540 g ÷ 200 cm³
Density 2.7 g/cm³
- Density in g/cm³
- 2.7 g/cm³
- Density in kg/m³
- 2,700 kg/m³
- Density in lb/ft³
- ≈ 168.555 lb/ft³
- Density in lb/in³
- ≈ 0.0975437 lb/in³
- Density relative to fresh water
- 2.7
Sinks in fresh water. At 2,700 kg/m³ it is 2.7 times as dense as fresh water (1,000 kg/m³ at about 4 °C), so it sinks.
The calculation is exact; numbers are rounded to 6 significant digits only for display (“≈” marks a rounded value, and the steps show rounded intermediate values). The float check treats the object as one uniform material. A hollow or mixed object, such as a boat, floats when its overall average density (hull and enclosed air together) is below that of the water, and salt water is denser than fresh water.
The working
- Mass in kg: 1 g = 0.001 kg, so 540 g = 0.54 kg.
- Volume in m³: 1 cm³ = 0.000001 m³, so 200 cm³ = 0.0002 m³.
- Density: ρ = m ÷ V = 0.54 kg ÷ 0.0002 m³ = 2,700 kg/m³.
- In g/cm³: 2,700 kg/m³ ÷ 1,000 = 2.7 g/cm³.
- Fresh water: 1,000 kg/m³. Density ÷ 1,000 = 2.7, so it sinks.
Density of common materials
| Material | kg/m³ | g/cm³ | lb/ft³ | Floats in fresh water? | Value and source |
|---|---|---|---|---|---|
| Air | 1.23 | 0.00123 | 0.0765 | Yes | Reference value. Standard atmosphere, sea level, 15 °C |
| Gasoline | 740 | 0.74 | 46.2 | Yes | Typical value. Varies with blend and temperature |
| Oak wood | 750 | 0.75 | 46.8 | Yes | Typical value. Air-dried oak; varies with species and moisture |
| Ice | 917 | 0.917 | 57.2 | Yes | Reference value. Ordinary ice at 0 °C |
| Water (fresh) | 1,000 | 1 | 62.4 | Neutral (the reference) | Reference value. Fresh water at about 4 °C, the reference this tool uses |
| Concrete | 2,400 | 2.4 | 150 | No | Typical value. Design figure for normal-weight concrete; varies with the mix |
| Aluminum | 2,700 | 2.7 | 169 | No | Reference value. Pure aluminum at room temperature |
| Steel | 7,850 | 7.85 | 490 | No | Typical value. Carbon steel; alloys vary |
| Copper | 8,960 | 8.96 | 559 | No | Reference value. Pure copper at room temperature |
| Lead | 11,300 | 11.3 | 708 | No | Reference value. Pure lead at room temperature |
| Gold | 19,300 | 19.3 | 1,210 | No | Reference value. Pure gold at room temperature |
What a liter, a cubic foot and a gallon of each material weigh
| Material | 1 liter (kg) | 1 cubic foot (lb) | 1 US gallon (lb) |
|---|---|---|---|
| Air | 0.00123 | 0.0765 | 0.0102 |
| Gasoline | 0.74 | 46.2 | 6.18 |
| Oak wood | 0.75 | 46.8 | 6.26 |
| Ice | 0.917 | 57.2 | 7.65 |
| Water (fresh) | 1 | 62.4 | 8.35 |
| Concrete | 2.4 | 150 | 20 |
| Aluminum | 2.7 | 169 | 22.5 |
| Steel | 7.85 | 490 | 65.5 |
| Copper | 8.96 | 559 | 74.8 |
| Lead | 11.3 | 708 | 94.6 |
| Gold | 19.3 | 1,210 | 161 |
Density unit conversion matrix: 1 g/cm³ in every unit
| Unit | Name | 1 g/cm³ equals | Precision |
|---|---|---|---|
| g/cm³ | grams per cubic centimeter | 1 | Exact |
| kg/m³ | kilograms per cubic meter | 1,000 | Exact |
| lb/ft³ | pounds per cubic foot | 62.428 | Rounded to 6 significant digits |
| g/mL | grams per milliliter | 1 | Exact |
| lb/in³ | pounds per cubic inch | 0.0361273 | Rounded to 6 significant digits |
| kg/L | kilograms per liter | 1 | Exact |
Worked examples: density, mass and volume
| Problem | Formula with the numbers | Answer | In fresh water |
|---|---|---|---|
| Density of a block: 540 g and 200 cm³ | ρ = m ÷ V = 540 g ÷ 200 cm³ | Density 2.7 g/cm³ | Sinks in fresh water |
| Mass of a piece of aluminum: 1.5 L and 2700 kg/m³ | m = ρ × V = 2,700 kg/m³ × 1.5 L | Mass 4.05 kg | Sinks in fresh water |
| Volume of fuel: 10 lb and 740 kg/m³ | V = m ÷ ρ = 10 lb ÷ 740 kg/m³ | Volume ≈ 1.61928 gal | Floats in fresh water |
| Density in pounds per cubic foot: 25 lb and 0.4 ft³ | ρ = m ÷ V = 25 lb ÷ 0.4 ft³ | Density 62.5 lb/ft³ | Sinks in fresh water |
| Mass of water in a tank: 20 gal and 1 kg/L | m = ρ × V = 1 kg/L × 20 gal | Mass ≈ 166.908 lb | Neutrally buoyant in fresh water |
| Size of an ice cube: 30 g and 917 kg/m³ | V = m ÷ ρ = 30 g ÷ 917 kg/m³ | Volume ≈ 32.7154 cm³ | Floats in fresh water |
| Mass of a cubic inch of gold: 1 in³ and 19320 kg/m³ | m = ρ × V = 19,320 kg/m³ × 1 in³ | Mass ≈ 11.1677 oz | Sinks in fresh water |
Exact unit factors used
| Unit | Equals | Precision |
|---|---|---|
| 1 mg (milligrams) | 0.000001 kg | Exact |
| 1 g (grams) | 0.001 kg | Exact |
| 1 oz (ounces) | 0.028349523125 kg | Exact |
| 1 lb (pounds) | 0.45359237 kg | Exact |
| 1 mL (milliliters) | 0.000001 m³ | Exact |
| 1 L (liters) | 0.001 m³ | Exact |
| 1 cm³ (cubic centimeters) | 0.000001 m³ | Exact |
| 1 in³ (cubic inches) | 0.000016387064 m³ | Exact |
| 1 ft³ (cubic feet) | 0.028316846592 m³ | Exact |
| 1 gal (US gallons) | 0.003785411784 m³ | Exact |
| 1 fl oz (US fluid ounces) | ≈ 2.957352956 × 10⁻⁵ m³ | Rounded to 10 significant digits |
| 1 g/cm³ (grams per cubic centimeter) | 1,000 kg/m³ | Exact |
| 1 lb/ft³ (pounds per cubic foot) | ≈ 16.01846337 kg/m³ | Rounded to 10 significant digits |
| 1 g/mL (grams per milliliter) | 1,000 kg/m³ | Exact |
| 1 lb/in³ (pounds per cubic inch) | ≈ 27,679.90471 kg/m³ | Rounded to 10 significant digits |
| 1 kg/L (kilograms per liter) | 1,000 kg/m³ | Exact |
How to find density, mass or volume
- Choose what to solve for. Pick density, mass or volume. The calculator uses ρ = m ÷ V, and rearranges it to m = ρ × V or V = m ÷ ρ for the other two.
- Enter the two values you know. Type each number and pick its unit (mass in mg, g, kg, oz or lb; volume in mL, L, cm³, m³, in³, ft³, gal or fl oz; density in g/cm³, kg/m³, lb/ft³, g/mL, lb/in³ or kg/L). The page opens with 540 g in 200 cm³. The units do not have to match.
- Choose the unit for the answer. The unit menu of the quantity you are solving for sets the unit of the answer, and the same answer is also shown in two or three other common units. For the example that is density 2.7 g/cm³.
- Check the working. The calculator writes the formula with your numbers in, converts to kg, m³ and kg/m³ with exact factors, and rounds once at the end: ρ = m ÷ V = 540 g ÷ 200 cm³ gives density 2.7 g/cm³.
- Read the float-or-sink line. The density is compared with fresh water at 1,000 kg/m³: below it the object floats (and the line gives the share under the surface), above it the object sinks. For the example: sinks in fresh water.
Frequently asked questions
- What is the density formula?
- Density is mass divided by volume: ρ = m ÷ V, where ρ (the Greek letter rho) is density, m is mass and V is volume. For 540 g in 200 cm³, ρ = m ÷ V = 540 g ÷ 200 cm³ gives density 2.7 g/cm³. The SI unit is kilograms per cubic meter; chemistry and materials work often use g/cm³, and US customary work uses lb/ft³.
- How do I find mass from density and volume?
- Multiply: m = ρ × V. Use units that agree, or let the calculator convert them. For 1.5 L of a 2,700 kg/m³ metal the mass is 2,700 kg/m³ × 1.5 L = 4.05 kg (about 8.92872 lb). Choose "Mass" under "Solve for", type the density and the volume, and read the answer in kg, g, lb or oz.
- How do I find volume from mass and density?
- Divide: V = m ÷ ρ. 10 lb of a 740 kg/m³ fuel fills 10 lb ÷ 740 kg/m³ = about 1.61928 gal, or about 6.12963 L. The volume comes out in the unit you pick, so a mass in pounds and a density in kilograms per cubic meter can still give gallons.
- How do I convert g/cm³ to kg/m³ and lb/ft³?
- Multiply g/cm³ by 1,000 to get kg/m³ (1 g/cm³ = 1,000 kg/m³, because a cubic meter holds a million cubic centimeters and a kilogram is a thousand grams). To get lb/ft³ multiply by 62.428. Going the other way, 1 lb/ft³ is 16.0185 kg/m³. The conversion matrix above lists 1 g/cm³ in all six units, and the factors come from the exact definitions of the pound (0.45359237 kg) and the inch (0.0254 m).
- Is 1 mL the same as 1 cm³, and 1 g/mL the same as 1 g/cm³?
- Yes. A liter is defined as a cubic decimeter, so 1 L = 1,000 cm³ and 1 mL = 1 cm³ exactly. That makes g/mL, g/cm³ and kg/L the same number: 540 g in 200 mL is 2.7 g/mL, 2.7 kg/L and 2.7 g/cm³. The calculator treats them as equal and leaves the repeats out of its list of other units.
- How do I know if something floats?
- Compare its density with the water's. Fresh water is taken as 1,000 kg/m³ (about 62.428 lb/ft³): denser objects sink and less dense ones float. A floating object displaces its own weight of water, so the share of its volume below the surface equals its density divided by the water's. Ice at 917 kg/m³ floats with about 91.7% under the surface, and a 30 g ice cube takes up about 32.7154 cm³. This assumes one uniform material: a steel ship floats because its hull and the air inside give it an overall density below the water's. Salt water is denser than fresh water, so an object can sink in a lake and float in the sea.
- What is the density of water?
- This calculator uses 1,000 kg/m³, which is 1 g/cm³ or 1 kg/L and about 62.428 lb/ft³. That is the value of fresh water near 4 °C, where it is densest. At 20 °C it is a little lower, about 998.2 kg/m³ (a typical value), so an object within a fraction of a percent of 1,000 kg/m³ can float or sink depending on the temperature. A US gallon of water is therefore about 8.345 lb.
- What is specific gravity or relative density?
- It is the density of a material divided by the density of water, so it has no unit. The calculator shows it as "Density relative to fresh water": 2.7 for the example, 7.85 for steel (a typical value) and 0.917 for ice. Anything above 1 sinks in fresh water and anything below 1 floats.
- How do I find the density of an irregular object?
- Weigh it for the mass, then find the volume by displacement: lower it into a measuring container of water and read how far the level rises (1 mL of rise is 1 cm³). An object that weighs 540 g and raises the level by 200 mL has a density of 2.7 g/mL. If it floats, push it under with a thin rod; if it absorbs water, the result is only approximate.
- Does density change with temperature?
- Yes. Most materials expand when they warm, so the same mass fills more volume and the density falls; gases change the most, and for them pressure matters too. Water is unusual: it is densest near 4 °C and slightly less dense both colder and warmer. The densities in the tables are for room temperature or the conditions stated, and any density you type is used as given.
- Is the pound a unit of mass or of weight in lb/ft³?
- In density units the pound is a pound of mass (the avoirdupois pound, exactly 0.45359237 kg), so lb/ft³ is mass per volume, the same kind of quantity as kg/m³. The calculator gives a mass in pounds, which is what a scale reads, not a force. There are 16 ounces in a pound, and a US gallon holds 128 US fluid ounces or 231 cubic inches, which is 3.785412 liters.
How it works
Density ρ is mass m per volume V: ρ = m ÷ V, so m = ρ × V and V = m ÷ ρ. The two numbers you type are read as exact decimals, converted to SI (kg, m³ and kg/m³) with exact rational factors, combined, and converted to the unit you chose, and the result is rounded once, to 6 significant digits, for display (a rounded number is marked with "≈"). The factors come from exact definitions: 1 lb = 0.45359237 kg, 1 oz = 1/16 lb, 1 in = 0.0254 m, 1 ft = 12 in, 1 US gallon = 231 in³, 1 US fluid ounce = 1/128 gallon, 1 L = 1 dm³ = 0.001 m³ and 1 mL = 1 cm³ (NIST Special Publication 811 and NIST Handbook 44). The float-or-sink check compares the density with 1,000 kg/m³, the usual reference value for fresh water at about 4 °C (kg/m³); it treats the object as one uniform material and does not account for salt water, a hollow shape or a trapped air pocket. The material tables show each density to 3 significant digits and label it as a reference value (a standard value for the pure material at room temperature or the stated conditions) or a typical value (a material that varies with its grade, species, moisture or blend); typical values are indicative only, and your own material may differ. Everything else in the tables is computed from those values with the same conversions as the tool.
Sources
- NIST Special Publication 811, Guide for the Use of the International System of Units: Appendix B (exact conversion factors, including the pound, inch, gallon and liter)
- NIST Handbook 44, Appendix C: general tables of units of measurement (US gallon = 231 cubic inches)
- BIPM, The International System of Units (SI Brochure): the kilogram, the cubic meter and the liter
- CRC Handbook of Chemistry and Physics: densities of the elements and common materials (reference values in the material table)
- Portland Cement Association, Design and Control of Concrete Mixtures: unit weight of normal-weight concrete (typical value in the material table)
More free tools
- Weight ConverterConvert kg, lb, oz, stone, tonnes, US and UK tons, grams, grains, carats and troy ounces exactly, with 12 st 4 lb style input and tables.
- Cubic Yards to TonsConvert cubic yards to tons and back for gravel, sand, topsoil, river rock and concrete, with weight-per-yard tables for each material.
- Length ConverterConvert inches, feet, yards, miles, millimeters, centimeters, meters and kilometers exactly, with feet-and-inches input and tables of common lengths.
- Temperature ConverterConvert Celsius, Fahrenheit, Kelvin, Rankine and Réaumur exactly, with a temperature-change mode, reference points, a °C to °F table and oven temperatures.
- Ideal Gas Law CalculatorSolve PV = nRT for pressure, volume, moles or temperature in atm, kPa, mmHg, psi, L, ft³, K, °C or °F, plus the combined gas law P1V1/T1 = P2V2/T2.
- Unit ConverterConvert length, area, volume, weight and temperature with exact factors, plus cubic yards, tons and bags for gravel, soil, sand and concrete.