Skip to content
TheCalcUniverse

Cross Product Calculator — 3D Vector Cross Product

Compute the cross product of two 3D vectors. Shows the resulting vector, magnitude, unit vector, and area of the parallelogram.

✓ Tested formula & cited sources Formula verified 2026-01-15 Runs in your browser — inputs never sent anywhere

The formula

a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁)

a = (a₁, a₂, a₃)
First Vector
b = (b₁, b₂, b₃)
Second Vector
a × b
Cross Product Vector
|a × b|
Magnitude
Unit Vector
Full explanation ↓

How Cross Product Works

a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁)

The cross product (also called the vector product) is a binary operation on two vectors in three-dimensional space. It produces a third vector that is perpendicular to both input vectors. The magnitude of the cross product equals the area of the parallelogram formed by the two vectors: |a × b| = |a||b|sin θ. The direction follows the right-hand rule.

a = (a₁, a₂, a₃)
First VectorThe first 3D vector in the cross product operation.
b = (b₁, b₂, b₃)
Second VectorThe second 3D vector in the cross product operation.
a × b
Cross Product VectorA vector perpendicular to both a and b, following the right-hand rule.
|a × b|
MagnitudeThe length of the cross product, equal to |a||b|sin θ, also the area of the parallelogram.
Unit VectorThe normalized direction of the cross product, a × b / |a × b|.
The cross product of two vectors produces a third vector perpendicular to both, with magnitude equal to the parallelogram area

How to Use

  1. Enter all three components of both 3D vectors a and b. All components are required.
  2. The calculator computes the cross product a × b and displays the resulting vector components.
  3. Review the magnitude, unit vector (normalized direction), and verification that the result is orthogonal to both inputs.
  4. The area result shows the area of the parallelogram spanned by the two vectors, which equals the cross product magnitude.

Quick Reference

i × j = kStandard basis vectors follow a cyclic pattern
j × k = iRight-hand rule determines direction
k × i = jReversing order flips the sign
Perpendicular check(a × b) · a = 0 and (a × b) · b = 0

Common Uses

  • Physics: calculating torque (τ = r × F) where r is the position vector and F is the force vector.
  • Electromagnetism: computing the Lorentz force (F = qv × B) on a charged particle in a magnetic field.
  • Computer graphics: calculating surface normals for lighting calculations by taking cross products of edge vectors.
  • Robotics: computing angular momentum (L = r × p) and rotational dynamics.
  • Engineering: determining the moment of a force about a point, essential for structural analysis and mechanical design.

Understanding the Result

The cross product is a fundamental vector operation in three-dimensional space. Unlike the dot product which produces a scalar, the cross product produces a vector. The resulting vector is always perpendicular (orthogonal) to both input vectors, making it an indispensable tool for constructing normal vectors. The magnitude |a × b| = |a||b|sin θ gives the area of the parallelogram formed by the two vectors, and equals zero when the vectors are parallel (θ = 0° or 180°). The direction follows the right-hand rule: if you curl the fingers of your right hand from a toward b, your thumb points in the direction of a × b. The cross product is anti-commutative: a × b = −(b × a), meaning swapping the inputs reverses the direction. The cross product is intimately connected to the determinant of a 3×3 matrix formed by the standard basis vectors and the components of a and b.

Frequently Asked Questions

Why is the cross product only defined for 3D vectors?
The cross product as traditionally defined is unique to three dimensions. In 2D, the cross product is a scalar representing the signed area of the parallelogram, often written as a × b = a₁b₂ − a₂b₁. In higher dimensions, the generalization is the wedge product (exterior algebra) which produces a bivector. Seven-dimensional cross products also exist but have different algebraic properties.
What does it mean if the cross product is the zero vector?
If the cross product a × b = (0, 0, 0), the two vectors are parallel (θ = 0° or θ = 180°), meaning one is a scalar multiple of the other. The parallelogram area is zero because the vectors lie on the same line. In physics, this means no torque is generated when force is applied in the same direction as the position vector.
How does the right-hand rule work?
Point the fingers of your right hand in the direction of vector a, then curl them toward vector b. Your extended thumb points in the direction of a × b. This convention determines the sign of the cross product. If you use your left hand instead, the direction reverses. This is why the cross product is said to be "chiral" — it depends on the handedness of the coordinate system.
What is the relationship between the cross product and the determinant?
The cross product can be computed as the determinant of a 3×3 matrix: a × b = det([i, j, k; a₁, a₂, a₃; b₁, b₂, b₃]), where i, j, k are the standard basis vectors. This determinant formulation reveals why the cross product is perpendicular to both inputs and why its magnitude equals the parallelogram area.
Was this calculator helpful?
Cite this calculator

TheCalcUniverse. "Cross Product Calculator — 3D Vector Cross Product." TheCalcUniverse, 2026, https://thecalcuniverse.com/math/cross-product/. Accessed July 24, 2026.

Embed this calculator on your site

Free to embed. Paste this into any HTML page — it stays up to date automatically.

Open embed ↗

You may also like