Given any two of density, mass, or volume, we'll solve the third instantly using ρ = m/V — plus a quick reference table so you can sanity-check materials like steel, wood, or water.
A density calculator lets you instantly find the density, mass, or volume of any object or substance using the fundamental physics formula ρ = m/V. Simply enter any two of the three values — mass, volume, or density — and the calculator solves for the missing one. This single relationship underlies everything from why ships float to how geologists identify unknown rocks.
Density is one of the most useful physical properties in science because it's an intensive property — meaning it doesn't depend on how much of a substance you have. A gram of gold and a ton of gold have the exact same density (19,300 kg/m³), which makes density a powerful tool for identifying materials, verifying purity, and predicting how substances will behave when combined, such as whether one liquid will float on top of another.
This calculator is useful in many contexts: students use it to solve physics and chemistry homework problems, engineers use it to select materials for buoyancy-critical designs like ships and submarines, chemists use it to verify sample purity, and hobbyists use it for tasks like calculating whether a custom 3D-printed part will float or sink.
A metal cube has a mass of 2.7 kg and measures 10 cm on each side, giving a volume of 0.001 m³ (10 cm × 10 cm × 10 cm = 1000 cm³ = 0.001 m³). Its density is ρ = 2.7 / 0.001 = 2700 kg/m³, which matches the known density of aluminum — allowing you to identify the metal.
The density value this calculator produces represents the average density of the object — the total mass divided by the total volume it occupies, including any internal air gaps or hollow spaces. A solid block of aluminum and a hollow aluminum sphere of the same outer dimensions will have very different calculated densities, even though the aluminum material itself has the same density in both cases. When comparing your result to the reference table, remember these values are typical figures at room temperature and standard pressure — actual density can vary slightly with temperature, pressure, alloy composition, and purity. If your calculated density doesn't match any known material closely, consider whether the object might be hollow, an alloy or composite, or whether your mass or volume measurement contains an error.
Enter any two values (mass, volume, or density) and leave the third blank — the calculator solves for the missing value using ρ = m/V.
| Material | Density |
|---|---|
| Air (at sea level) | 1.2 kg/m³ |
| Wood (pine, average) | 700 kg/m³ |
| Ice | 920 kg/m³ |
| Water | 1,000 kg/m³ |
| Aluminum | 2,700 kg/m³ |
| Iron | 7,870 kg/m³ |
| Gold | 19,300 kg/m³ |