Volume of a cube: how it works
A cube has six equal square faces. Its volume is the side multiplied by itself three times, the number of unit cubes that fit inside. The total surface is six times the area of one face, and the space diagonal is the side times √3.
V is the volume, a the edge, S the total surface (6a²) and D the space diagonal (a√3).
This page opens the geometry calculator on this figure: type the measures and read every result at once, with the figure drawn and each formula next to its value. Everything is computed in your browser.
Formulas
- Volume:
V = a³ - Total surface:
S = 6a² - Diagonal:
D = a√3
Worked example
With a = 4:
V = a³ = 4³ = 64
S = 6a² = 6 × 16 = 96
D = a√3 = 4 × 1,7321 = 6.9282Table of sizes
Computed with the calculator’s own formulas, in any one unit of length (the results are in that unit, squared or cubed).
| a | Volume | Total surface | Diagonal |
|---|---|---|---|
| 1 | 1 | 6 | 1.7321 |
| 2 | 8 | 24 | 3.4641 |
| 3 | 27 | 54 | 5.1962 |
| 4 | 64 | 96 | 6.9282 |
| 5 | 125 | 150 | 8.6603 |
| 6 | 216 | 216 | 10.3923 |
| 8 | 512 | 384 | 13.8564 |
| 10 | 1,000 | 600 | 17.3205 |
| 12 | 1,728 | 864 | 20.7846 |
Working backwards
The edge is the cube root of the volume: a = ∛V. A cube of volume 27 has edge 3; one of 1000 has 10. A cube of 0.5 m edge holds 125 liters.
Common mistakes
- a³ is a × a × a, not 3 × a: for an edge of 4 the volume is 64, not 12.
- Doubling the edge multiplies the volume by 8, not by 2: a 10 cm cube holds 1000 cm³ (1 liter), a 20 cm cube holds 8000.
Where it is used
- A cubic water tank of 1 m edge holds 1,000 liters (1 m³). A cube of 0.5 m holds only 125, an eighth of that.
- A die with a 1.6 cm edge has 4.1 cm³ of plastic or resin.
Units
Volumes come out in cubic units of the length you type: cm × cm × cm gives cm³. 1 cm³ = 1 ml; 1000 cm³ = 1 liter; 1 m³ = 1000 liters; 1 ft³ = 28.317 liters; 1 US gallon = 3.785 liters.
How to use the calculator
- Fill in the measures of the figure; the example values are already there.
- Choose the unit of length: the results follow it, in square or cubic units.
- Read volume and the other measures, and copy them all with one button.
Frequently asked questions
What is the volume of a cube with edge 4?
4 × 4 × 4 = 64.
How do I find the edge of a cube from its volume?
Take the cube root: for V = 27, a = 3.
What is the longest straight line inside a cube?
The space diagonal, a√3: for an edge of 3 it is 5.2.