Scalar Triple Product Calculator
Vectors
- Form the determinant of the three vectors as rows: | 1 2 3 ; 4 5 6 ; 7 8 10 |.
- Expand along the first row: 1 x (5 x 10 - 6 x 8) - 2 x (4 x 10 - 6 x 7) + 3 x (4 x 8 - 5 x 7).
- The scalar triple product is -3.00 - its sign gives the orientation: Left-handed (negative orientation).
- Its absolute value is the parallelepiped volume, 3.00; the tetrahedron on the same vectors holds a sixth of that, 0.50.
This scalar triple product calculator computes a . (b x c) for three vectors you enter, and returns the value together with the volume it represents. The scalar triple product equals the determinant of the 3 by 3 matrix formed by the three vectors, so the calculator builds that matrix and evaluates its determinant. The absolute value of the result is the volume of the parallelepiped the vectors span, and the tetrahedron on the same vectors has one sixth of that volume. The sign carries meaning too: positive is a right-handed triple, negative left-handed, and zero means the vectors are coplanar. For example, the mixed example gives -3, a volume of 3 and a tetrahedron volume of 0.50; the axis-aligned 2 by 3 by 4 box gives 24 and a tetrahedron volume of 4.00; and the skewed unit example gives 2.
The determinant method is the accepted standard for this calculation because the scalar triple product is defined as exactly that determinant of the three vectors' 3 by 3 matrix. That definition also explains the properties the calculator reflects: swapping any two vectors flips the sign but keeps the volume, and cyclic permutations change nothing. This page shows the formula, step-by-step workings, worked examples and sources, so you can follow each stage of the computation and check the result yourself rather than treating the output as a black box.
Worked examples
Mixed vectors, negative orientation
(1 · 2 · 3 · 4 · 5 · 6 · 7 · 8 · 10)
| Scalar triple product a . (b x c) | -3.00 |
| Parallelepiped volume | 3.00 |
| Tetrahedron volume | 0.50 |
| Orientation | Left-handed (negative orientation) |
Axis-aligned box 2 x 3 x 4
(2 · 0 · 0 · 0 · 3 · 0 · 0 · 0 · 4)
| Scalar triple product a . (b x c) | 24.00 |
| Parallelepiped volume | 24.00 |
| Tetrahedron volume | 4.00 |
| Orientation | Right-handed (positive orientation) |
Skewed unit vectors
(1 · 0 · 1 · 2 · 1 · 0 · 1 · 1 · 1)
| Scalar triple product a . (b x c) | 2.00 |
| Parallelepiped volume | 2.00 |
| Tetrahedron volume | 0.33 |
| Orientation | Right-handed (positive orientation) |
Three vectors, one determinant
The scalar triple product of three vectors a, b, and c is written a . (b x c). You compute it in two stages: first take the cross product b x c, which produces a new vector, then take the dot product of a with that result, which collapses everything to a single number. A scalar triple product calculator runs exactly those two operations in order, so the number it returns can be read three ways: as a signed volume, as an orientation test, and as a determinant. That last reading is the one that makes the arithmetic easy to check by hand.
The reason all three readings agree is that a . (b x c) equals the determinant of the 3 by 3 matrix whose rows are the three vectors. Write a as (a1, a2, a3), b as (b1, b2, b3), and c as (c1, c2, c3), and the matrix is those three rows stacked in that order. The calculator evaluates the determinant by cofactor expansion along the first row: it multiplies a1 by the 2 by 2 determinant of the b and c entries in the second and third columns, subtracts a2 times the 2 by 2 determinant of the first and third columns, and adds a3 times the 2 by 2 determinant of the first two columns. Each 2 by 2 determinant is a single product minus a single product, so the whole computation is nine multiplications and a few additions — no cross product vector needs to be written down at all.
The output is a signed number, and every part of the sign matters. Its absolute value is the volume of the parallelepiped the three vectors span; the tetrahedron built on the same vectors has one sixth of that volume. The sign encodes orientation: positive means the triple is right-handed, negative means left-handed, and zero means the vectors are coplanar, so the parallelepiped is flat and the volume is zero. A few worked values show the range. A mixed example returns -3, so the volume is 3 and the tetrahedron is 0.50. An axis-aligned box measuring 2 by 3 by 4 returns 24, with a tetrahedron of 4.00. A skewed unit example returns 2.
Two symmetry rules let you sanity-check any result without recomputing it. Swapping any two of the three vectors flips the sign but keeps the volume, which follows directly from how a determinant behaves when two rows trade places. Cyclic permutations — sending a to b, b to c, and c back to a — change nothing at all, so a . (b x c), b . (c x a), and c . (a x b) are the same number. If you reorder the vectors in the input fields and the magnitude moves, something was entered incorrectly. Use the scalar triple product calculator to get the signed value and the volume, then use these rules to confirm the answer is consistent.
Volume and the factor of six
The scalar triple product a . (b x c) equals the determinant of the 3 by 3 matrix formed by the three vectors. That single number does two jobs at once: its absolute value measures a volume, and its sign records how the three vectors are arranged in space. A scalar triple product calculator returns that number directly, so the geometry comes along with it.
The volume in question is that of the parallelepiped the three vectors span. Picture the vectors as three edges leaving one corner of a slanted box; the box they enclose is the parallelepiped, and the absolute value of the triple product is its volume. The factor of six comes from the tetrahedron. The tetrahedron built on the same three vectors has one sixth of the parallelepiped's volume, because a parallelepiped splits into six tetrahedra of equal volume. So once you have the triple product, dividing by six gives the tetrahedron's volume. The worked values show the pattern: the axis-aligned 2 by 3 by 4 box gives 24, and the tetrahedron on those vectors is 24 divided by 6, which is 4.00. The mixed example gives -3, so the volume is 3 and the tetrahedron is 0.50. The skewed unit example gives 2.
The sign is not noise. Positive means the triple is right-handed, negative means left-handed, and zero means the vectors are coplanar, which collapses the box to zero volume. Swapping any two vectors flips the sign but keeps the volume, since the shape is unchanged and only the handedness reverses. Cyclic permutations change nothing at all. That is why the mixed example can report -3 while its volume is still 3: the magnitude carries the size, the sign carries the orientation.
When you check a result from a scalar triple product calculator, read the output in two steps. Take the absolute value first and treat it as the parallelepiped volume; divide by six for the tetrahedron. Then look at the sign separately, as a statement about handedness or coplanarity. Keeping the two readings apart prevents the most common error, which is reporting a negative volume or forgetting the factor of six.
- Parallelepiped volume = |a . (b x c)|
- Tetrahedron volume = |a . (b x c)| / 6
- 2 by 3 by 4 box: triple product 24, tetrahedron 4.00
- Mixed example: triple product -3, volume 3, tetrahedron 0.50
- Skewed unit example: triple product 2
- Sign: positive right-handed, negative left-handed, zero coplanar
Orientation and handedness
The scalar triple product a . (b x c) equals the determinant of the 3 by 3 matrix formed by the three vectors. That single number carries two pieces of information at once: a size and a sign. The absolute value is the volume of the parallelepiped the vectors span, while the sign tells you how the three vectors are arranged in space. A scalar triple product calculator reports both, so you can read the volume and the orientation from one result.
The sign convention is simple. A positive result means the triple is right-handed, a negative result means it is left-handed, and zero means the vectors are coplanar. Handedness is the same idea as the right-hand rule: if the vectors are ordered so that a, then b, then c follow a right-handed pattern, the determinant comes out positive. Reverse the arrangement and the number turns negative. This is why the order you enter the vectors matters — the same three arrows can give either sign depending on how they are listed.
Swapping any two vectors flips the sign but keeps the volume. Cyclic permutations change nothing. In other words, exchanging a and b turns a positive triple negative without altering the parallelepiped, because the box is the same shape either way. Rotating the labels in a cycle — a to b, b to c, c back to a — leaves the determinant untouched. These two rules let you sanity-check a calculator result: if you reorder the inputs and the magnitude moves, something is off; if only the sign moves after a swap, the tool is behaving correctly.
The zero case deserves special attention. When the scalar triple product is zero, the three vectors are coplanar, which is the geometric test for linear dependence. Three vectors that all lie in one plane cannot span a three-dimensional volume, so the parallelepiped collapses and the determinant vanishes. If you are checking whether a set of vectors is independent, a zero scalar triple product is a quick answer: no. A nonzero result confirms the vectors are independent and define a genuine three-dimensional box.
The worked values show how the sign and the magnitude behave together. The mixed example gives -3, so the volume is 3 and the tetrahedron on the same vectors is 0.50. The axis-aligned 2 by 3 by 4 box gives 24, with a tetrahedron of 4.00. The skewed unit example gives 2. Each number is the determinant itself, and the volume is its absolute value.
| Example | Scalar triple product | Volume | Tetrahedron volume |
|---|---|---|---|
| Mixed example | -3 | 3 | 0.50 |
| Axis-aligned 2 by 3 by 4 box | 24 | 24 | 4.00 |
| Skewed unit example | 2 | 2 | Not given |
Where it is used
The scalar triple product is not just an exercise in matrix arithmetic; it answers a geometric question that comes up across physics, chemistry, engineering and numerical computing: how much space do three vectors enclose, and which way do they turn? Because a . (b x c) equals the determinant of the 3 by 3 matrix formed by the three vectors, a scalar triple product calculator turns that determinant into a volume and an orientation in one step. The absolute value is the volume of the parallelepiped the vectors span, and the tetrahedron on the same vectors has one sixth of that volume. The sign encodes orientation: positive is a right-handed triple, negative left-handed, and zero means the vectors are coplanar.
In crystallography, the three basis vectors of a unit cell span a parallelepiped whose volume is the cell volume, so the absolute value of their scalar triple product gives that volume directly. The same determinant appears when building the reciprocal lattice, the construction behind diffraction analysis; the orientation sign also tells you whether the basis you chose is right-handed or left-handed, a detail that matters when results are compared between sources. Swapping any two vectors flips the sign but keeps the volume, and cyclic permutations change nothing, so the calculator helps you check a basis without recomputing everything by hand.
In multivariable calculus and simulation, the Jacobian of a change of variables is a determinant, and for three variables it is exactly the scalar triple product of the transformed coordinate directions. That is why the same quantity sets the local volume scaling in a triple integral. In mesh volume computations, each small cell or tetrahedral element is measured the same way: the parallelepiped volume from the triple product, with the tetrahedron taking one sixth of it. A zero result flags degenerate, coplanar geometry that would break a volume calculation.
Worked values show how the numbers behave. The mixed example gives -3, meaning volume 3 and a tetrahedron of 0.50; the negative sign marks a left-handed triple. The axis-aligned 2 by 3 by 4 box gives 24, with a tetrahedron of 4.00, and the skewed unit example gives 2. Feeding your own vectors into a scalar triple product calculator returns the signed determinant, the volume, and the tetrahedron volume together, so you can confirm orientation and coplanarity at the same time.
Typical uses include:
- Crystal lattice volumes: the cell volume from the three basis vectors
- Reciprocal lattices: the same determinant, with the sign checking handedness
- Jacobian change-of-variables in triple integrals
- Mesh volume computations, where each element contributes one sixth of the parallelepiped volume
FAQs
What does the scalar triple product measure?
It measures the signed volume of the parallelepiped spanned by the three vectors. The sign carries orientation information: in the mixed example, a result of -3 means the volume is 3 with a left-handed orientation. So the magnitude gives the box's volume, and the sign tells you which way the vectors are ordered.
How is it computed?
It is computed as a determinant. You expand along the first row using the three 2 by 2 minors, exactly the steps the calculator shows. That determinant form is what turns the three vectors into a single signed number representing the parallelepiped's volume and orientation.
What does a zero result mean?
A zero result means the vectors are coplanar, or one is a combination of the others. In that case they span no volume, so the product is zero. Geometrically, the three vectors lie in a single plane, and the parallelepiped they would define collapses flat.
Why is the tetrahedron volume a sixth?
A tetrahedron built on the same three edge vectors occupies one sixth of the parallelepiped. In the box example, the parallelepiped volume is 24, so the tetrahedron volume is 4.00. Dividing the triple product's magnitude by six gives the tetrahedron's volume.
Does the order of vectors matter?
Cyclic order does not matter, but swapping any pair flips the sign. The identity is a . (b x c) = b . (c x a) = -a . (c x b). So the magnitude stays the same under any reordering, while the sign tracks whether you kept or changed the orientation.
Where do triple products appear in physics?
They appear in reciprocal lattice vectors for crystallography, in flux and volume integrals, and anywhere orientation and volume meet. In each case the triple product packages a volume together with a handedness, which is why it shows up wherever those two ideas are needed together.