Cross Product z-Component of Two 2D Vectors

(a⃗×b⃗)z=axby−aybx(\vec{a}\times\vec{b})_z = a_x b_y - a_y b_x

Units aren’t used in this calculation: every value is a plain number.

sig figs

Worked example: (3, 4) × (1, 2) → +2. Press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value.

Where Cross Product z-Component of Two 2D Vectors fits

Missing an input?

See also

Angle Between Two 2D Vectors (Components): Both use vector x component and vector y component.Direction Angle of a 2D Vector: Both use vector x component and vector y component.Dot Product of Two 2D Vectors (Components): Both use vector x component and vector y component.Dot Product of Two 3D Vectors (Components): Both use vector x component and vector y component.Magnitude of a 2D Vector: Both use vector x component and vector y component.Magnitude of a 3D Vector: Both use vector x component and vector y component.
3 more relatedy-Component from Magnitude and Angle: Both use vector y component.Unit Vector Component (Normalization): Both use vector x component.x-Component from Magnitude and Angle: Both use vector x component.
Learning zone

Cross Product z-Component of Two 2D Vectors explained

(ax, ay)(bx, by)(a×b)z

Two vectors lying flat in the xy-plane have a cross product that points straight out of it, so only the z-component survives: axby − aybx. It is the same expression as a 2×2 determinant, and it carries a sign that the magnitude form throws away. Positive means b lies counterclockwise from a; negative means clockwise; zero means the two are parallel. That sign is the workhorse of computational geometry: convex hull algorithms, point-in-triangle tests, polygon winding checks and line-segment intersection all reduce to asking which way three points turn.

Example: a = (3, 4), b = (1, 2) gives 3·2 − 4·1 = 2, a small positive number, so b sits slightly counterclockwise from a. Set the expression to zero and you get the parallelism test: with a = (2, 3) and by = 6, the vectors are parallel only when bx = 4, since (2, 3) and (4, 6) are the same direction scaled. The usual mistake is dropping the minus sign or swapping the order: a × b = −(b × a), so reversing the arguments flips the answer's sign and the geometric conclusion with it.

Cross Product z-Component of Two 2D Vectors formula

(a⃗×b⃗)z=axby−aybx(\vec{a}\times\vec{b})_z = a_x b_y - a_y b_x
Where
  • (a⃗×b⃗)z(\vec{a}\times\vec{b})_z= Cross product z-component
  • axa_x= x-component of a
  • aya_y= y-component of a
  • bxb_x= x-component of b
  • byb_y= y-component of b
Revised 31 October 2026
Cite this page

formula.expert. (2026, October 31). Cross Product z-Component of Two 2D Vectors Calculator. https://formula.expert/solvers/cross-product-z-2d