Calculate the density of a cube from its side length and mass. Identify materials by comparing against a reference database of common substances.
Density is one of the simplest yet most powerful material identification tools: measure the mass and dimensions of a cube sample, compute its density, and compare against known values to identify the material. This approach has been used since Archimedes and remains a standard technique in materials science, quality control, and education.
For a perfect cube, volume is simply the cube of the side length (V = s³), making the density calculation straightforward: ρ = m/V. Real-world samples may not be perfectly cubic, but a cube is the easiest shape to measure accurately with calipers, making it a preferred sample geometry for density determination.
This calculator accepts side length and mass in various units, computes density in both kg/m³ and g/cm³, and automatically identifies the closest matching material from a built-in database. A visual comparison chart shows where your sample falls among common materials, from balsa wood to platinum.
Students use cube density problems to check lab calculations and build intuition for mass, volume, and units. Quality control teams use the same calculation to confirm incoming stock, while hobbyists can compare an unknown sample against a reference list of common materials.
The comparison chart turns the raw density into a quick visual match, which is useful when several candidate materials have similar numeric values.
Volume of cube: V = s³. Density: ρ = m / V. Surface area: SA = 6s². Space diagonal: d = s√3.
Result: 2700 kg/m³ (2.700 g/cm³) — Aluminum
Volume = 0.05³ = 1.25 × 10⁻⁴ m³. Mass = 0.3375 kg. Density = 0.3375 / 1.25e-4 = 2700 kg/m³, which matches aluminum.
Density does not depend on sample size, which makes it a reliable identifier for cubes, blocks, and cut test pieces. Once you know mass and side length, you can compare the result against reference data to narrow the material list.
Use calipers for the side length and a balance for the mass. Small errors in side length matter more than small errors in mass because the side length is cubed. If the sample has coatings, voids, or rough edges, the measured density may drift away from the nominal material value.
Cube density checks are common in education, incoming inspection, and quick material screening. They are especially useful when you need a fast first-pass check before sending a sample for a more detailed material analysis.
Last updated:
Cubes are easy to measure accurately with calipers, and the volume formula is simple (s³). Other shapes like cylinders and spheres also work but require more measurements or careful diameter readings.
Many materials have distinct densities, but some overlap (e.g., titanium ≈ 4500 and granite ≈ 2700). Temperature, alloy composition, and porosity all affect density, so a ±5% match is typical for identification.
Yes—paint, plating, anodizing, or oxide layers add mass without significantly changing dimensions. For best results, use uncoated samples or account for coating thickness and density.
Slightly. Most solids expand about 0.003–0.01% per °C, reducing density by the same fraction. For metals, the change is negligible at room temperature but matters at high temperatures.
This calculator gives bulk density (including pores). For true material density of porous samples like concrete or wood, you would need to measure with a pycnometer or gas displacement method.
1 g/cm³ = 1000 kg/m³ = 62.43 lb/ft³. Water at 4 °C has a density of exactly 1 g/cm³ by definition of the original gram.