What Is the Cube Density Calculator?
This tool determines the density of a solid cube from two simple measurements: its mass and the length of one side. Density tells you how much matter is packed into a given volume, a key property for identifying materials, checking quality, and solving physics and chemistry problems.
How to Use It
Enter the cube's mass (in grams) and the length of one side (in centimeters). The calculator cubes the side to find the volume, then divides the mass by that volume. The result is the density in grams per cubic centimeter (g/cm³). Because a cube has equal sides, you only need one length measurement.
The Formula Explained
Density is defined as mass per unit volume: \(\rho = m / V\). For a cube, the volume is the side length raised to the third power, so \(V = a^3\). Substituting gives the working formula:
$$\rho = \frac{m}{a^3}$$
where \(\rho\) is density, \(m\) is mass, and \(a\) is the side length. Make sure your units are consistent — grams and centimeters yield g/cm³, the most common unit for solids.
Worked Example
Suppose a metal cube weighs 100 g and each side measures 2 cm. First compute the volume: \(2^3 = 8\) cm³. Then the density:
$$100 \div 8 = 12.5 \ \text{g/cm}^3$$That high value suggests a dense metal such as lead-tin alloy.
Densities of Common Materials
Typical densities at about 20 °C. Compare your cube's result with these values to guess the material.
| Material | Density (g/cm³) | Density (kg/m³) |
|---|---|---|
| Pine wood | ~0.5 | ~500 |
| Oak wood | ~0.75 | ~750 |
| Ice | ~0.92 | ~920 |
| Water | 1.00 | 998 |
| Aluminum | 2.70 | 2700 |
| Titanium | 4.51 | 4510 |
| Iron / steel | ~7.85 | ~7850 |
| Copper | 8.96 | 8960 |
| Silver | 10.49 | 10490 |
| Lead | 11.34 | 11340 |
| Gold | 19.32 | 19320 |
| Osmium | ~22.59 | ~22590 |
Values vary with alloy composition, purity, moisture (for wood) and temperature, so treat them as typical figures, not exact constants.
Density Unit Conversions
| From | To | Factor |
|---|---|---|
| 1 g/cm³ | kg/m³ | 1000 |
| 1 g/cm³ | g/mL | 1 (identical) |
| 1 g/cm³ | kg/L | 1 (identical) |
| 1 g/cm³ | lb/ft³ | ≈ 62.428 |
| 1 g/cm³ | lb/in³ | ≈ 0.036127 |
Length and mass inputs
| Quantity | Conversion |
|---|---|
| Side length | 1 in = 2.54 cm; 1 m = 100 cm |
| Mass | 1 kg = 1000 g; 1 lb ≈ 453.592 g |
Because volume is \(a^3\), the volume factor is the cube of the length factor. For example, 1 in = 2.54 cm, so 1 in³ = 2.54³ ≈ 16.387 cm³, and 1 m³ = 100³ = 1,000,000 cm³. Convert the side to centimeters and the mass to grams before using the calculator, which expects g and cm.
Interpreting Your Density Result
The calculator uses \(\rho = m / a^3\), giving g/cm³. Example: a 5 cm cube with a mass of 337.5 g has volume 5³ = 125 cm³, so \(\rho = 337.5 / 125 = \)2.7 g/cm³, which matches aluminum.
- Float or sink: compare with water at 1 g/cm³. Below 1, a solid object floats; above 1, it sinks.
- Matching a material: find the closest value in the reference table. Alloys, impurities and temperature shift real densities, so a match within a few percent is suggestive, not proof. Close values (e.g. steel vs. some other iron alloys) cannot be told apart by density alone.
- Error amplification: since the side is cubed, a 1% error in a gives roughly a 3% error in density (\(1/1.01^3 \approx 0.97\)). Measure the side carefully, ideally with calipers, and average several measurements.
- Hollow or porous cubes: voids, cavities or air pockets make the result an apparent (bulk) density that is lower than the material's true density. If your result is well below every plausible material, the cube may be hollow, porous or a composite.
FAQ
Can I use other units? Yes, as long as they are consistent. Kilograms with meters gives kg/m³; multiply g/cm³ by 1000 to get kg/m³.
What if my object isn't a perfect cube? This calculator assumes a true cube with equal sides. For a rectangular box, multiply length × width × height for the volume instead.
Why does density matter? Density helps identify substances, predict whether an object floats, and verify material purity, since each material has a characteristic density.