What is a tetrahedron?
A tetrahedron is a solid with four triangular faces, four corners A, B, C, D and six edges. This calculator takes any tetrahedron, not only a regular one. The edges come in three opposite pairs that share no corner: a = AB with a′ = CD, b = AC with b′ = BD, and c = AD with c′ = BC. The faces are ABC (edges a, b, c′), ABD (a, c, b′), ACD (b, c, a′) and BCD (a′, b′, c′).
How to use it
Choose what you know. Six edges: enter the three pairs of opposite edges a, a′, b, b′, c, c′ as labelled. Four corner points: enter the x, y and z coordinates of A, B, C and D. The page shows the volume, the surface area, the surface-to-volume ratio, the area of each face and the six edges. If the edges cannot be joined into a tetrahedron, the page says why. If the corners lie in one plane, the page answers with volume 0 and says so. The length unit is a label only. The page rounds results to at most 6 decimal places and writes very large and very small values out in full.
Formulas
Volume from the six edges (the Cayley–Menger determinant written with opposite edges):
$$144V^2 = a^2a'^2\,(b^2+b'^2+c^2+c'^2-a^2-a'^2) + b^2b'^2\,(a^2+a'^2+c^2+c'^2-b^2-b'^2) + c^2c'^2\,(a^2+a'^2+b^2+b'^2-c^2-c'^2) - a^2b^2c'^2 - a^2c^2b'^2 - b^2c^2a'^2 - a'^2b'^2c'^2$$Area of a face with sides x, y, z (Heron’s formula):
$$16A^2 = 2x^2y^2 + 2y^2z^2 + 2z^2x^2 - x^4 - y^4 - z^4$$From four points, with the edge vectors from A:
$$V = \tfrac16\left|\,(B-A)\cdot\big((C-A)\times(D-A)\big)\right|, \qquad A_{ABC} = \tfrac12\left|(B-A)\times(C-A)\right|$$Derivation of the formulas
Put A at the origin and write the other corners as vectors. The volume is one sixth of the box spanned by the three edge vectors, which is the triple product above. Squaring it gives the Gram determinant of the three vectors. Each dot product in it follows from the edges by the law of cosines, for example \(2\,(B-A)\cdot(C-A) = a^2 + b^2 - c'^2\). Expanding
$$288V^2 = \det\begin{pmatrix} 0 & 1 & 1 & 1 & 1\\ 1 & 0 & a^2 & b^2 & c^2\\ 1 & a^2 & 0 & c'^2 & b'^2\\ 1 & b^2 & c'^2 & 0 & a'^2\\ 1 & c^2 & b'^2 & a'^2 & 0 \end{pmatrix}$$gives the opposite-edge form of the formulas section. Six lengths make a tetrahedron exactly when each face obeys the triangle inequality and this determinant is not negative. A determinant of 0 means the four corners lie in one plane. The page decides both tests exactly from the digits you type, so a flat set of edges is recognised and never shown as a tiny volume. The face areas use the same identity for a triangle (Heron’s formula in squared form), and the surface area is their sum.
L. M. Blumenthal, Theory and Applications of Distance Geometry, Oxford University Press, 1953
Worked example
The default tetrahedron has a = 7, a′ = 5, b = 6, b′ = 6.5, c = 5.5 and c′ = 6. Its volume is about 23.99934 cubic units and its surface area about 61.067908 square units. Face ABC has an area of about 17.05689 square units, and face BCD about 14.248766.
FAQ
Which edges are opposite?
Two edges are opposite when they share no corner: AB and CD, AC and BD, AD and BC. Swapping the two edges of a pair changes the tetrahedron, so enter each edge where its label says.
Why are some sets of six edges refused?
Each face must be a triangle, and the four triangles must also fit together in space. Edges that pass the first test but fail the second give a negative Cayley–Menger determinant, and no tetrahedron has them.
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 edge from 0.000001 to 1,000,000,000, and each coordinate as 0 or as a number from 0.000001 to 1,000,000,000 in size, positive or negative. Anything outside is refused with a message naming the range.
References
L. M. Blumenthal, Theory and Applications of Distance Geometry, Oxford University Press, 1953
H. S. M. Coxeter, Introduction to Geometry, 2nd ed., Wiley, 1969