Cube Calculator
Enter the side, volume, surface area, or space diagonal of a cube — instantly calculate all the other values, with an isometric diagram and step-by-step solution.
Pick which measurement you already know, enter its value, and every other property of the cube is calculated automatically.
Cube Diagram (isometric view)
Step-by-Step Solution
Here's exactly how this answer was calculated, one step at a time.
- 1
Start with the given side length
a = 5
A cube has six identical square faces, so this one value defines the entire solid.
- 2
Calculate the volume
V = a³ = 5³ = 125
The volume is the space enclosed inside the cube, found by cubing the side length.
- 3
Calculate the surface area
S = 6a² = 6 × 5² = 150
A cube has six equal square faces, each with area a², so the total surface area is six times a².
- 4
Calculate the face diagonal
f = a√2 = 5 × 1.4142 = 7.0711
Each face of the cube is a square, so its diagonal follows the same rule as a 2D square diagonal.
- 5
Calculate the space diagonal
d = a√3 = 5 × 1.7321 = 8.6603
The space diagonal cuts through the interior of the cube from one corner to the opposite corner, equal to a√3.
✓ Final Answer: a = 5, V = 125, S = 150, d = 8.6603
Free Online Cube Calculator
This cube calculator helps you instantly find the side length, volume, surface area, face diagonal, and space diagonal of any cube from a single known measurement. Just enter the side, volume, surface area, or space diagonal, and the calculator solves for every other value automatically, complete with an easy-to-read isometric diagram and a full step-by-step solution that shows exactly how each formula was applied.
Whether you're a student solving mensuration problems, a teacher preparing worked examples for class, an engineer estimating material for a cubical tank or box, or simply someone searching for a fast and accurate volume of a cube calculator or surface area of a cube calculator, this tool covers every common cube calculation you're likely to need.
A cube is one of the five Platonic solids and one of the most fundamental shapes in three-dimensional geometry. It has six identical square faces, twelve equal edges, and eight vertices, and every angle between adjacent faces is exactly 90 degrees. Because of this perfect symmetry, knowing just one measurement — the side length, volume, surface area, or diagonal — is enough to work out every other property of the solid, which is exactly what this cube calculator does for you automatically.
Cube Formulas Used
A cube is defined entirely by the length of one edge, usually written as 'a'. Every other measurement can be derived from this side length using the following standard mensuration formulas:
- Volume: V = a³ (side length multiplied by itself three times)
- Surface Area: S = 6a² (the area of one square face, multiplied by all six faces)
- Face Diagonal: f = a√2 (the diagonal across one flat square face, from the Pythagorean theorem)
- Space Diagonal: d = a√3 (the diagonal running through the interior of the cube, from one corner to the opposite corner)
- Side from volume: a = ∛V (cube root of the volume)
- Side from surface area: a = √(S / 6)
- Side from space diagonal: a = d / √3
How to Use This Cube Calculator
Using this calculator only takes three simple steps. First, select which measurement you already know from the dropdown menu — side length, volume, surface area, or space diagonal. Second, type in the value you have. Third, read off the results: the calculator instantly displays the side length, volume, surface area, face diagonal, and space diagonal, along with a to-scale isometric diagram and a detailed breakdown of the math behind every number.
This flexible 'solve for any value' approach means you never have to manually rearrange the volume or surface area formula yourself — the calculator handles all of the algebra, including cube roots and square roots, no matter which value you start with. It is especially useful when working backward, for example when you know how much a cubical storage tank should hold and need to find its side length, or when you know the diagonal of a cube-shaped crate but need its surface area for painting or wrapping.
Worked Example
Suppose you're designing a cube-shaped storage box and you know it needs to hold exactly 125 cubic centimeters of volume. Enter 125 as the volume, and the calculator first finds the side length using a = ∛V, giving a = 5 centimeters. From there it calculates the surface area (S = 6a² = 150 square centimeters), the face diagonal (f = a√2 ≈ 7.07 centimeters), and the space diagonal (d = a√3 ≈ 8.66 centimeters) — so you would need 150 square centimeters of material to build the box, and the longest straight line that fits inside it corner to corner is about 8.66 centimeters.
This same process works in reverse for any of the four inputs, making the tool equally useful as a side length calculator, a volume calculator, a surface area calculator, or a diagonal of a cube calculator.
Understanding the Cube's Two Diagonals
A cube actually has two different diagonals, and it's easy to confuse them. The face diagonal runs across one flat square face of the cube, connecting two opposite corners of that single face; because each face is a plain square, this diagonal follows the same formula as a 2D square, f = a√2. The space diagonal, on the other hand, cuts straight through the solid interior of the cube, connecting two opposite vertices on entirely different faces. Finding it requires applying the Pythagorean theorem twice — once across a face to get the face diagonal, and again from that face diagonal up through the height of the cube — which simplifies to d = a√3. The diagram above marks the space diagonal with a dashed green line running through the body of the cube, so you can see exactly which measurement it represents.
Cube vs. Cuboid: What's the Difference?
A cube is technically a special type of cuboid (rectangular box) — one where the length, width, and height are all equal. This means every cube follows the same rules as a cuboid (six rectangular faces, twelve edges, eight vertices), but with the added constraint that every edge is the same length. If your box has different length, width, and height values, use the Cuboid Calculator instead, since a single side value won't be enough to describe an unequal-sided box.
Where Cube Calculations Are Used
Cube geometry and mensuration formulas show up constantly in real life and across many fields of study:
- Students and teachers use it for geometry and mensuration homework, competitive exams, and lesson planning.
- Architects and engineers use cube volume and surface area when designing cubical tanks, rooms, modular blocks, and structural components.
- Packaging and manufacturing industries calculate the surface area of a cube to determine how much material or wrapping is needed for cube-shaped boxes and containers.
- Warehouse and logistics planners use cube volume calculations to estimate storage capacity and shipping space for cubical crates and pallets.
- Science and chemistry students use cube formulas when working with crystal lattices, unit cells, and other cube-shaped molecular structures.
Frequently Asked Questions
What is the formula for the volume of a cube?
The volume of a cube is calculated using V = a³, where a is the side length. Multiply the side length by itself three times to get the volume.
What is the formula for the surface area of a cube?
The total surface area is calculated using S = 6a², where a is the side length, since a cube has six identical square faces each with area a².
How do I find the side length if I only know the volume?
Rearrange the volume formula V = a³ to solve for a: a = ∛V. Simply take the cube root of the volume to get the side length — this calculator does that automatically.
What is the difference between a cube's face diagonal and space diagonal?
The face diagonal (f = a√2) runs across one flat square face of the cube. The space diagonal (d = a√3) runs through the interior of the cube, connecting two opposite corners on different faces.
Can this calculator find all cube values from just one input?
Yes. Enter any one known value — side length, volume, surface area, or space diagonal — and the calculator solves for the remaining values automatically, along with a full step-by-step solution.