How it works
The cross product is a vector at right angles to both inputs. Its length equals the area of the parallelogram they span. Swapping the order reverses its direction. It is zero when the vectors are parallel.
Formula
area = |u × v|
Sources
Example
u = (2, −1, 3) and v = (4, 0, −2). u × v = (2, 16, 4). Check: the dot product with u is 4 − 16 + 12 = 0 and with v is 8 + 0 − 8 = 0. Area = √(4 + 256 + 16) = 16.6132.
Frequently asked questions
Is the order important?
Yes. v × u = −(u × v).
When is it zero?
When the vectors are parallel.
Does it work in 2D?
Only in 3D. For flat vectors set z = 0.
What is the direction rule?
The right-hand rule.