Online Calculators

Cube Calculator

Cube Calculator
Do you mean cubed? x³ Calculator

side length a
a =
face diagonal
f =
solid diagonal
d =
surface area
S =
V =

Cube Shape

Cube Solid Diagram with a side length, f face diagonal and d solid diagonal

a = side lengths
f = face diagonal
d = solid diagonal
S = surface area
V = volume

Calculator Use

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:

Furey, Edward "Cube Calculator" at https://www.calculatorsoup.com/calculators/geometry-solids/cube.php from CalculatorSoup, https://www.calculatorsoup.com - Online Calculators

Last updated: October 4, 2023

Follow CalculatorSoup: