Volume of a Cube Calculator
Enter any one known measurement of a cube and this calculator finds the remaining four: volume, surface area, face diagonal, space diagonal, and side length. Choose your length unit (mm through yards) and volume output unit (cubic centimetres through litres), then watch every result update as you type. Step-by-step working is shown so you can follow the exact arithmetic.
Formula
Worked example
A cube with side 5 cm: Volume = 5^3 = 125 cm^3. Surface area = 6 x 5^2 = 150 cm^2. Face diagonal = 5 x 1.4142 = 7.071 cm. Space diagonal = 5 x 1.7321 = 8.660 cm.
What is the volume of a cube?
A cube is a three-dimensional shape with six equal square faces, twelve equal edges, and eight right-angle corners. Because all three dimensions are identical, the volume is simply the side length multiplied by itself three times: V = a x a x a = a^3. If the side is 5 cm, the volume is 125 cm^3. This cubic relationship means that doubling the side length multiplies the volume by eight, not two, which is why a large cube can hold far more than its proportions might suggest.
How to calculate cube volume from other measurements
You do not always know the side length directly. If you know the surface area (SA = 6a^2), you can recover the side with a = sqrt(SA / 6). If you know the face diagonal (the diagonal across one square face), the side follows from a = d / sqrt(2), because the face is a square and its diagonal is a x sqrt(2). If you know the space diagonal (corner to opposite corner through the interior), a = D / sqrt(3), since the space diagonal is a x sqrt(3) by the three-dimensional version of the Pythagorean theorem. This calculator solves from any of these five measurements so you never need to rearrange the formulas yourself.
Volume units and converting between them
Volume can be expressed in cubic length units (mm^3, cm^3, m^3, in^3, ft^3) or capacity units (litres, millilitres). One litre equals exactly 1000 cm^3, and one millilitre equals one cm^3, which is why a sugar cube (roughly 1 cm per side) holds about 1 mL. One cubic foot equals about 28.317 litres. The calculator converts between all common units automatically when you change the volume unit selector.
Practical uses: shipping, packaging and storage
Cube volume calculations appear in packaging (does the item fit?), shipping (cubic weight and dimensional weight pricing), construction (concrete for square footings), and science (density = mass / volume). The space diagonal is especially useful in shipping: it is the longest straight object that can be placed inside a cubic box, running from one corner to the diagonally opposite corner. For a 30 cm cube, that diagonal is about 51.96 cm, so a 50 cm ruler fits inside with room to spare.
Common cube sizes for reference
| Object | Side length | Volume | Surface area |
|---|---|---|---|
| Sugar cube | 1 cm | 1 cm3 | 6 cm2 |
| Rubik's Cube | 5.7 cm | 185.2 cm3 | 194.9 cm2 |
| Standard dice (25 mm) | 2.5 cm | 15.6 cm3 | 37.5 cm2 |
| Minecraft block | 1 m | 1 m3 | 6 m2 |
| Shipping cube (1 ft) | 30.48 cm | 28316.8 cm3 | 5574.2 cm2 |
| Olympic water tank (1 m side) | 1 m | 1000 L | 6 m2 |
Approximate side lengths and volumes for familiar cubes.
Frequently asked questions
What is the formula for the volume of a cube?
Volume = a^3, where a is the side length. You raise the side to the power of three because a cube has three identical dimensions. For example, a cube with a 4 cm side has a volume of 4 x 4 x 4 = 64 cm^3.
How do I find the side length from the volume?
Take the cube root of the volume: a = V^(1/3). If the volume is 125 cm^3, the side is 125^(1/3) = 5 cm. Most scientific calculators have a cube-root key; alternatively, raise the volume to the power of 1/3. This calculator does that step for you when you select "Solve from volume".
What is the face diagonal of a cube?
The face diagonal is the straight line across one square face from one corner to the opposite corner of that face. Because each face is a square, the diagonal equals the side multiplied by the square root of 2 (approximately 1.4142). For a 5 cm cube, the face diagonal is about 7.07 cm.
What is the space diagonal of a cube?
The space diagonal (also called the body diagonal) runs from one corner of the cube to the corner directly opposite it, passing through the interior. Its length is the side multiplied by the square root of 3 (approximately 1.7321). For a 5 cm cube, the space diagonal is about 8.66 cm. This is the longest straight line that fits inside the cube.
How does doubling the side affect the volume?
Doubling the side length multiplies the volume by eight (2^3 = 8). This is because volume scales with the cube of the linear dimension. A cube with a 10 cm side holds 1000 cm^3; a cube with a 20 cm side holds 8000 cm^3, eight times as much. Similarly, tripling the side multiplies volume by 27.
How many litres fit in a cubic metre?
Exactly 1000 litres fit in one cubic metre. One cubic metre is 100 cm x 100 cm x 100 cm = 1,000,000 cm^3, and since one litre equals 1000 cm^3, there are 1,000,000 / 1000 = 1000 litres in a cubic metre.