Skip to content
Zesona
Vector Cross Product CalculatorLocal

Vector Cross Product Calculator

Compute a three-dimensional cross product exactly, with its magnitude, and detect parallel vectors from a zero result.

  • Free
  • No sign-up
  • Runs in your browser

Input

Runs in your browser

Two or three components. A 2D vector is treated as lying in the z = 0 plane.

How many digits to show when the answer is irrational. An exact answer ignores this.

Ready

Everything happens on this device. No upload, no account, no network request.

How to use this tool

  1. 1

    Enter two vectors of two or three components.

  2. 2

    The result is perpendicular to both, by the right-hand rule, and its magnitude is the area of the parallelogram they span.

Questions about Vector Cross Product Calculator

Why only three dimensions?

Because the cross product is a peculiarity of three dimensions: it needs a unique perpendicular direction to a plane, and only in three dimensions is there exactly one (up to sign). In four dimensions a plane has a whole plane of perpendiculars. The general operation is the wedge product, which does not return a vector. Two-dimensional vectors are accepted by placing them in the z = 0 plane, where the result points along z and its value is the signed area.

What does a zero cross product mean?

That the two vectors are parallel - they span no area, so there is no unique perpendicular direction. Because the arithmetic is exact, a zero result is a definite statement rather than something needing a tolerance.

Why does swapping the inputs change the sign?

The cross product is anti-commutative: B x A is -(A x B). The right-hand rule depends on the order, so reversing the operands flips the direction of the perpendicular. The dot product, by contrast, is commutative.

Is my data sent anywhere?

No. This runs as JavaScript in your browser tab: there is no network request carrying your numbers, nothing reaches a server log, and it keeps working with your connection off. You can confirm it in the browser’s network panel.

Does the Vector Cross Product Calculator work offline?

Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Vector Cross Product Calculator keeps working with the network switched off and nothing is ever sent to a server.

Other tools you might reach for next.