Skip to content

Cross Product Calculator

Calculate the 3D cross product vector, components, and magnitude, with determinant derivation, right-hand-rule interpretation, units, and edge cases.

Content updated October 7, 2026 · Details

Published

Content updated

Recorded calculation check · Verification scope

Result vector

Inputs ↓
v₁ × v₂
⟨0.0000, 0.0000, 1.0000⟩
i component
0.0000
j component
0.0000
k component
1.0000
Magnitude
1.0000

The cross product is perpendicular to both input vectors; its magnitude equals the parallelogram area.

Results update as you type.

Result links include your inputs in the URL. Anyone with the link can read them; avoid sharing sensitive values.

Compare scenarios

Save a result, change your inputs, then compare. Up to three saved scenarios for this visit.

Worked example

x1: 2 · y1: -1 · z1: 3 · x2: 4 · y2: 0 · z2: -2

Result: ⟨2.0000, 16.0000, 4.0000⟩

Try it →

Orientation is the extra information a 3D vector pair carries beyond length and angle. The cross product calculator turns two three-component vectors into the perpendicular vector that records that orientation. It is the calculation behind torque directions, surface normals in graphics, signed area in geometry, and many mechanics problems where the order of vectors cannot be ignored.

Definition and calculation

The calculator asks for the x, y, and z components of vector 1 and vector 2. It converts all six entries to numbers and rejects the calculation if any entry is not finite. The returned primary value is vector 1 cross vector 2, displayed in angle-bracket notation. The individual i, j, and k components are also listed, along with the magnitude.

The cross product is defined only in three-dimensional Euclidean vector space for this calculator’s purpose. It produces a vector perpendicular to the two inputs. Its direction follows the right-hand rule: point your index finger along vector 1, curl toward vector 2, and your thumb points in the direction of vector 1 cross vector 2. Reversing the order flips the vector.

The component formula can be remembered as the determinant expansion of a symbolic matrix whose first row is the basis vectors. This is why the middle component often surprises learners: the standard determinant expansion includes a minus sign, which is already reflected in the calculator’s formula.

Check the vector order

Save the two input vectors in their entered order before copying the result. If you are checking orientation, rerun with the vectors swapped and compare the components. For an area interpretation, inspect the magnitude separately from direction. Keep all components in one coordinate convention; mixing axes from different frames gives an arithmetic result for a different geometric problem.

Formula and variables

Let the input vectors be

a=⟨ax,ay,az⟩\mathbf{a} = \langle a_x, a_y, a_z \rangle

and

b=⟨bx,by,bz⟩\mathbf{b} = \langle b_x, b_y, b_z \rangle

The calculation determines

a×b=⟨aybz−azby, azbx−axbz, axby−aybx⟩\mathbf{a} \times \mathbf{b} = \left\langle a_y b_z - a_z b_y,\ a_z b_x - a_x b_z,\ a_x b_y - a_y b_x \right\rangle

The magnitude is then

∥a×b∥=x2+y2+z2\left\lVert \mathbf{a} \times \mathbf{b} \right\rVert = \sqrt{x^2 + y^2 + z^2}

where xx, yy, and zz are the three computed cross-product components. Geometrically,

∥a×b∥=∥a∥∥b∥sin⁡θ\left\lVert \mathbf{a} \times \mathbf{b} \right\rVert = \left\lVert \mathbf{a} \right\rVert \left\lVert \mathbf{b} \right\rVert \sin\theta

where θ\theta is the angle between the vectors. Component units multiply: meters crossed with meters gives square meters; meters crossed with newtons gives newton meters.

The component view and the area view are two descriptions of the same object. The component formula is what a computer can evaluate directly from six numbers. The area formula explains scale: doubling one input vector doubles every component of the cross product and doubles the parallelogram area. If both vectors are doubled, the magnitude becomes four times as large.

Worked example: two non-axis vectors

Use vector 1 as a=⟨2,−1,3⟩\mathbf{a} = \langle 2, -1, 3 \rangle and vector 2 as b=⟨4,0,−2⟩\mathbf{b} = \langle 4, 0, -2 \rangle. The first component is

aybz−azby=(−1)(−2)−(3)(0)=2a_y b_z - a_z b_y = (-1)(-2) - (3)(0) = 2

The second component is

azbx−axbz=(3)(4)−(2)(−2)=12+4=16a_z b_x - a_x b_z = (3)(4) - (2)(-2) = 12 + 4 = 16

The third component is

axby−aybx=(2)(0)−(−1)(4)=4a_x b_y - a_y b_x = (2)(0) - (-1)(4) = 4

