Connect via MCP →

Enter Calculation

Formula

Show calculation steps (1)
  1. Magnitude of Cross Product

    Magnitude of Cross Product: 3D Vector Cross Product Calculator

    Length of the resulting vector, where cx, cy, cz are the cross product components above

Advertisement

Results

Cross Product a × b
( -3, 6, -3 )
resultant vector perpendicular to a and b
i component (x) -3
j component (y) 6
k component (z) -3
Magnitude |a × b| 7.3485

What Is the Cross Product?

The cross product of two three-dimensional vectors a and b produces a new vector that is perpendicular (orthogonal) to both inputs. It is fundamental in physics and engineering for computing torque, angular momentum, magnetic force, and surface normals in 3D graphics. Unlike the dot product, which returns a single number, the cross product returns a vector.

Two vectors and their perpendicular cross product vector
The cross product a x b is perpendicular to both a and b, following the right-hand rule.

How to Use This Calculator

Enter the three components of vector a (\(a_1\), \(a_2\), \(a_3\)) and vector b (\(b_1\), \(b_2\), \(b_3\)). The calculator returns the resulting vector \(\vec{a} \times \vec{b}\) as an ordered triple along with its magnitude. Values may be positive, negative, or decimal.

The Formula Explained

The cross product is defined component-wise as:

$$\vec{a} \times \vec{b} = \begin{pmatrix} \text{a}_2 \cdot \text{b}_3 - \text{a}_3 \cdot \text{b}_2 \\[0.4em] \text{a}_3 \cdot \text{b}_1 - \text{a}_1 \cdot \text{b}_3 \\[0.4em] \text{a}_1 \cdot \text{b}_2 - \text{a}_2 \cdot \text{b}_1 \end{pmatrix}$$

Each component is a \(2 \times 2\) determinant of the remaining coordinates. The magnitude equals the square root of the sum of the squared components, which also equals \(|a||b|\sin(\theta)\), the area of the parallelogram the two vectors span.

$$\left\lVert \vec{a} \times \vec{b} \right\rVert = \sqrt{c_x^{2} + c_y^{2} + c_z^{2}}$$

Right-hand rule showing direction of the cross product
The right-hand rule gives the direction of a x b.

Worked Example

Let \(\vec{a} = (1, 2, 3)\) and \(\vec{b} = (4, 5, 6)\). Then:

$$c_x = 2 \cdot 6 - 3 \cdot 5 = 12 - 15 = -3$$
$$c_y = 3 \cdot 4 - 1 \cdot 6 = 12 - 6 = 6$$
$$c_z = 1 \cdot 5 - 2 \cdot 4 = 5 - 8 = -3$$

So \(\vec{a} \times \vec{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 of the result.

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

What does the magnitude represent? It equals the area of the parallelogram formed by the two vectors, and zero magnitude means they are linearly dependent (parallel or anti-parallel).

Last updated: