Calculate the volume, surface area, face diagonal, and space diagonal of a cube from its edge length, or solve backward from any one.
Known Measure
Try:
Volume
—
Enter a known measure above to see the volume.
—
Surface area
—
Face diagonal
—
Space diagonal
Enter a known measure above to see every dimension of the cube.
Edge length
—
Choose any known measure above to solve for the edge length.
Pick edge, volume, or surface area in the Known Measure dropdown — the calculator always solves back to the edge length first, then derives every other measure from it.
Worked steps
Diagonals of this cube
Measure
Value
4 min read3 steps6 terms3 examples6 FAQsV = a³
A cube has exactly one free parameter — its edge length — and everything else (volume, surface area, face diagonal, space diagonal) follows from it by a fixed formula.
📋
Walk-through
How to Use This Calculator
3 steps▸
1
Choose what you already know
Pick edge, volume, or surface area from the Known Measure dropdown — whichever value you already have. You don't need the edge length specifically; the calculator can solve backward from any of the three.
2
Enter the value and unit
Type the number and choose a unit (inches, feet, yards, centimeters, or meters). The unit is a display label only — the math is unit-agnostic — and volume automatically shows cubed units while surface area shows squared units.
3
Read every measure at once
The calculator solves for the edge length first, then derives volume, surface area, face diagonal, and space diagonal from it. The From Edge tab shows the headline result, Solve Backward shows the worked steps for any-input solving, and Diagonals lists the face and space diagonal in one table.
⚡
Reference
Formula & Methodology
5 formulas▸
Volume of a cube
V = a³
a is the edge length. Volume scales with the cube of the edge, so doubling the edge multiplies the volume by 8. Units are cubic (e.g., cubic feet, cubic centimeters).
Surface area of a cube
SA = 6a²
A cube has six identical square faces, each with area a². Surface area scales with the square of the edge, so doubling the edge multiplies the surface area by 4. Units are square (e.g., square feet, square centimeters).
Face diagonal
d(face) = a√2
The diagonal line across one square face, from corner to opposite corner of that face. Follows directly from the Pythagorean theorem applied to two edges of the same face.
Space diagonal
d(space) = a√3
The diagonal line connecting two opposite corners of the cube, passing through its interior. It is the longest straight-line distance that fits inside the cube.
Solving backward
a = ∛V or a = √(SA ÷ 6)
Each forward formula above can be inverted to recover the edge length from volume or surface area. Once the edge length is known, every other measure follows from the forward formulas.
📖
Glossary
Key Terms Explained
6 terms▸
CubeA three-dimensional shape with six identical square faces, twelve equal edges, and eight vertices, where every angle is a right angle. All of its dimensions are determined by a single number: the edge length.
Edge lengthThe length of any one of the cube's twelve edges. Because every edge is identical, this single value determines the cube's volume, surface area, and both diagonal lengths.
VolumeThe amount of three-dimensional space enclosed by the cube — what you'd measure by filling it with water or sand. V = a³, expressed in cubic units.
Surface areaThe total area of all six of the cube's square faces combined — what you'd measure by wrapping it in flat material with no overlap or gaps. SA = 6a², expressed in square units.
Face diagonalThe diagonal line across one flat square face of the cube, connecting two opposite corners of that face. Equal to a√2, where a is the edge length.
Space diagonalThe diagonal line connecting two opposite corners of the cube through its solid interior — the longest line segment that fits inside the cube. Equal to a√3, where a is the edge length.
👥
Scenarios
Real-World Examples
3 worked examples▸
🧊
Forward calculation
Edge = 4
Known measure EdgeValue 4 ft
With an edge length of 4 ft, the volume is 64 ft³ and the surface area is 96 ft². The face diagonal is about 5.66 ft and the space diagonal is about 6.93 ft. This is the calculator's default example — a clean, round-number check that the math is working.
📦
Solving backward from volume
Volume = 64, find the edge
Known measure VolumeValue 64 ft³
Given a volume of 64 cubic feet, solving a = ∛V recovers an edge length of exactly 4.00 ft — the same cube as the first example, worked in reverse. This is the pattern for any "I know the capacity, I need the size" problem, like sizing a cube-shaped storage bin from its required volume.
📐
Reading the diagonals
Edge = 4, check the diagonals
Known measure EdgeValue 4 ft
For the same 4 ft cube, the face diagonal (a√2 ≈ 5.66 ft) is the longest straight line that fits flat across one face — useful for checking whether a square panel fits diagonally through a doorway. The space diagonal (a√3 ≈ 6.93 ft) is the longest straight line that fits anywhere inside the cube — useful for checking whether a rigid pole or rod will fit inside a cube-shaped box.
📄
Deep Dive
Cube volume, surface area, and diagonals — forward and backward
A cube has exactly one free parameter — its edge length — and everything else (volume, surface area, face diagonal, space diagonal) follows from it by a fixed formula. This calculator handles the common forward direction (edge length in, everything else out) and the less common but frequently needed backward direction (volume or surface area in, edge length out).
Why volume and surface area scale so differently
▸
Volume grows with the cube of the edge length (V = a³) while surface area grows with the square (SA = 6a²). That mismatch has real consequences: doubling a cube's edge multiplies its volume by 8 but its surface area by only 4, so larger cubes have proportionally less surface area per unit of volume than smaller ones. This is the same reason a large shipping container is more material-efficient per unit of storage than a small box, and why packaging designers favor fewer, larger boxes over many small ones when material cost matters.
When you need to solve backward
▸
Most textbook problems give you the edge length and ask for volume or surface area. Real-world problems often run the other way: you know a storage bin needs to hold 64 cubic feet and need to know how big to make each side, or you know how much sheet material you have to build a box and need to know what edge length that covers. Solving backward means inverting the forward formula — a = ∛V from volume, or a = √(SA ÷ 6) from surface area — and this calculator does both automatically based on what you select as the known measure.
Face diagonal vs. space diagonal
▸
These two diagonals are easy to confuse but measure different things. The face diagonal (a√2) is the longest line that fits flat across one of the cube's six square faces — think of a diagonal brace on a square door panel. The space diagonal (a√3) is the longest line that fits anywhere inside the solid cube, running from one corner through the interior to the exact opposite corner — the measurement that matters when checking whether a long, rigid object will fit inside a cube-shaped container. The space diagonal is always longer than the face diagonal for the same edge length, since √3 > √2.
❓
Questions
Frequently Asked Questions
6 questions▸
What is the volume of a cube?+
V = a³, where a is the edge length. For a cube with edge 4, that's 64 cubic units. Volume is what the solid cube would hold if filled — for example, the water or sand it would displace.
What is the surface area of a cube?+
SA = 6a², where a is the edge length. For a cube with edge 4, that's 96 square units — six identical faces of 16 square units each. Surface area is the amount of material needed to cover the cube's outer surface with no overlap.
What is the space diagonal of a cube?+
The space diagonal — the line connecting two opposite corners through the cube's interior — is a√3. For a cube with edge 4, that's about 6.93 units. It is the longest straight-line distance that fits anywhere inside the cube.
How do I find the edge length from volume?+
Take the cube root of the volume: a = ∛V. Pick Volume in the Known Measure dropdown and this calculator solves it for you automatically, then derives every other measure from the recovered edge length.
What units does the calculator use?+
Edge length, face diagonal, and space diagonal use whichever linear unit you select (inches, feet, yards, centimeters, or meters). Surface area automatically uses that unit squared, and volume automatically uses that unit cubed.
What is the face diagonal of a cube?+
The face diagonal — the diagonal line across one flat square face, corner to corner — is a√2. For a cube with edge 4, that's about 5.66 units. It follows directly from the Pythagorean theorem applied to two edges of the same face.
📄
Save & share
Get a branded PDF of your results
Download a one-page PDF of your numbers instantly. Add your email to also get our occasional calculator tips — no spam, unsubscribe anytime. Privacy.