Connect via MCP →

Enter Calculation

Formula

Show calculation steps (2)
  1. Magnitude |a×b|

    Magnitude |a×b|: Vector Cross Product Calculator

    Length of the cross product vector

  2. Angle Between Vectors

    Angle Between Vectors: Vector Cross Product Calculator

    theta = arcsin( |a×b| / (|a|·|b|) ), in degrees

Advertisement

Results

Cross Product a × b
(-15, -2, 39)
vector perpendicular to both a and b
Magnitude |a × b| 41.833
Angle θ between a and b 72.74°

What is the cross product?

The cross product of two three-dimensional vectors a and b, written a × b, is a new vector that is perpendicular to both inputs. Its direction follows the right-hand rule, and its magnitude equals the area of the parallelogram spanned by the two vectors. This calculator returns the full result vector, its magnitude, and the angle between the inputs.

Right-hand rule showing fingers curling from a to b with thumb pointing along a cross b
The right-hand rule gives the direction of a×b.
Two 3D vectors a and b with their cross product perpendicular to both
The cross product a×b is perpendicular to the plane containing a and b.

How to use this calculator

Enter the x, y and z components of vector a (\(a_1\), \(a_2\), \(a_3\)) and vector b (\(b_1\), \(b_2\), \(b_3\)). Press calculate to see the cross product components, the magnitude \(\left|\vec{a}\times\vec{b}\right|\), and the angle \(\theta\) between the two vectors in degrees.

Advertisement

The formula explained

The components are computed as a determinant expansion:

$$\vec{a}\times\vec{b} = \left( a_2\,b_3 - a_3\,b_2,\;\; a_3\,b_1 - a_1\,b_3,\;\; a_1\,b_2 - a_2\,b_1 \right)$$

The magnitude is $$\left|\vec{a}\times\vec{b}\right| = \sqrt{c_x^{2} + c_y^{2} + c_z^{2}},$$ which also equals \(\left|\vec{a}\right|\left|\vec{b}\right|\sin\theta\). We recover the angle with $$\theta = \arcsin\!\left( \frac{\left|\vec{a}\times\vec{b}\right|}{\left|\vec{a}\right|\,\left|\vec{b}\right|} \right).$$

Parallelogram formed by vectors a and b with shaded area equal to magnitude of cross product
The magnitude |a×b| equals the area of the parallelogram spanned by a and b.

Worked example

Let \(\vec{a} = (3, -3, 1)\) and \(\vec{b} = (4, 9, 2)\). Then \(c_x = (-3)(2) - (1)(9) = -15\), \(c_y = (1)(4) - (3)(2) = -2\), \(c_z = (3)(9) - (-3)(4) = 39\). So $$\vec{a}\times\vec{b} = (-15, -2, 39)$$ with magnitude $$\sqrt{225 + 4 + 1521} = \sqrt{1750} \approx 41.83.$$

Advertisement

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 result is the zero vector? Then the two vectors are parallel (or one is zero), and the angle between them is 0° or 180°.

Does this work in 2D? The true cross product is defined in 3D. For 2D vectors, set the z-components to 0 and only \(c_z\) will be non-zero.

Last updated: