Home/Mathematics/Cross Product of Vectors

Formula & Calculator

Cross Product of Vectors

Calculates the vector cross product of two 3D vectors, producing a new vector perpendicular to both original vectors.

MathematicsLinear AlgebraResearch

Cross Product CalculatorVector × Vector

a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁)
a × b = perpendicular vector  ·  |a × b| = area of parallelogram
⟹ Computea = (a₁, a₂, a₃), b = (b₁, b₂, b₃)
Vector a
Vector b
Please fix the errors above.
Presets:
Cross Product (a × b)
a: b: a × b:
✓ Copied!
Magnitude of Cross Product
Small (0–1) Medium (1–10) Large (10–100) Huge (>100)
a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁)  ·  Result is orthogonal to both a and b

Interpretation

a×b = (a₂b₃−a₃b₂, a₃b₁−a₁b₃, a₁b₂−a₂b₁). Vector product perpendicular to both. Used in torque, angular momentum, and 3D geometry.

a x b = (a2*b3 - a3*b2, a3*b1 - a1*b3, a1*b2 - a2*b1)
Cross Product of Vectors

Variables

SymbolQuantityUnit
a, bVectors being multiplied
a1, a2, a3Components of vector a
b1, b2, b3Components of vector b

What it means

The cross product (or vector product) of two 3D vectors a and b produces a vector that is perpendicular to both. Its magnitude is |a||b| sin θ, and its direction is given by the right‑hand rule. The components are computed as above. The cross product is essential in physics for torque (τ = r×F) and angular momentum (L = r×p). In geometry, it is used to find normals to planes, to compute areas of parallelograms, and in computer graphics for surface normals. The cross product is only defined in 3D (and 7D). Understanding the cross product is crucial for vector calculus, electromagnetism, and robotics.

Worked example

Cross Product – Two Examples

Real‑World
Scenario: A physicist finds the torque vector from force F=(1,0,0) applied at r=(0,1,0). τ = r × F.
ParameterValue
Vector a(1,0,0)
Vector b(0,1,0)
1a × b = (0·0−0·1, 0·0−1·0, 1·1−0·0) = (0,0,1)
Result (0,0,1) ✓ Torque direction
Scenario: A student finds normal to plane spanned by (1,2,3) and (4,5,6).
ParameterValue
Vector a(1,2,3)
Vector b(4,5,6)
1a×b = (2·6−3·5, 3·4−1·6, 1·5−2·4) = (12−15, 12−6, 5−8) = (−3,6,−3)
Result (−3,6,−3) ✓ Normal vector
Insight: Cross product gives a vector perpendicular to both inputs. Magnitude = area of parallelogram.

Common mistakes

  • Cross product: a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁) – a vector.
  • Anti‑commutative: a × b = − (b × a).
  • Result: A vector perpendicular to both a and b (right‑hand rule).
  • Magnitude: |a × b| = |a||b| sinθ – area of parallelogram.
  • Zero vector: If a and b are parallel (θ=0 or π), cross product is zero.

Applications

The cross product of two vectors, a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁), yields a vector perpendicular to both input vectors, with magnitude equal to the area of the parallelogram they span. This operation is essential in physics and engineering for calculating torque, angular momentum, and magnetic forces. In computer graphics, it determines surface normals for shading. In robotics, it defines rotational transformations. The cross product also appears in fluid dynamics (vorticity) and electromagnetism. By mastering the cross product, professionals can analyze 3D rotational effects and geometric properties that are critical in many engineering designs.

  • Torque and moment calculations in mechanics
  • Angular momentum and rotational dynamics
  • Surface normal computation for rendering and collision detection
  • Magnetic force on moving charges (Lorentz force)
  • Vorticity and circulation in fluid dynamics

Frequently Asked Questions

Q01What is the cross product of two vectors?
A01

The cross product of two 3D vectors a = (a₁, a₂, a₃) and b = (b₁, b₂, b₃) is a vector given by a × b = (a₂b₃ – a₃b₂, a₃b₁ – a₁b₃, a₁b₂ – a₂b₁). It is perpendicular to both a and b.

Q02What is the common mistake when applying the cross product?
A02

Applying the 3D cross product formula to 2D vectors without first treating them as 3D vectors with a zero third component.

Q03What is the geometric interpretation of the cross product?
A03

|a × b| = |a| |b| sin θ, which is the area of the parallelogram formed by a and b. The direction is given by the right‑hand rule.

Q04When is the cross product zero?
A04

When the vectors are parallel (θ = 0 or π), so sin θ = 0.

Q05What is the cross product of a vector with itself?
A05

a × a = 0.

Q06What are the algebraic properties of the cross product?
A06

  • Anti‑commutative: a × b = –(b × a).
  • Distributive: a × (b + c) = a × b + a × c.
  • Scalar multiplication: (k a) × b = k (a × b).

Q07What are the applications of the cross product?
A07

  • Finding a normal vector to a plane.
  • Computing torque (τ = r × F).
  • Calculating areas and volumes.

Q08How do you find the area of a parallelogram spanned by two vectors?
A08

Area = |a × b|.

Q09What is the cross product of unit basis vectors?
A09

i × j = k, j × k = i, k × i = j.

Q10What is the scalar triple product?
A10

a · (b × c) gives the volume of the parallelepiped formed by a, b, c.