Cross Product Calculator – A × B from 3D Components or AB sin θ
Use this free Cross Product Calculator in two ways: enter the 3D components of two vectors to get the full cross product vector A × B, or enter two magnitudes and the angle between them to get |A × B| = AB sin θ.
Formula
A × B = (AyBz − AzBy, AzBx − AxBz, AxBy − AyBx) with magnitude |A × B| = AB sin θ
How to use
- Pick a mode: components for the full 3D vector answer, or magnitudes + angle for just the size.
- Enter the values and click "Calculate Cross Product".
- In magnitudes mode, try A = 5, B = 4, θ = 30°: |A × B| = 5 × 4 × sin 30° = 10.
Worked example
Let A = (1, 2, 3) and B = (4, 5, 6). A × B = (2×6 − 3×5, 3×4 − 1×6, 1×5 − 2×4) = (−3, 6, −3). Its magnitude is √(9 + 36 + 9) = √54 = 7.35.
FAQ
What direction does A × B point?
It is perpendicular to both A and B, in the direction given by the right-hand rule: point your fingers along A, curl them towards B, and your thumb points along A × B.
Does the order matter?
Yes — the cross product is anti-commutative: B × A = −(A × B). Swapping the vectors flips the direction, while the magnitude stays the same.
When is the cross product zero?
When the vectors are parallel or anti-parallel (θ = 0° or 180°, so sin θ = 0), or if either vector is the zero vector. This is why torque τ = r × F vanishes when the force acts along the lever arm.