Choose `2D` or `3D`, enter vectors `A` and `B`, then calculate the cross product step by step.
For 2D: A × B = a₁b₂ − a₂b₁, which is the z-component of the 3D cross product.