Cross Product Calculator

Calculate the cross product of two 3D vectors and find a vector perpendicular to both.

3D vector cross product
Enter the x, y, and z components of both vectors.

About the cross product

The cross product is an operation on two vectors in three-dimensional space. Its result is another vector rather than a single scalar. That result points perpendicular to both input vectors, so it is especially useful whenever a problem involves orientation, a surface normal, rotation, torque, or an area in space. The order matters: reversing the vectors reverses the direction of the answer. In other words, A cross B is the negative of B cross A. This calculator applies the standard component formula directly. For vectors A = (Ax, Ay, Az) and B = (Bx, By, Bz), the first result component is AyBz minus AzBy. The second is AzBx minus AxBz, and the third is AxBy minus AyBx. These three signed differences are equivalent to expanding the familiar determinant built from the unit directions i, j, and k. Enter integers, decimals, or negative values; the calculator evaluates each component and presents the resulting ordered triple. The magnitude of the cross product has a geometric meaning. It equals the area of the parallelogram spanned by the two vectors. Half that magnitude is the area of the triangle formed by the same vectors. If the result is the zero vector, the inputs are parallel, anti-parallel, or one vector has zero length. The direction of a nonzero result follows the right-hand rule: curl the fingers of your right hand from A toward B, and your thumb points along A cross B. Cross products appear throughout physics, engineering, computer graphics, and linear algebra. Torque is the cross product of a position vector and force. Angular momentum uses position and momentum. Graphics software computes surface normals from two edges of a polygon, while geometry problems use the magnitude to find areas. Because small sign mistakes are common when calculating by hand, this tool is useful for checking each component quickly. The displayed formula also makes the coordinate order explicit, helping you compare the result with a manual determinant expansion.

Cross product examples

These examples show the direction and magnitude produced by common vector pairs.

VectorsCross productInterpretation
A = (1, 0, 0), B = (0, 1, 0)(0, 0, 1)The x and y unit vectors produce the positive z unit vector.
A = (2, 3, 4), B = (5, 6, 7)(-3, 6, -3)A general pair with nonzero components.
A = (1, 2, 3), B = (2, 4, 6)(0, 0, 0)Parallel vectors have a zero cross product.

How to calculate a cross product

  1. Enter the x, y, and z components of Vector A.
  2. Enter the corresponding three components of Vector B.
  3. Select Calculate Cross Product to evaluate the component formula.
  4. Read the resulting vector in x, y, z order and interpret its direction with the right-hand rule.

Frequently asked questions

What does a cross product calculate?

It calculates a vector perpendicular to two input vectors in three-dimensional space. Its magnitude also equals the area of the parallelogram formed by those vectors.

Does the order of the vectors matter?

Yes, the cross product is not commutative. Reversing A and B produces a vector with the same magnitude but the opposite direction.

Why is my cross product zero?

A zero result means the vectors are parallel, anti-parallel, or one input is the zero vector. In those cases they do not span a parallelogram with positive area.

How do I find a triangle area with a cross product?

Find the magnitude of the cross product of two side vectors that meet at one vertex. Divide that magnitude by two to obtain the triangle area.

Can I enter decimal and negative components?

Yes, every field accepts finite positive, negative, or decimal values. The same component formula applies without any change.