This calculator works out the cross product a × b of two vectors in three dimensions. Enter the three components of a and of b; you get the x, y and z components of a × b and its length, which equals the area of the parallelogram spanned by a and b.
Formula
a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁), and |a × b| = |a| |b| sin θ, where θ is the angle between a and b.
- a = (a₁, a₂, a₃) and b = (b₁, b₂, b₃)
- The result is perpendicular to both a and b, with its direction given by the right-hand rule.
Worked Example
Take a = (1, 2, 3) and b = (4, 5, 6).
- x: 2 × 6 − 3 × 5 = 12 − 15 = -3.000
- y: 3 × 4 − 1 × 6 = 12 − 6 = 6.000
- z: 1 × 5 − 2 × 4 = 5 − 8 = -3.000
- Length = √(9 + 36 + 9) = √54 = 7.348
How to read the result
Use the cross product to find a normal vector to a plane through three points (cross two edge vectors), the area of a triangle (half the length), or torque (r × F). A zero result means the vectors are parallel.
Limits and common mistakes
- Order matters: b × a = −(a × b).
- The cross product exists only in three dimensions (and seven). For 2D vectors, set both z components to 0; the answer is then (0, 0, a₁b₂ − a₂b₁).
- Do not confuse it with the dot product, which gives a single number.
Frequently Asked Questions
What does a cross product of zero mean?
The two vectors are parallel (or one of them is zero).
How do I get the area of a triangle from two sides?
Half the length of the cross product of the two side vectors.
Is the cross product commutative?
No. Swapping the vectors reverses the sign.
What is i × j?
k, with i, j and k the unit vectors along x, y and z.
Formula used
in a1 | a, x component | - | 1 | - in a2 | a, y component | - | 2 | - in a3 | a, z component | - | 3 | - in b1 | b, x component | - | 4 | - in b2 | b, y component | - | 5 | - in b3 | b, z component | - | 6 | - out cx | (a × b) x | - | a2 * b3 - a3 * b2 | 3 out cy | (a × b) y | - | a3 * b1 - a1 * b3 | 3 out cz | (a × b) z | - | a1 * b2 - a2 * b1 | 3 out m | Length of a × b | - | sqrt(cx^2 + cy^2 + cz^2) | 3
Each line is one input (in, sel, list) or one result (out: label, unit, formula, decimals). How the calculators work

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
- Coordinate Rotation Calculator (2D)2.0981
- Convert to Spherical Coordinates Calculator1.7321
- Angle Between Two Planes Calculator63.6122 °
- 3D Unit Vector Calculator0.2857