What Is the Density to Mass Calculator?
This calculator finds the mass of an object or substance when you know its density and volume. It is based on the fundamental relationship between these three quantities and works for any material — solids, liquids, or gases — as long as your density and volume use matching units.
How to Use It
Enter the density (\(\rho\)) and volume (\(V\)), then choose a consistent unit set. Use kg/m³ with m³ to get mass in kilograms, or g/cm³ with cm³ to get mass in grams. The calculator multiplies the two values together to return the mass instantly.
The Formula Explained
The equation is $$m = \rho \times V$$ where \(m\) is mass, \(\rho\) (rho) is density, and \(V\) is volume. Density tells you how much mass is packed into each unit of volume, so multiplying by the total volume gives the total mass. This rearranges the more familiar definition of density, \(\rho = m / V\).
Worked Example
Suppose water has a density of 1000 kg/m³ and you have 2 m³ of it. Then $$m = 1000 \times 2 = 2000 \text{ kg}$$ As another example, aluminum has a density of about 2.7 g/cm³; a block of 50 cm³ would have a mass of $$2.7 \times 50 = 135 \text{ g}$$
Densities of Common Materials
The values below are approximate densities at about 20 °C and 1 atm. Real samples vary with temperature, purity, alloy composition and moisture, so treat them as typical values and not exact constants.
| Material | Density (kg/m³) | Density (g/cm³) |
|---|---|---|
| Water (liquid) | ≈ 998–1000 | ≈ 0.998–1.000 |
| Ice | ≈ 917 | ≈ 0.917 |
| Air (dry) | ≈ 1.2 | ≈ 0.0012 |
| Aluminum | ≈ 2700 | ≈ 2.70 |
| Iron / steel | ≈ 7850 | ≈ 7.85 |
| Copper | ≈ 8960 | ≈ 8.96 |
| Lead | ≈ 11,340 | ≈ 11.34 |
| Gold | ≈ 19,300 | ≈ 19.3 |
| Wood (oak) | ≈ 600–900 | ≈ 0.6–0.9 |
| Concrete | ≈ 2400 | ≈ 2.4 |
| Gasoline | ≈ 740 | ≈ 0.74 |
| Ethanol | ≈ 789 | ≈ 0.789 |
| Mercury | ≈ 13,546 | ≈ 13.546 |
| Glass (common) | ≈ 2500 | ≈ 2.5 |
Density and Volume Unit Conversions
| Quantity | Conversion |
|---|---|
| Density | 1 g/cm³ = 1000 kg/m³ |
| Density | 1 kg/L = 1 g/mL = 1000 kg/m³ |
| Density (US/imperial) | 1 lb/ft³ ≈ 16.0185 kg/m³ |
| Volume | 1 L = 1000 cm³ = 0.001 m³ |
| Volume | 1 m³ = 1,000,000 cm³ |
| Volume (US/imperial) | 1 ft³ ≈ 0.0283168 m³ |
| Mass | 1 kg = 1000 g ≈ 2.20462 lb |
Use a consistent pair: kg/m³ with m³ gives kg, and g/cm³ with cm³ gives g. Mixing them (for example kg/m³ with cm³) gives a result that is off by a factor of 1000 or 1,000,000.
Step-by-Step Calculation by Hand
The relationship is \(m = \rho \times V\), where \(m\) is mass, \(\rho\) is density and \(V\) is volume.
- Identify density and volume. Find ρ from a measurement or a reference table. If you only know the shape, compute V first: box \(V = l \times w \times h\); cylinder \(V = \pi r^2 h\); sphere \(V = \tfrac{4}{3}\pi r^3\).
- Convert to a matching unit system. Use kg/m³ with m³, or g/cm³ with cm³. For instance, 2000 cm³ = 0.002 m³.
- Multiply ρ × V. Multiply the two numbers directly.
- Attach the mass unit. kg for the kg/m³ and m³ pair, g for the g/cm³ and cm³ pair.
- Sanity-check. Compare the result with the table above. A 1 L bottle of water should be about 1 kg, and a steel object should weigh roughly 7.85 times as much as the same volume of water.
Worked example: A solid steel block measures 20 cm × 10 cm × 10 cm.
Volume: \(V = 20 \times 10 \times 10 = 2000\ \text{cm}^3 = 0.002\ \text{m}^3\).
In kg/m³ and m³: \(m = 7850 \times 0.002 = \) 15.7 kg.
Check in g/cm³ and cm³: \(m = 7.85 \times 2000 = 15{,}700\ \text{g} = 15.7\ \text{kg}\). Both routes agree.
FAQ
Do the units have to match? Yes. Density and volume units must be consistent (e.g. kg/m³ with m³). Mixing units gives wrong answers.
Can I find volume instead? Rearrange to \(V = m / \rho\), or use a mass-to-volume calculator.
Does this work for gases? Yes, as long as you use the gas's actual density at the relevant temperature and pressure.