Density Calculator
Fill in any two of density, mass and volume, and the calculator finds the third. Pick your units separately for each box, take the density from a list of common materials, or let the tool work out the volume of a box, cylinder or sphere from its measurements. The result also says whether a solid object of that density would float in water. Everything runs in your browser.
Density is mass divided by volume. Fill in two of density, mass and volume, and leave one empty to find it.
In fresh water this would sink: it is 2.7 times as dense as water. This assumes a solid object with no trapped air.
| kg/m³ | 2,700 |
|---|---|
| g/cm³ | 2.7 |
| g/mL | 2.7 |
| kg/L | 2.7 |
| lb/ft³ | 168.56 |
| lb/in³ | 0.097544 |
| lb/US gal | 22.533 |
Results are rounded to 5 significant digits. The material densities are typical published values: air, ice, water and the metals change with temperature and pressure, and wood, concrete, glass and fuels vary from sample to sample, so measure your own material when it matters. Everything runs in your browser.
Related Tools
[6 suggestions]Unit Converter
Convert length, weight, volume, area, speed, data size and time between metric, US and UK units, with exact results and a table of every unit.
Format ConversionMolar Mass Calculator: Molecular Weight from a Chemical Formula
Find the molar mass of a chemical formula in g/mol, with a breakdown by element and mass percent. Brackets and hydrates work, and grams, moles and particles convert.
Student ToolsGeometry Calculator: Area, Perimeter, Surface Area and Volume of Shapes
Find the area, perimeter, surface area or volume of a circle, ellipse, rectangle, trapezoid, regular polygon, sphere, cylinder, cone or box from its measurements.
Student ToolsIdeal Gas Law Calculator: Solve PV = nRT for Pressure, Volume, Moles or Temperature
Solve the ideal gas law PV = nRT for pressure, volume, moles or temperature, with units in atm, kPa, bar, mmHg, psi, liters, cubic meters, Celsius, Fahrenheit and kelvins.
Student ToolsConcrete Calculator: Cubic Yards and Bags for a Slab, Footing or Column
Calculate the concrete for a slab, footing, wall or round column in cubic yards and cubic meters, with a waste allowance and the number of 80, 60 and 50 lb bags.
Math & MoneyKinetic Energy Calculator: Kinetic and Potential Energy
Find kinetic energy, mass or speed from KE = 1/2 m v squared, potential energy from m g h, and the speed and time of a falling object, in joules, kcal, kWh and more.
Student ToolsAbout the Density Calculator
Density is the mass of a material divided by the space it takes up: density = mass ÷ volume. Rearranged, mass = density × volume, and volume = mass ÷ density. A block with a mass of 540 grams and a volume of 200 cubic centimeters has a density of 2.7 grams per cubic centimeter, the typical figure for aluminum. The common units are kilograms per cubic meter, the SI unit, and grams per cubic centimeter, which is 1,000 times larger: water is close to 1 g/cm³ or 1,000 kg/m³, and one gram per milliliter is the same as one gram per cubic centimeter. In US units, 1 g/cm³ is about 62.43 pounds per cubic foot. The tool converts everything to SI first, using the exact definitions of the inch (2.54 cm) and the pound (0.45359237 kg), then shows the result in your units. To measure the density of a regular solid, weigh it and measure its sides, and choose the matching shape. For an irregular solid, the volume can be measured by how much water it pushes aside in a measuring cylinder. An object floats when its density is lower than that of the liquid, and the share of it under the surface equals the ratio of the two densities, which is why most of an iceberg is hidden. A hollow object such as a ship floats because its average density, air included, is lower than water. Material values in the list are typical published figures at ordinary conditions; real samples vary with temperature, pressure and composition. Everything runs in your browser and nothing you type is uploaded.
What is the formula for density?▾
Density equals mass divided by volume. With the mass in grams and the volume in cubic centimeters, the density is in grams per cubic centimeter. To find mass, multiply density by volume, and to find volume, divide mass by density.
How do I convert g/cm³ to kg/m³?▾
Multiply by 1,000. 2.7 g/cm³ is 2,700 kg/m³. To go back, divide by 1,000. One g/cm³ is also one g/mL and one kg/L.
What is the density of water?▾
About 1 g/cm³, or 1,000 kg/m³. It changes slightly with temperature: it is close to 999.97 kg/m³ near 4 °C and about 998.2 kg/m³ at 20 °C.
How do I find the density of an irregular object?▾
Weigh it, then lower it into a measuring cylinder with water and read how far the level rises. The rise is the volume. Divide the mass by that volume.
Why does ice float on water?▾
Its density, about 916.7 kg/m³, is lower than that of liquid water. A solid object that floats sits with a share of its volume under water equal to its density divided by the density of the water, so ice floats with about 92 percent submerged in fresh water.
Is what I type uploaded?▾
No. The calculation happens in your browser, and what you type is not sent anywhere or stored.