Connect via MCP →

Enter Calculation

Formula

Show calculation steps (1)
  1. Magnitude of A × B

    Magnitude of A × B: Cross Product Calculator

    Magnitude of the cross product vector with components Cx, Cy, Cz

Advertisement

Results

Cross Product A × B
(-3, 6, -3)
vector perpendicular to both A and B
Component i (x) -3
Component j (y) 6
Component k (z) -3
Magnitude |A × B| 7.348469

What is the Cross Product?

The cross product of two three-dimensional vectors A and B produces a third vector that is perpendicular (orthogonal) to both. It is widely used in physics, engineering, and computer graphics to find torque, angular momentum, surface normals, and rotational axes. Unlike the dot product, which yields a scalar, the cross product yields a vector.

Two 3D vectors A and B with their cross product vector perpendicular to both
The cross product A \(\times\) B is a vector perpendicular to both A and B.

How to Use This Calculator

Enter the x, y, and z components of vector A and vector B. The calculator returns the three components of A \(\times\) B as well as the magnitude of the resulting vector. The result vector always points in the direction determined by the right-hand rule.

The Formula Explained

For A = (a₁, a₂, a₃) and B = (b₁, b₂, b₃):

$$\vec{A} \times \vec{B} = \begin{pmatrix} \text{A}_y\,\text{B}_z - \text{A}_z\,\text{B}_y \\[0.4em] \text{A}_z\,\text{B}_x - \text{A}_x\,\text{B}_z \\[0.4em] \text{A}_x\,\text{B}_y - \text{A}_y\,\text{B}_x \end{pmatrix}$$ The magnitude is $$\left\| \vec{A} \times \vec{B} \right\| = \sqrt{ C_x^{2} + C_y^{2} + C_z^{2} },$$ which also equals \(|A||B|\sin(\theta)\), the area of the parallelogram spanned by A and B.

Advertisement
Right hand rule showing fingers curling from vector A to vector B with thumb pointing along A cross B
The right-hand rule gives the direction of A \(\times\) B.

Worked Example

Let A = (1, 2, 3) and B = (4, 5, 6).

$$c_x = 2\cdot6 - 3\cdot5 = 12 - 15 = -3$$ $$c_y = 3\cdot4 - 1\cdot6 = 12 - 6 = 6$$ $$c_z = 1\cdot5 - 2\cdot4 = 5 - 8 = -3$$

So A \(\times\) B = (−3, 6, −3) with magnitude \(\sqrt{9 + 36 + 9} = \sqrt{54} \approx 7.348\).

FAQ

Is the cross product commutative? No. \(\vec{A} \times \vec{B} = -(\vec{B} \times \vec{A})\); swapping the order reverses the direction.

What if the vectors are parallel? The cross product is the zero vector, because \(\sin(0) = 0\).

Does it work in 2D? The cross product is defined for 3D vectors. For 2D vectors, set the z components to 0; the result will have only a z component.

Last updated: