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.
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.
Quiz complete
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
- OpenStax Calculus Volume 3: The Cross Product
- MIT OpenCourseWare 18.06 Linear Algebra (Gilbert Strang)
Related calculators
More algebra calculators
Related to This Article
More math articles
- Massachusetts MCAS Grade 8 Math Free Worksheets: Printable PDF Practice with Student-Friendly Keys
- Journey to the Edge: A Meticulous Exploration of One-Sided Limits
- Sex, Gender, and Aging
- Federalists and Democratic-Republicans
- Free Grade 7 English Worksheets for Louisiana Students
- How to Solve Radicals? (+FREE Worksheet!)
- 7th Grade MAP Math Practice Test Questions
- Sentence Variety: Fixing Choppy and Overloaded Writing
- Press freedom
- How to Calculate the Volume of Cubes and Prisms


What people say about "Cross Product Calculator: a × b with Steps"?
No one replied yet.