Report

Help us improve this tool

Cross Product Calculator

Calculate the cross product (vector product) of two 3D vectors using the determinant formula. Get step-by-step expansion, magnitude, and direction verification.

O M T

How to Calculate the Cross Product of Two Vectors

The cross product of two 3D vectors produces a third vector that is perpendicular to both input vectors. Unlike the dot product which returns a scalar, the cross product returns a vector whose magnitude equals the area of the parallelogram formed by the two original vectors. Our Cross Product Calculator computes this using the determinant formula with step-by-step expansion.

The Cross Product Formula

For two 3D vectors $\vec{a} = \langle a_1, a_2, a_3 \rangle$ and $\vec{b} = \langle b_1, b_2, b_3 \rangle$, the cross product is defined as the determinant of a 3x3 matrix with unit vectors $\hat{i}, \hat{j}, \hat{k}$ in the first row. Expanding by cofactors gives $\vec{a} \times \vec{b} = \hat{i}(a_2 b_3 - a_3 b_2) - \hat{j}(a_1 b_3 - a_3 b_1) + \hat{k}(a_1 b_2 - a_2 b_1)$.

Key Properties

The cross product is anti-commutative, meaning $\vec{a} \times \vec{b} = -(\vec{b} \times \vec{a})$. It is distributive over addition: $\vec{a} \times (\vec{b} + \vec{c}) = \vec{a} \times \vec{b} + \vec{a} \times \vec{c}$. When two vectors are parallel, their cross product is zero. The magnitude $|\vec{a} \times \vec{b}| = |\vec{a}||\vec{b}|\sin\theta$ equals the area of the parallelogram formed by the vectors.

Real-World Applications

The cross product appears throughout physics and engineering. Torque is calculated as $\tau = r \times F$, angular momentum as $L = r \times p$, and the Lorentz force on a charged particle in a magnetic field is $F = qv \times B$. In computer graphics, cross products are used to calculate surface normals for lighting calculations.

For related vector and matrix calculations, try the Dot Product Calculator, Vector Calculator, and Matrix Multiply Calculator.

Frequently Asked Questions

What is the cross product of two vectors?

The cross product of two 3D vectors a and b produces a new vector perpendicular to both a and b. It is computed using the determinant of a 3x3 matrix and its magnitude equals the area of the parallelogram formed by the two vectors.

How do you calculate the cross product using the determinant method?

Set up a 3x3 matrix with i, j, k in the first row, components of vector a in the second row, and components of vector b in the third row. Expand along the first row to get the three components of the cross product vector.

Why is the cross product only defined in 3D?

The cross product as a vector operation is only defined in 3 dimensions and 7 dimensions because only in these spaces can you find a unique vector perpendicular to two given vectors. In 2D there is no out-of-plane direction.

What is the geometric meaning of the cross product magnitude?

The magnitude equals the area of the parallelogram formed by the two vectors. Half this value gives the triangle area. This is widely used in physics for torque calculations and in computer graphics for surface normals.

What is the right-hand rule for cross products?

Point your right hand's fingers along vector a, curl them toward vector b, and your thumb points in the direction of a x b. This means the cross product is anti-commutative: a x b = -(b x a).