Volume of a Tetrahedron (and Parallelepiped) from 4 Points

Volume of a Tetrahedron (and Parallelepiped) from 4 Points

Growing AI Skill PRO

Enter Calculation

Formula

Vtet=16|u→·(v→×w→)|where{u→=(Bx−Ax,By−Ay,Bz−Az)v→=(Cx−Ax,Cy−Ay,Cz−Az)w→=(Dx−Ax,Dy−Ay,Dz−Az)\begin{gathered} V_{\text{tet}} = \frac{1}{6}\left| \vec{u} \cdot (\vec{v} \times \vec{w}) \right| \\[1.5em] \text{where}\quad \left\{ \begin{aligned} \vec{u} &= \left({{\text{B}_x}} - {{\text{A}_x}},\; {{\text{B}_y}} - {{\text{A}_y}},\; {{\text{B}_z}} - {{\text{A}_z}}\right) \\ \vec{v} &= \left({{\text{C}_x}} - {{\text{A}_x}},\; {{\text{C}_y}} - {{\text{A}_y}},\; {{\text{C}_z}} - {{\text{A}_z}}\right) \\ \vec{w} &= \left({{\text{D}_x}} - {{\text{A}_x}},\; {{\text{D}_y}} - {{\text{A}_y}},\; {{\text{D}_z}} - {{\text{A}_z}}\right) \end{aligned} \right. \end{gathered}
Show calculation steps (1)
  1. Parallelepiped Volume

    Vpar=|u→·(v→×w→)|=6VtetV_{\text{par}} = \left| \vec{u} \cdot (\vec{v} \times \vec{w}) \right| = 6\,V_{\text{tet}}

    Same edge vectors u, v, w from point A; parallelepiped volume = |u . (v x w)| (6 times the tetrahedron volume)

Usage stats

Advertisement

Results

Tetrahedron volume
1.3333
cubic units (length unit cubed)
Parallelepiped volume 8 cubic units
Scalar triple product (signed) 8

Report an error on this page

What this calculator does

This tool takes four points A, B, C and D in three-dimensional space and returns two volumes: the volume of the parallelepiped spanned by the three edge vectors that start at A, and the volume of the tetrahedron whose vertices are those four points. The coordinates are plain numbers in whatever length unit you are working in, so the resulting volume is in that same unit cubed.

How to use it

Enter the x, y and z coordinates for each of the four points. Press calculate. The order of the points does not affect the size of the answer, only the sign of the intermediate triple product, which we discard by taking the absolute value. If all four points lie in the same plane the tetrahedron is flat and both volumes are zero, which is a valid result rather than an error.

Parallelepiped spanned by three vectors with an embedded tetrahedron highlighted
The tetrahedron is one sixth of the parallelepiped spanned by the same three vectors.

The formula explained

Build three edge vectors from point A: \(\vec{u} = \text{B} - \text{A}\), \(\vec{v} = \text{C} - \text{A}\), \(\vec{w} = \text{D} - \text{A}\). The scalar triple product \(T = \vec{u} \cdot (\vec{v} \times \vec{w})\) equals the determinant of the matrix whose rows are \(\vec{u}\), \(\vec{v}\) and \(\vec{w}\). Geometrically \(|T|\) is the volume of the parallelepiped these vectors span. A tetrahedron occupies exactly one sixth of that parallelepiped, so the tetrahedron volume is \(|T| / 6\).

$$V_{\text{tet}} = \frac{1}{6}\left| \vec{u} \cdot (\vec{v} \times \vec{w}) \right|$$$$V_{\text{par}} = \left| \vec{u} \cdot (\vec{v} \times \vec{w}) \right| = 6\,V_{\text{tet}}$$
Advertisement

Worked example

Let \(\text{A} = (0,0,0)\), \(\text{B} = (2,0,0)\), \(\text{C} = (0,2,0)\), \(\text{D} = (0,0,2)\). Then \(\vec{u} = (2,0,0)\), \(\vec{v} = (0,2,0)\), \(\vec{w} = (0,0,2)\). The cross product \(\vec{v} \times \vec{w} = (4,0,0)\), and \(T = \vec{u} \cdot (4,0,0) = 8\). So the parallelepiped volume is 8 and the tetrahedron volume is $$8 / 6 = 1.3333$$ cubic units.

Tetrahedron with vertex A and three edge vectors u, v, w pointing to B, C, D
The three edge vectors u, v, w from point A define the tetrahedron.

FAQ

Does point order matter? No. Reordering the points can flip the sign of \(T\) but never changes the magnitude, and we report the absolute value.

Why is my answer zero? The four points are coplanar, so the tetrahedron has no volume.

What units does the result use? Whatever length unit your coordinates use, raised to the third power. Centimeter coordinates give cubic centimeters.

Last updated:

Most popular in Geometry

View all Geometry calculators