Visual Tools
Calculators
Tables
Mathematical Keyboard
Converters
Other Tools

How to Compute the Cross Product

The cross product of two vectors in R3\mathbb{R}^3 is a new vector perpendicular to both. Write it as a 3×33 \times 3 determinant with i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k} in the top row and expand along that row.

Recognize the task

Two vectors in R3\mathbb{R}^3 joined by ×\times, or a request for "a vector perpendicular to both", "a normal to the plane", "the area of the parallelogram": (1,2,3)×(4,5,6)(1, 2, 3) \times (4, 5, 6), i×j\mathbf{i} \times \mathbf{j}. Test: are both vectors three-dimensional?
The cross product is defined in the cross product lesson.

Ways to do it

Determinanteasiest to remember
u×v=∣ijku1u2u3v1v2v3∣\mathbf{u} \times \mathbf{v} = \begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ u_1 & u_2 & u_3 \\ v_1 & v_2 & v_3 \end{vmatrix}
The determinant form, expanded along the first row.
Component formuladirect
u×v=(u2v3−u3v2, u3v1−u1v3, u1v2−u2v1)\mathbf{u} \times \mathbf{v} = (u_2 v_3 - u_3 v_2,\ u_3 v_1 - u_1 v_3,\ u_1 v_2 - u_2 v_1)
The component form: the same result with the middle sign already built in.
Basis productsi, j, k given
i×j=k,  j×k=i,  k×i=j\mathbf{i} \times \mathbf{j} = \mathbf{k},\ \ \mathbf{j} \times \mathbf{k} = \mathbf{i},\ \ \mathbf{k} \times \mathbf{i} = \mathbf{j}
For vectors written with i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k}, distribute and use the standard basis products.

Steps

StepOn (1,2,3)×(4,5,6)(1, 2, 3) \times (4, 5, 6)
1Set up the determinant. Top row i,j,k\mathbf{i}, \mathbf{j}, \mathbf{k}; then the first vector; then the second. The order of the rows matters.∣ijk123456∣\begin{vmatrix} \mathbf{i} & \mathbf{j} & \mathbf{k} \\ 1 & 2 & 3 \\ 4 & 5 & 6 \end{vmatrix}
2Find the i component. Cover the i\mathbf{i} column and take the 2×22 \times 2 determinant that is left.2⋅6−3⋅5=−32 \cdot 6 - 3 \cdot 5 = -3
3Find the j component, with a minus sign. Cover the j\mathbf{j} column, take the determinant, and change its sign.−(1⋅6−3⋅4)=−(−6)=6-(1 \cdot 6 - 3 \cdot 4) = -(-6) = 6
4Find the k component. Cover the k\mathbf{k} column.1⋅5−2⋅4=−31 \cdot 5 - 2 \cdot 4 = -3, so u×v=(−3,6,−3)\mathbf{u} \times \mathbf{v} = (-3, 6, -3)
5Check: the result is perpendicular to both. Its dot product with each original vector must be 00.−3+12−9=0-3 + 12 - 9 = 0 ✓,  −12+30−18=0\ -12 + 30 - 18 = 0 ✓

Worked examples

Example 1 · basis vectors

basic
(1,0,0)×(0,1,0)=(0−0, 0−0, 1−0)(1, 0, 0) \times (0, 1, 0) = (0 - 0,\ 0 - 0,\ 1 - 0)
component formula
=(0,0,1)= (0, 0, 1), that is i×j=k\mathbf{i} \times \mathbf{j} = \mathbf{k}
right-hand rule

Example 2 · with negative entries

signs
i\mathbf{i}: (−1)(−2)−0⋅3=2(-1)(-2) - 0 \cdot 3 = 2
for (2,−1,0)×(1,3,−2)(2, -1, 0) \times (1, 3, -2)
j\mathbf{j}: −(2⋅(−2)−0⋅1)=4-(2 \cdot (-2) - 0 \cdot 1) = 4
minus sign on the middle
k\mathbf{k}: 2⋅3−(−1)⋅1=72 \cdot 3 - (-1) \cdot 1 = 7
(2,−1,0)×(1,3,−2)=(2,4,7)(2, -1, 0) \times (1, 3, -2) = (2, 4, 7)
check: 4−4=04 - 4 = 0, 2+12−14=02 + 12 - 14 = 0

Example 3 · area of a parallelogram

length of the result
(1,2,3)×(4,5,6)=(−3,6,−3)(1, 2, 3) \times (4, 5, 6) = (-3, 6, -3)
from the steps above
∥(−3,6,−3)∥=9+36+9=54\|(-3, 6, -3)\| = \sqrt{9 + 36 + 9} = \sqrt{54}
area equals the cross product length
area =36≈7.35= 3\sqrt{6} \approx 7.35
54=9⋅6\sqrt{54} = \sqrt{9 \cdot 6}
The length rule is the parallelogram area formula.
See each component appear in the cross product visualizer.

See it happen

The two vectors span a parallelogram. The cross product stands straight up from it: its direction follows the right-hand rule (fingers from u\mathbf{u} to v\mathbf{v}, thumb along u×v\mathbf{u} \times \mathbf{v}) and its length equals the parallelogram's area. Swap the vectors and the thumb points down, which is why v×u=− u×v\mathbf{v} \times \mathbf{u} = -\,\mathbf{u} \times \mathbf{v}.

Common mistakes

Forgetting the minus on the j component

✗ (1,2,3)×(4,5,6)=(−3,−6,−3)(1, 2, 3) \times (4, 5, 6) = (-3, -6, -3)
✓ (−3,6,−3)(-3, 6, -3): the middle cofactor carries a minus sign

Reversing the order

✗ (4,5,6)×(1,2,3)=(−3,6,−3)(4, 5, 6) \times (1, 2, 3) = (-3, 6, -3)
✓ (3,−6,3)(3, -6, 3): the cross product is anti-commutative

Using it outside three dimensions

✗ (1,2)×(3,4)=−2(1, 2) \times (3, 4) = -2 as a vector
✓ the cross product is defined for vectors in R3\mathbb{R}^3; embed as (1,2,0)×(3,4,0)=(0,0,−2)(1, 2, 0) \times (3, 4, 0) = (0, 0, -2)

Skipping the check

✗ a sign slip goes unnoticed
✓ dot the result with both vectors; both answers must be 00