Why one measurement fixes the whole cube
A cube has a single degree of freedom. Every edge is the same length, every face is the same square, and every angle is a right angle, so once you know one dimension there is nothing left to choose. That is why this calculator accepts any of five different measurements and returns the other four — all of them are just the edge length dressed in a different power or a different surd.
The three basic relations follow directly from the shape. Volume is length × width × height, and all three are a, so V = a³. Surface area is six identical squares of area a² each, so A = 6a². The two diagonals come from the Pythagorean theorem: across one face the diagonal spans legs a and a, giving a√2; from one corner to the opposite corner through the interior, the diagonal spans that face diagonal a√2 and the vertical edge a, so its length is √(2a² + a²) = a√3.
Those two surds are worth memorising: √2 = 1.41421356 and √3 = 1.73205081. A cube's space diagonal is always about 73% longer than its edge, which is the number that tells you whether a long object fits diagonally inside a box.
Solving backwards from volume, area or a diagonal
Each forward formula inverts cleanly. From volume, take the cube root: a = ∛V. From surface area, divide by six to recover one face's area and then take the square root: a = √(A/6). From the face diagonal, divide by √2; from the space diagonal, divide by √3. Nothing here needs an iterative solver, which is why the answers are exact to the limits of floating point.
The cube-root case is the one people find awkward by hand, and it is worth knowing the landmarks. ∛1000 = 10, ∛8000 = 20, ∛27000 = 30 — in general, adding three zeros to the volume multiplies the edge by ten. So a cubic yard is 27 cubic feet because 3³ = 27, and a cubic metre is 1,000 litres because a metre is 10 decimetres and 10³ = 1,000.
Be careful with units when you work backwards. A volume typed in cubic inches gives an edge in inches; a volume typed in cubic feet gives an edge in feet. Because the conversion factor is cubed, mixing the two is expensive: 1 ft³ is 1,728 in³, not 12. The unit selector on this page keeps all five outputs consistent with whatever you chose, so the only thing you have to get right is entering the number in the matching power.
Worked example: sizing a cubic tank to hold 500 gallons
You need a cubic tank holding 500 US gallons. Find the internal edge length, the surface area to be coated, and the longest straight object it can swallow.
- Convert to cubic feet. One cubic foot is 1,728/231 = 7.480519 US gallons, so 500 ÷ 7.480519 = 66.8403 ft³.
- Take the cube root. a = ∛66.8403 = 4.0583 ft, which is 4 ft 0.7 in.
- Check it forwards. 4.0583³ = 66.840 ft³, and 66.840 × 7.480519 = 500.0 gallons.
- Find the surface area. A = 6 × 4.0583² = 6 × 16.4698 = 98.82 ft² of internal coating.
- Find the space diagonal. D = 4.0583 × 1.7320508 = 7.029 ft, so a straight rod up to about 7 feet long fits inside corner to corner.
Now run it the other way to see how sensitive the volume is. Round the tank up to a 4 ft 6 in cube, so a = 4.5 ft: the volume jumps to 91.125 ft³ = 681.7 gallons. A 10.9% increase in edge length produced a 36.3% increase in capacity, because 1.109³ = 1.363. That is the square-cube law at work, and it is why small changes in a container's linear size have such large effects on what it holds.
How to read the scaling table
The table under the results shows the same cube at half, one, two and three times the edge length. Look across the rows and the pattern is exact: multiply the edge by k, and the surface area is multiplied by k² while the volume is multiplied by k³. Doubling the edge gives four times the area and eight times the volume.
The practical consequence is the surface-area-to-volume ratio, which for a cube is 6a²/a³ = 6/a. It falls as the cube grows. A 1-inch ice cube has 6 square inches of surface per cubic inch of ice; a 6-inch block has 1. That is why crushed ice melts far faster than a block of the same total mass, why small animals lose body heat more quickly than large ones, and why a chemical reactor's cooling problem gets harder as you scale it up.
The same ratio drives packaging economics in the other direction. Material cost tracks surface area while the goods shipped track volume, so a bigger box uses proportionally less cardboard per unit of contents. Among all rectangular boxes of a given volume, the cube is the one with the least surface area, which is why the cube is the reference shape any packaging comparison starts from. Compare with the rectangular prism calculator to see how much a long, thin box costs you.
Cube properties at common edge lengths
| Edge a | Volume a³ | Surface area 6a² | Face diagonal | Space diagonal |
|---|---|---|---|---|
| 1 | 1 | 6 | 1.4142 | 1.7321 |
| 2 | 8 | 24 | 2.8284 | 3.4641 |
| 3 | 27 | 54 | 4.2426 | 5.1962 |
| 4 | 64 | 96 | 5.6569 | 6.9282 |
| 5 | 125 | 150 | 7.0711 | 8.6603 |
| 6 | 216 | 216 | 8.4853 | 10.3923 |
| 8 | 512 | 384 | 11.3137 | 13.8564 |
| 10 | 1,000 | 600 | 14.1421 | 17.3205 |
| 12 | 1,728 | 864 | 16.9706 | 20.7846 |
At an edge of exactly 6 the numerical values of volume and surface area coincide at 216, which is a coincidence of units, not a geometric property — it happens where 6/a = 1.
Mistakes and limits
- Cubing a unit conversion linearly. One foot is 12 inches, so one cubic foot is 12³ = 1,728 cubic inches. Converting a volume with the linear factor understates it by a factor of 144.
- Confusing the two diagonals. The face diagonal a√2 lies flat on one side; the space diagonal a√3 goes through the interior. For fitting an object into a box, the space diagonal is the one that matters.
- Using internal and external dimensions interchangeably. A tank's capacity comes from internal dimensions; its material area comes from external ones. Wall thickness matters for both.
- Assuming the diagonal guarantees a fit. A rigid rod exactly as long as the space diagonal only fits along that one line, and only if it is infinitely thin. Any real thickness needs a shorter rod.
- Treating a rectangular box as a cube. If the three dimensions differ at all, use the rectangular prism calculator instead; there is no single edge to work from.
Where the cube sits among the solids
The cube is one of the five Platonic solids, the only convex polyhedra whose faces are all identical regular polygons meeting identically at every vertex. It is the only one that tiles space by itself, which is why it is the shape of choice for anything that has to stack without waste, from shipping containers to sugar cubes to voxel grids.
Among all closed surfaces of a given area, the sphere encloses the most volume; among all rectangular boxes of a given volume, the cube uses the least material. Compare a cube of edge 4.0583 ft with a sphere of the same 66.84 ft³ volume: the sphere's surface area is 79.6 ft² against the cube's 98.8 ft², about 19% less. Spheres win on material, cubes win on stacking, and that trade-off explains most packaging decisions.
For volumes that are not cubes, the sibling calculators are the ones you want: the cylinder volume calculator for round tanks and pipes, the cone volume calculator for hoppers and stockpiles, and the triangular prism volume calculator for wedges and gable spaces.
