Cross Product Calculator

Calculate the cross product of two 3D vectors, with its magnitude, the parallelogram and triangle areas, and the angle.

Cross product a × b (10, 16, -17)
a × b = (a_yb_z − a_zb_y, a_zb_x − a_xb_z, a_xb_y − a_yb_x) · |a × b| = |a||b| sin θ
Magnitude |a × b| 25.3968502
a × b = (a_yb_z − a_zb_y, a_zb_x − a_xb_z, a_xb_y − a_yb_x) · |a × b| = |a||b| sin θ
Area of the parallelogram 25.3968502
a × b = (a_yb_z − a_zb_y, a_zb_x − a_xb_z, a_xb_y − a_yb_x) · |a × b| = |a||b| sin θ
x component 10
y component 16
z component -17
Area of the triangle 12.6984251
Angle between a and b 59.4329 °

Everything you type here is processed on your own device. No input is sent to a server, logged, or stored.

What the Cross Product Calculator does

The cross product calculator on this page will calculate the cross product of two 3D vectors, with its magnitude, the parallelogram and triangle areas, and the angle. Fill in all 6 fields and the result updates as you type — there is no Calculate button to press and no page reload. It is most often used for finding a surface normal from two edge vectors of a polygon. There are more free online tools on FreeToolsWorld.org.

How to use it

  1. Enter the three components of your first vector.
  2. Enter the three components of the second. Order matters — swapping them negates the result.
  3. Read the cross product as a vector, then its magnitude.
  4. Use the parallelogram or triangle area rows if you came here for an area rather than a direction.

How it works

The cross product of two vectors is a third vector perpendicular to both, with a length equal to the area of the parallelogram they span. Unlike the dot product it is defined only in three dimensions, because only in 3D is there a unique direction perpendicular to two given ones. Which of the two perpendicular directions you get is settled by the right-hand rule: point your fingers along a, curl them towards b, and your thumb gives a × b.

That handedness makes the operation anticommutative — b × a is exactly the negative of a × b, pointing the opposite way with the same length. It is also not associative, so brackets matter and (a × b) × c is generally different from a × (b × c). Both facts catch people who treat it like ordinary multiplication.

The magnitude is |a||b| sin θ, which is zero when the vectors are parallel — a parallelogram with no width has no area. Half that magnitude is the area of the triangle with those two edges, which is how you compute the area of a triangle given three points in space: form two edge vectors and halve the magnitude of their cross product. The vector itself gives you a surface normal, which is why every 3D renderer computes cross products constantly to work out which way a polygon faces.

When to use it

  • Finding a surface normal from two edge vectors of a polygon.
  • Calculating the area of a triangle from three points in 3D.
  • Computing torque as the cross product of a position and a force.
  • Testing whether two vectors are parallel — a zero cross product means they are.

Common mistakes to avoid

  • Swapping the operands and expecting the same answer. a × b = −(b × a), so the direction flips.
  • Getting the sign of the middle component wrong. It is a_zb_x − a_xb_z, which looks out of pattern compared with the other two but is correct.
  • Trying to cross two 2D vectors and expecting a vector. In 2D the result is usefully taken as the scalar a_xb_y − a_yb_x, which is the z component alone.

Frequently asked questions

What does a cross product of zero mean?

The two vectors are parallel or antiparallel, or one of them is the zero vector. Geometrically the parallelogram they span has collapsed and has no area.

How do I find the area of a triangle from three points?

Subtract one point from the other two to get two edge vectors, cross them, and halve the magnitude. This page shows both the full parallelogram area and the halved triangle area.

Why is the cross product only defined in 3D?

Because the construction needs a unique direction perpendicular to two vectors, and only three dimensions provide one. In 7D an analogue exists; in 2D and 4D nothing with the same properties does.

Related tools

See all math & statistics calculators →