Cube Calculator
Calculate volume, surface area, and diagonals of a cube from its side length.
What is a Cube?
A cube is a three-dimensional solid shape with six identical square faces, twelve equal edges, and eight vertices (corners). It is the most symmetrical of all three-dimensional shapes - every face, edge, and vertex is geometrically equivalent to every other. Mathematically, a cube is a regular hexahedron, one of only five Platonic solids.
Because all sides of a cube are equal, there is only one measurement needed to fully describe it: the side length (s). From this single dimension, the volume, surface area, face diagonal, and space diagonal can all be derived precisely.
The volume of a cube (s³) represents how much three-dimensional space it encloses. The term “cubing” a number in mathematics - raising it to the power of three - comes directly from the cube’s volume formula. The surface area (6 × s²) represents the total area of all six square faces, telling you how much material would be needed to construct or coat the cube’s exterior.
The face diagonal is the diagonal drawn across a single square face, connecting two non-adjacent corners on that face. Since each face is a square with side s, the face diagonal = s√2 (by the Pythagorean theorem applied to the right triangle formed by two sides and the diagonal of the square face). The space diagonal connects two diagonally opposite corners of the entire cube, passing through its center. Its length is s√3, derived by applying the Pythagorean theorem in three dimensions: space diagonal = √(s² + s² + s²) = s√3.
Cubes appear throughout everyday life: dice, Rubik’s cubes, ice cubes, and cubic units of volume measurement (cm³, m³, ft³) all derive from or relate to the cube. In chemistry, many crystalline substances adopt cubic lattice structures. In computing, three-dimensional arrays of data are sometimes called “data cubes.”
Formula
Volume of a Cube:
Surface Area of a Cube:
Face Diagonal and Space Diagonal:
How to Use This Calculator
- Enter the side length of your cube. All sides are equal, so only one value is needed.
- Click Calculate to compute all four measurements simultaneously.
- Read the results - volume in cubic units, surface area in square units, and both diagonals in linear units matching your input.
- Application tip - if you know the volume and want the side length, compute s = ∛V manually and then enter that value to verify all other measurements.
Example Calculations
Example 1 - Dice (Side = 2 cm)
A standard casino die has a side length of approximately 2 cm.
Example 2 - Shipping Crate (Side = 1.2 m)
A cubic shipping crate has a side of 1.2 m. Find its capacity and material needed.