Cross Product Calculator

AlgebraFreeNo sign-up

Enter two 3D vectors a and b to get a × b = ⟨a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁⟩, with each component worked out. You also get |a × b|, which is the area of the parallelogram spanned by a and b, the triangle area, and a check that the result is perpendicular to both vectors.

StepsExactFree
Vector a
x
y
z
Vector b
x
y
z

Cross product formula

For a = ⟨a₁, a₂, a₃⟩ and b = ⟨b₁, b₂, b₃⟩:

a × b = ⟨a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁⟩

A quick way to remember it is the 3 × 3 determinant with i, j, k in the first row, a in the second and b in the third. Expand along the first row and remember the minus sign on the j term.

Worked example

a = ⟨2, 3, 4⟩, b = ⟨5, 6, 7⟩.

  • i: 3·7 − 4·6 = 21 − 24 = −3
  • j: 4·5 − 2·7 = 20 − 14 = 6
  • k: 2·6 − 3·5 = 12 − 15 = −3

a × b = ⟨−3, 6, −3⟩. Check: ⟨−3, 6, −3⟩ · ⟨2, 3, 4⟩ = −6 + 18 − 12 = 0, so it is perpendicular to a.

What the cross product tells you

  • Direction: perpendicular to both a and b, following the right-hand rule. Point your fingers along a, curl them toward b, and your thumb points along a × b.
  • Length: |a × b| = |a||b| sin θ, the area of the parallelogram with sides a and b. Half of it is the area of the triangle.
  • Zero vector: a × b = 0 exactly when a and b are parallel (θ = 0° or 180°) or one is zero.

Properties

  • Anticommutative: b × a = −(a × b).
  • Distributive: a × (b + c) = a × b + a × c.
  • i × j = k, j × k = i, k × i = j.
  • a × a = 0.
  • It is defined for 3D vectors. For 2D vectors, put 0 in the z boxes; the answer points straight up or down.

Cross product vs dot product

Dot product a · b Cross product a × b
Result A number A vector
Formula with angle |a||b| cos θ Length |a||b| sin θ
Zero when Perpendicular Parallel
Uses Angles, projections, work Normals, area, torque

Uses in physics and geometry

  • Torque: τ = r × F.
  • Normal vector to a plane through three points P, Q, R: (Q − P) × (R − P).
  • Area of a triangle in space from its vertices.
  • Magnetic force on a moving charge: F = q v × B.

For magnitude, angle and dot products of 2D or 3D vectors, use the vector calculator.

Cross product quiz: 10 questions

Test yourself with 10 multiple-choice questions. Choose an answer and press Submit to see if you are right and why. Your score appears at the end.

Question 1 of 10
1. What is ⟨1, 0, 0⟩ × ⟨0, 1, 0⟩?

Found a mistake? Let us know!

2. What is ⟨2, 3, 4⟩ × ⟨5, 6, 7⟩?

Found a mistake? Let us know!

3. If a × b = ⟨1, −2, 4⟩, what is b × a?

Found a mistake? Let us know!

4. The cross product of two parallel vectors is:

Found a mistake? Let us know!

5. |a| = 3, |b| = 4, and the angle between them is 90°. What is |a × b|?

Found a mistake? Let us know!

6. The vectors ⟨3, 0, 0⟩ and ⟨0, 4, 0⟩ form a triangle. What is its area?

Found a mistake? Let us know!

7. The cross product a × b is always:

Found a mistake? Let us know!

8. j × k equals:

Found a mistake? Let us know!

9. Which quantity is a cross product in physics?

Found a mistake? Let us know!

10. For 2D vectors ⟨2, 1⟩ and ⟨1, 3⟩ (z = 0), the z-component of the cross product is:

Found a mistake? Let us know!

Frequently asked questions

How do you calculate a cross product?

For a = ⟨a₁, a₂, a₃⟩ and b = ⟨b₁, b₂, b₃⟩, a × b = ⟨a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁⟩. The calculator shows each component.

Is the cross product commutative?

No. b × a = −(a × b): same length, opposite direction.

What does the magnitude of the cross product mean?

It equals |a||b| sin θ, the area of the parallelogram spanned by a and b. Half of it is the area of the triangle they form.

Can you take the cross product of 2D vectors?

Not directly, since it is defined in 3D. Use z = 0 for both; the result is ⟨0, 0, a₁b₂ − a₂b₁⟩, and that last number is the signed area of the parallelogram.

When is the cross product zero?

When the vectors are parallel or anti-parallel, or when one of them is the zero vector.

Sources

Related calculators

Browse all calculators

More algebra calculators

Browse all 550 calculators

Related to This Article

What people say about "Cross Product Calculator: a × b with Steps"?

No one replied yet.

Leave a Reply