So the calculator’s vector result is

a×b=⟨2,16,4⟩\mathbf{a} \times \mathbf{b} = \langle 2, 16, 4 \rangle

The magnitude is

22+162+42=276=16.613247…\sqrt{2^2 + 16^2 + 4^2} = \sqrt{276} = 16.613247\ldots

The magnitude rounds to 16.6132. The calculator rounds each component to four decimals before display, so this example appears as 2.0000, 16.0000, and 4.0000, with magnitude 16.6132.

Interpretation and applications

In physics, torque is often written as a lever-arm vector crossed with a force vector. The result’s magnitude tells how strongly the force tends to rotate an object, while its direction identifies the rotation axis. In computer graphics, cross products create surface normals, which decide how light hits a polygon and which side of a triangle faces the camera. In analytic geometry, the magnitude gives the area of a parallelogram; half of it gives the area of the triangle with the same spanning vectors.

Related OverCalculator tools support the surrounding work. The matrix calculator is useful when vectors are part of a linear transformation. The relative velocity calculator often pairs vector components in motion problems. For rates, slopes, and simpler component relationships, the slope calculator can help with two-dimensional geometry, while the scientific notation calculator keeps very large or small component magnitudes readable.

A quick perpendicularity check is possible after any result: the dot product of the cross product with either original vector should be zero, apart from rounding. That property is why the operation is so valuable for normals and rotation axes.

Edge cases and common mistakes

Parallel vectors return the zero vector because sin⁡θ=0\sin\theta = 0 when θ\theta is 0 degrees or 180 degrees. A zero input vector also returns zero. These cases are not errors; they mean the spanned parallelogram has zero area and the perpendicular direction is not uniquely determined by the two inputs. A displayed zero alone does not prove this: components and magnitude round to four decimal places, and sufficiently small products can become zero within the calculator’s numeric precision.

The most common arithmetic mistake is changing the sign of the middle component. The calculator uses azbx−axbza_z b_x - a_x b_z, which is equivalent to the determinant expansion after the negative sign on the j term is accounted for. Another mistake is expecting ordinary multiplication rules. Cross products are not commutative, and they do not exist as a vector-valued operation for arbitrary dimensions in the way this calculator presents them. Finally, keep units attached: a result that represents area, torque, or angular momentum should not be reported as if it had the same units as the original vectors.

Sources

Compare Cross Product Calculator with related tools

All comparisons →

Frequently asked questions

What does the cross product calculator output?

It returns vector one cross vector two as a three-component vector, then lists the i, j, and k components separately and the magnitude of the result. The output vector is perpendicular to both inputs when the inputs are nonzero and not parallel.

Does the order of the two vectors matter?

Yes. The cross product is anti-commutative, so reversing the order changes the sign of every component. Vector one cross vector two points in the right-hand-rule direction, while vector two cross vector one points exactly the opposite way.

What does a zero cross product mean?

An exactly zero cross product means the two vectors are parallel, anti-parallel, or at least one vector has zero length. In those cases the parallelogram has zero area and its span does not define a unique perpendicular direction. The calculator rounds components and magnitude to four decimal places, so a displayed zero can also represent a small nonzero result. Extremely small products can become zero within the calculator’s numeric precision; the displayed result alone does not establish that the inputs are parallel.

What units does a cross product have?

The units multiply. If both vectors are measured in meters, the cross product components have square meters. For torque, a lever-arm vector in meters is crossed with a force vector in newtons, giving newton meters, with direction set by the right-hand rule.

How is the magnitude related to area?

The magnitude equals the area of the parallelogram spanned by the two input vectors. It also equals the product of the two vector lengths times the sine of the angle between them, so it is largest when the vectors are perpendicular.

Sources

  • Calculus Volume 3: The Cross Product

    secondary · Jul 9, 2026

    Supports: component formula, right-hand rule, and geometric magnitude used here: a×b=(a_yb_z−a_zb_y, a_zb_x−a_xb_z, a_xb_y−a_yb_x); magnitude is Euclidean norm.

    — vnamed textbook edition in URL/title; live accessed edition

  • Cross Product

    secondary · Jul 9, 2026

    Supports: determinant form and algebraic properties of the vector product used here: a×b=(a_yb_z−a_zb_y, a_zb_x−a_xb_z, a_xb_y−a_yb_x); magnitude is Euclidean norm.

    — vlive accessed edition

Related calculators

Explore more math & scientific tools

Cross Product Calculator updated at

Recorded calculation check

Found an error? Report it