Updated · Built and checked by the PlinzoTools team, formulas tested against published sources
Calculate density from mass and volume.
5.0000 kg/m³
Density measures how much mass is packed into a given volume. This tool calculates it directly.
Enter mass (kg) and volume (m³). Density appears instantly in kg/m³.
Density = Mass / Volume
Density is a property of the material, not of the sample size. A small pebble and a large boulder of the same rock have the same density, even though their masses differ. That makes the number useful for identification: if you measure the mass and volume of an unknown solid and compute a density that matches a known material, it is a strong clue about what it is. It is not proof, however, because different materials can share similar densities and real samples often contain voids or impurities.
Suppose a hypothetical block has a mass of 2.7 kg and a volume of 0.001 m³ (one liter). Enter 2.7 and 0.001 and the calculator returns 2,700 kg/m³. To compare with a table listed in g/cm³, divide by 1,000, giving 2.7 g/cm³. Comparing this to a reference table of material densities would point toward a lightweight metal rather than steel, which is much denser. The comparison always needs a trustworthy reference table from a textbook or handbook, since this tool does not include one.
Comparing your result to the density of the surrounding fluid tells you whether an object floats. If it is less dense than the fluid, it floats; if it is denser, it sinks. A hollow object, such as a boat, counts as a whole, so use its total mass and the total volume it occupies, including trapped air. This is why a steel ship floats even though solid steel does not. The calculator only gives the average density of what you describe, so make sure the mass and volume refer to the same object.
The tool reports one average value from the two numbers you provide, rounded to four decimal places. It cannot detect internal voids, layered materials or mixtures, and it does not look up materials. For laboratory or industrial work where accuracy matters, use calibrated instruments and consult the relevant reference data rather than relying on a single quick calculation. Density also connects to other quantities: mass equals density times volume, and volume equals mass divided by density, which you can rearrange by hand once you know two of the three values.
1,000 kg/m³ (or 1 g/cm³) at standard conditions -- a common reference point since objects denser than water sink in it, and less dense objects float.
Divide by 1,000. For instance, 2,700 kg/m³ equals 2.7 g/cm³. To go the other way, multiply by 1,000.
Density is mass divided by volume, and division by zero is undefined. The tool requires a volume greater than zero.
Yes, as long as you know the mass and volume of the sample. Keep in mind that gas density changes a lot with temperature and pressure, so the result applies only to those conditions.
No. Density compares mass to volume, so a large light object such as a foam block can have a lower density than a small heavy object such as a coin.
Reference: NIST Weights and Measures