What is a cube?
A cube is a three-dimensional geometric solid with six congruent square faces. It has 12 equal edges, 8 vertices, and 6 square faces. Because every edge has the same length, a cube can be completely described using one measurement: its side length.
The equal-edge property makes cube calculations especially straightforward. Once the side length is known, the volume, surface area, diagonals, and total edge length can all be calculated using standard geometric formulas.
How to calculate the volume of a cube
The volume of a cube represents the amount of three-dimensional space enclosed by the cube. Since its length, width, and height are all equal to the side length, the volume is found by multiplying the side length three times.
Volume formula
V = s × s × s = s³
For example, if a cube has a side length of 2 meters:
V = 2³ = 8 m³
How to calculate the surface area of a cube
A cube has six identical square faces. The area of one square face is s². Multiplying this by six gives the total surface area.
Surface area formula
A = 6s²
For a cube with a side length of 2 meters:
A = 6 × 2² = 24 m²
Cube diagonal formulas
A cube has two commonly used diagonal measurements. The face diagonal runs across one square face, while the space diagonal runs through the interior of the cube from one vertex to the opposite vertex.
Face diagonal
d = s√2
This is obtained from the Pythagorean theorem applied to one square face.
Space diagonal
D = s√3
This diagonal passes through the interior of the cube.
Total edge length of a cube
A cube contains 12 edges. Because every edge has the same length, the combined length of all edges is simply twelve times the side length.
Total edge length formula
L = 12s
Cube calculation example
Suppose the side length of a cube is 5 meters. The main measurements can be calculated as follows:
| Measurement | Formula | Result |
|---|---|---|
| Volume | 5³ | 125 m³ |
| Surface area | 6 × 5² | 150 m² |
| Total edge length | 12 × 5 | 60 m |
| Face diagonal | 5√2 | ≈ 7.071 m |
| Space diagonal | 5√3 | ≈ 8.660 m |
Common uses of cube calculations
Cube measurements are useful in geometry, mathematics, construction, engineering, packaging, manufacturing, storage, and material estimation. Volume can be used to determine capacity, while surface area can help estimate the amount of material needed to cover a cubic object.
The same formulas are also useful when working with cubic containers, storage spaces, boxes, blocks, tanks, models, and other objects with equal length, width, and height.
Frequently asked questions
What is the formula for the volume of a cube?
The volume of a cube is V = s³, where s is the length of one edge of the cube.
What is the surface area formula for a cube?
The total surface area is A = 6s² because a cube has six identical square faces.
How many edges does a cube have?
A cube has 12 edges, and all 12 edges have the same length.
How do you calculate the diagonal of a cube?
The face diagonal is s√2, while the space diagonal running through the cube is s√3.
Can I use different measurement units?
Yes. You can enter the side length in millimeters, centimeters, meters, inches, or feet. The calculator converts the input to meters internally for consistent calculations.
What is the difference between surface area and volume?
Surface area measures the total area covering the outside of the cube and is expressed in square units. Volume measures the three-dimensional space inside the cube and is expressed in cubic units.