The cross product of two vectors is an operation that takes two vectors in three-dimensional space and produces a new vector that is perpendicular to both of them. Unlike regular multiplication, the cross product gives you a result with both a magnitude and a direction, making it essential in physics, engineering, and computer graphics. The magnitude of this resulting vector equals the area of the parallelogram formed by the two original vectors.
How the Cross Product Works Geometrically
Picture two vectors extending outward from the same point, forming some angle between them. The cross product creates a third vector that sticks straight up (or straight down) from the flat surface those two vectors define. Its length is determined by a simple formula: multiply the lengths of the two original vectors, then multiply by the sine of the angle between them.
This means the cross product is largest when the two vectors are perpendicular to each other (sine of 90° is 1) and shrinks to zero when they point in the same or opposite directions (sine of 0° or 180° is 0). That zero result makes intuitive sense: two parallel vectors don’t define a unique flat surface, so there’s no meaningful “perpendicular” direction to point toward.
The magnitude has a clean geometric interpretation. If you treat the two vectors as sides of a parallelogram, the length of the cross product equals the area of that parallelogram. This connection between the cross product and area shows up constantly in applications like calculating the surface area of triangles in 3D space.
Finding the Direction With the Right-Hand Rule
Since there are two directions perpendicular to any flat surface (up or down, loosely speaking), you need a convention to pick one. That convention is the right-hand rule. To use it, extend the fingers of your right hand so they point in the direction of the first vector. Then curl your fingers toward the second vector, as if you were closing your hand. Your thumb now points in the direction of the cross product.
This means order matters. If you swap the two vectors, the result flips direction. Computing A × B gives you a vector pointing one way, while B × A gives you a vector of the same length pointing in the exact opposite direction. This property is called anticommutativity, and it’s one of the key differences between the cross product and ordinary multiplication, where order doesn’t matter.
How to Calculate It
If you have two vectors with components, say v = (v₁, v₂, v₃) and w = (w₁, w₂, w₃), the cross product v × w gives you a new vector with three components:
- First component: v₂w₃ − v₃w₂
- Second component: v₃w₁ − v₁w₃
- Third component: v₁w₂ − v₂w₁
Each component is a difference of two products, built from the components of the original vectors in a cycling pattern. A common way to remember this is to set up a 3×3 grid (a determinant) with the unit direction vectors along the top row, the components of the first vector in the middle row, and the components of the second vector on the bottom. Expanding that determinant produces the formula above.
For a concrete example: if v = (2, 3, 4) and w = (5, 6, 7), the cross product is ((3)(7) − (4)(6), (4)(5) − (2)(7), (2)(6) − (3)(5)) = (21 − 24, 20 − 14, 12 − 15) = (−3, 6, −3). You can verify this result is perpendicular to both original vectors by taking the dot product of the result with each one. Both dot products will equal zero.
Key Properties
The cross product follows several rules that make it predictable to work with. It distributes over addition, so a × (b + c) equals a × b + a × c. Scalar multiplication passes through cleanly: multiplying one vector by a number before crossing gives the same result as multiplying the final cross product by that number.
Two special cases are worth remembering. If two vectors are parallel (or one is a scaled version of the other), their cross product is the zero vector. The sine of the angle between them is zero, so the magnitude collapses. Conversely, if the cross product of two nonzero vectors is the zero vector, you know those vectors are parallel. This gives you a quick test for parallelism.
The cross product is also exclusively a three-dimensional operation. Unlike the dot product, which works in any number of dimensions, the cross product as typically defined only applies to vectors in 3D space. (A generalization exists for seven dimensions, but that rarely comes up in practice.)
How It Differs From the Dot Product
The cross product and dot product are the two main ways to “multiply” vectors, but they do fundamentally different things. The dot product takes two vectors and returns a single number (a scalar). The cross product takes two vectors and returns another vector. This distinction determines when you use each one.
The dot product depends on the cosine of the angle between vectors, which means it measures how much two vectors point in the same direction. It equals zero when vectors are perpendicular. The cross product depends on the sine of the angle, so it measures how much two vectors are “spread apart.” It equals zero when vectors are parallel. They capture complementary geometric information: the dot product tells you about alignment, the cross product tells you about the area spanned.
In physics, the dot product calculates work (force applied along a direction of motion), while the cross product calculates quantities like torque and angular momentum, where the direction of the result is perpendicular to the plane of action.
Where the Cross Product Shows Up in Physics
Torque is one of the most common applications. When you push a wrench to turn a bolt, the twisting force (torque) depends not just on how hard you push, but on where and at what angle you push. Torque is defined as the cross product of the position vector (from the pivot point to where the force is applied) and the force vector. Pushing perpendicular to the wrench handle maximizes torque. Pushing along the handle produces zero torque. The cross product captures this angle dependence automatically through the sine function.
Angular momentum works the same way. For a particle moving through space, its angular momentum about a point is the cross product of its position vector and its momentum vector. The result is a vector perpendicular to the plane of motion, and its magnitude equals the position times the momentum times the sine of the angle between them. This quantity is conserved in systems with no external torque, which is why spinning objects like gyroscopes and planets maintain their rotation.
The magnetic force on a moving charged particle is another cross product. The force on the particle depends on the cross product of its velocity and the magnetic field, which is why charged particles curve in magnetic fields rather than speeding up or slowing down.
Applications in Computer Graphics
In 3D rendering, every surface needs a “normal vector,” a vector pointing straight out from the surface, to determine how light bounces off it. If you know two edges of a triangle in 3D space (represented as vectors), their cross product gives you a vector perpendicular to that triangle. This is the surface normal. Graphics engines compute millions of these per frame to calculate shading, reflections, and whether a surface faces toward or away from the camera.
The cross product also helps determine the orientation of surfaces. Because the direction of the cross product depends on the order of the two vectors (thanks to the right-hand rule), graphics software can use it to figure out which side of a triangle faces outward and which faces inward. Surfaces facing away from the viewer can be skipped entirely, cutting rendering work roughly in half.

