What is a tesseract?
A tesseract (also called a hypercube, 8-cell or regular 4-cube) is the four-dimensional counterpart of the cube: all its edges have the same length a and meet at right angles. It is bounded by 8 cubic cells and has 24 square faces, 32 edges and 16 vertices.
This calculator finds the hypervolume, the total volume of the 8 cubic cells, the total area of the 24 squares, the total length of the 32 edges, the diagonals and the circumradius of a tesseract from any one of its hypervolume, surface volume, edge or long diagonal.
How to use it
Choose what you know in What do you know? and enter that one value: the edge length a, the hypervolume, the surface volume (the total volume of the 8 cells) or the long diagonal d between opposite vertices. The value you enter is shown back unchanged and every other measure is solved from it. The length unit is a label only: lengths are shown in that unit, areas in its square, volumes in its cube and 4D volumes in its fourth power. The page shows results rounded to at most 6 decimal places and writes very large and very small values out in full.
Derivation of the formulas
Place the tesseract with edge 1 so that its 16 vertices are the points whose four coordinates are each 0 or 1. Two vertices are joined by an edge when they differ in exactly one coordinate: each vertex has 4 neighbours, which gives \(16 \cdot 4 / 2 = 32\) edges. A k-dimensional face is chosen by k free coordinates and fixed values of the other \(4 - k\), so there are
$$N_k = \binom{4}{k}\, 2^{4-k}$$faces of dimension k: 16 vertices, 32 edges, 24 squares and 8 cubic cells. Scaling every length by a gives
$$V_4 = a^4, \qquad S_3 = 8a^3, \qquad A_2 = 24a^2, \qquad L = 32a$$Opposite vertices such as (0,0,0,0) and (1,1,1,1) are \(\sqrt{1+1+1+1} = 2\) apart, so the long diagonal is \(d = 2a\) and the circumradius is \(a\). A cell diagonal is \(\sqrt{3}\,a\), a face diagonal \(\sqrt{2}\,a\).
Solving from other known values
Every measure is a fixed multiple of a power of the edge a: lengths grow like a, areas like \(a^2\), volumes like \(a^3\) and 4D volumes like \(a^4\). So the edge a follows from any one value by dividing by its constant and taking the matching root, and the other measures follow from it.
Worked example
The default is a tesseract with edge a = 4. Its hypervolume is 256 units⁴, its 8 cubic cells together hold 512 cubic units, its 24 squares together cover 384 square units, its 32 edges add up to 128 units and its long diagonal is 8 units.
FAQ
Why is the long diagonal exactly twice the edge?
In four dimensions the diagonal of a unit hypercube is \(\sqrt{4} = 2\), so it equals two edges. In three dimensions the cube diagonal is \(\sqrt{3}\) edges.
How many cubes bound a tesseract?
Eight, two for each of the four coordinate directions. Unfolded into three dimensions they form a cross of 8 cubes.
Does the unit change the numbers?
No. Geometry does not depend on the unit, so the unit only labels the results.
How accurate are the results?
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Accuracy and input range
Results are accurate to at least 9 significant digits for ordinary inputs. When a result depends on the small difference of two nearly equal entries (closer than one part in a million), fewer digits are reliable.
Enter each length from 0.000001 to 1,000,000,000, a volume from 0.000000000000000001 to 1,000,000,000,000,000,000,000,000,000 and a 4D volume from 0.000000000000000000000001 to 1,000,000,000,000,000,000,000,000,000,000,000,000. Anything outside is refused with a message naming the range.
References
H. S. M. Coxeter, Regular Polytopes, 3rd ed., Dover, 1973
D. Zwillinger (ed.), CRC Standard Mathematical Tables and Formulae, 33rd ed., 2018