How Do You Calculate the Density of a Cube? A Simple 3-Step Guide

Density tells you how much mass is packed into a given volume. To find the density of a cube, you divide its mass by its volume. The formula is density = mass / volume. You get the mass by weighing the cube on a scale. The volume is the side length cubed (side x side x side). The rest is just plugging the numbers in.
What You Need to Know Before You Start
Density is a property of a material. It does not change based on the size of the object, only what the object is made of. A small cube of lead and a large cube of lead have the same density. The units you use matter. Scientists and engineers around the world use the metric system, so density is usually expressed in grams per cubic centimeter (g/cm³) or kilograms per cubic meter (kg/m³). The National Institute of Standards and Technology defines the kilogram as the base unit of mass, so using metric units keeps your results consistent with standard measurements.
For a cube, the math is simpler than for other shapes because all three dimensions (length, width, height) are the same. You only need to measure one side.
The Two Measurements You Must Take
You need two pieces of information to calculate density:
- Mass: The amount of matter in the cube. You measure this with a balance or scale. For small cubes, a digital scale that reads to 0.1 grams is usually accurate enough.
- Volume: The amount of space the cube takes up. For a cube, you find volume by measuring the length of one edge. Then you multiply that number by itself three times (edge cubed).
Do not confuse mass with weight. Mass is constant. Weight depends on gravity. On Earth, a scale gives you a reading that corresponds to mass, so for everyday purposes you can treat the reading as the mass.
Step 1: Measure the Mass
Place the cube on a clean, level scale. Wait for the reading to stabilize. Record the number. If your scale measures in grams, use that. If it measures in ounces, convert to grams (1 ounce is roughly 28.35 grams) so your final density value will match standard tables.
For example, suppose you have a small metal cube. You put it on the scale and it reads 21.6 grams. Write that down as your mass.
Choosing the Right Scale
A kitchen scale works fine for cubes that weigh several grams or more. For tiny cubes (like sugar cubes), you may need a jewelry scale or a laboratory balance. The more precise your scale, the more accurate your density calculation will be.
Step 2: Measure the Volume
A cube has six equal square faces. That means its length, width, and height are all the same number. Measure one edge from one corner to the next. Use a ruler or caliper for accuracy. Record the length.
Volume of a cube = edge length x edge length x edge length, or edge³.
If your cube has an edge length of 2.0 centimeters, the volume is 2.0 x 2.0 x 2.0 = 8.0 cubic centimeters (cm³).
Why Volume Is Not the Same as Weight
Volume is a measure of space. Weight is a measure of force. A large cube of Styrofoam has a big volume but a small weight. A small cube of lead has a small volume but a large weight. Density is the ratio that connects these two properties.
Step 3: Divide Mass by Volume
Now you have both numbers. The density formula is:
Density = Mass / Volume
Take the mass you measured in Step 1 and divide it by the volume you calculated in Step 2.
Using the example numbers:
Mass = 21.6 grams
Volume = 8.0 cm³
Density = 21.6 / 8.0 = 2.7 g/cm³
That value (2.7 g/cm³) is the density of aluminum. You have identified the cube as being made of aluminum, or at least an aluminum alloy.
Checking Your Work
A quick way to check if your calculation is reasonable is to compare your result to known densities of common materials. Water has a density of 1.0 g/cm³. Most metals are much denser than water. Aluminum is about 2.7 g/cm³. Iron is about 7.9 g/cm³. Lead is about 11.3 g/cm³. Gold is about 19.3 g/cm³. If your result falls far outside these ranges, you may have made a measurement error.
Common Mistakes and How to Avoid Them
People make a few predictable errors when calculating the density of a cube.
Using the wrong units. If you measure the edge in inches but the mass in grams, your volume will be in cubic inches and your density will be in grams per cubic inch. That is not a standard unit. Stick to centimeters and grams, or meters and kilograms.
Forgetting to cube the edge. Some people multiply the edge length by three instead of raising it to the third power. Edge x 3 gives you a length, not a volume. Edge x edge x edge gives you cubic units.
Measuring the wrong dimension. On a cube, all edges are equal. But if your object is not a perfect cube (if the sides are different lengths), you have a rectangular prism, not a cube. The formula for volume changes to length x width x height.
Not zeroing the scale. Always tare the scale with the container or platform empty. If you place the cube on a piece of paper, weigh the paper first and subtract its mass from the total.
Using Density to Identify Unknown Materials
One of the most practical uses of density calculation is material identification. If you find a metal cube and do not know what it is, measure its density and compare it to a reference list.
Here is a short table of common densities for reference:
| Material | Density (g/cm³) |
|---|---|
| Water | 1.00 |
| Aluminum | 2.70 |
| Iron | 7.87 |
| Copper | 8.96 |
| Silver | 10.49 |
| Lead | 11.34 |
| Gold | 19.32 |
If your cube has a density near 8.96 g/cm³, it is likely copper. If it is near 7.87 g/cm³, it is probably iron or steel.
The Margin of Error
No measurement is perfect. Your scale may be off by 0.1 grams. Your ruler may be off by 0.5 millimeters. These small errors add up. If your calculated density is 2.65 g/cm³ but the reference says 2.70 g/cm³, you are probably still looking at aluminum. A 2% difference is acceptable for most practical purposes. If the difference is 10% or more, check your measurements or consider that the cube might be an alloy rather than a pure element.
Practical Tips for Better Accuracy
Use calipers instead of a ruler for measuring the edge. A standard ruler has markings every 1 millimeter, but calipers can measure to 0.1 millimeters or finer. This matters because the edge length is cubed. An error of 0.5 mm on a 20 mm cube changes the volume by about 7.5%.
Dry the cube completely before weighing it. Any moisture on the surface adds mass and changes the reading. If the cube has a hollow interior or porous surface, the displacement method will give a volume that includes the pores, which is actually the correct volume for density calculation.
For very small cubes (under 1 cm per side), use a precise laboratory scale. A typical kitchen scale may not detect the mass accurately enough. A cube of aluminum that is 0.5 cm on each side has a volume of 0.125 cm³ and a mass of only 0.3375 grams. Most kitchen scales cannot measure that reliably.
Key Takeaways
- The formula for density is mass divided by volume. For a cube, volume is the edge length cubed.
- Measure the mass on a scale. Measure one edge with a ruler. Cube that edge length to get volume.
- Use metric units (grams and centimeters) to keep your result in standard g/cm³.
- Compare your calculated density to known values to check if the number makes sense.
- A small error in measuring the edge becomes a larger error in volume because the edge is cubed. Measure carefully.