a = side lengths
f = face diagonal
d = solid diagonal
S = surface area
V = volume
Enter any 1 known variable for a cube into this online calculator to calculate 4 other unknown variables. A cube is a special case where l = w = h for a rectangular prism.
* Units: Note that units are shown for convenience but do not affect the calculations. The units are in place to give an indication of the order of the results such as ft, ft2 or ft3. For example, if you are starting with a in mm, your calculations will result with V in mm3, S in mm2 and d in mm.
Formulas for a cube:
- Volume of a cube:
- V = a3
- Surface area of a cube:
- the area of each face (a x a) times 6 faces
- S = 6a2
- Face diagonal of a cube:
- By the pythagorean theorem we know that
- f2 = a2 + a2
- Then f2 = 2a2
- solving for f we get
- f = a√2
- Diagonal of the solid cube:
- Again, by the pythagorean theorem we know that
- d2 = a2 + f2
- substituting f into this equation we get
- d2 = a2 + (a√2)2 = a2 + 2a2 = 3a2
- solving for d we get
- d = a√3
A cube is a special case of a rectangular prism where l = w = h.
For more information on cuboids see: Weisstein, Eric W. "Cuboid." From MathWorld--A Wolfram Web Resource, Cube.
Cite this content, page or calculator as: