Algebra • Core Pillar

Cross Product Calculator

The definitive 3D vector cross product calculator for computing vector products (a × b), orthogonal normal vectors, 3x3 determinant expansions, and spatial parallelogram areas.

|
Last Updated: September 2026
|
Verified Mathematical Solution
Vector a (Position / Lever Arm) ⟨ax, ay, az⟩
Vector b (Force / Direction) ⟨bx, by, bz⟩
Preset Examples:
Cross Product Vector
Perpendicular Normal Vector
Resulting Normal Vector (a × b)
⟨-3, 6, -3⟩
-3i + 6j - 3k
||a × b|| (Norm) 7.348
Parallelogram Area 7.348
Triangle Area 3.674
Angle (θ) 12.93°
Unit Normal Vector (n̂):
⟨-0.408, 0.816, -0.408⟩

3D Isometric Projection & Parallelogram Area

(Right-Hand Rule)
Vector a
Vector b
Normal (a × b)

3x3 Determinant & Sarrus Step-by-Step Expansion Full Algebraic Proof

Direct Answer & Overview
Verified Educational Guide

How to Calculate the Cross Product of Two 3D Vectors

The cross product of two 3D vectors a = ⟨a_x, a_y, a_z⟩ and b = ⟨b_x, b_y, b_z⟩ yields a third vector perpendicular to both, calculated via 3x3 determinant cofactor expansion: a × b = ⟨(a_y b_z - a_z b_y), -(a_x b_z - a_z b_x), (a_x b_y - a_y b_x)⟩. The magnitude ||a × b|| equals the area of the spanned parallelogram: ||a|| ||b|| sin(θ).

Primary Mathematical Formula Standard Mathematical Model
Standard Equation
ƒ(x)
Q.E.D.
a × b = ⟨a_y b_z - a_z b_y, a_z b_x - a_x b_z, a_x b_y - a_y b_x⟩ | ||a × b|| = ||a|| ||b|| sin(θ)
Evaluated with exact mathematical formulation • Rigorously verified
Exact Formula
Input Parameters
Required
1
Vector a: 3D coordinates ⟨a_x, a_y, a_z⟩ along the standard basis (i, j, k)
2
Vector b: 3D coordinates ⟨b_x, b_y, b_z⟩ along the standard basis (i, j, k)
Expected Outputs
Calculated
Cross Product Vector (a × b): 3D orthogonal vector perpendicular to the ab-plane
Magnitude / Norm (||a × b||): Length of the resulting vector
Parallelogram Area: Total surface area enclosed by a and b
Unit Normal Vector (n̂): Normalized direction vector (a × b) / ||a × b||
Worked Numerical Example
Instant Verification
Calculate the cross product of a = ⟨2, 3, 4⟩ and b = ⟨5, 6, 7⟩
→ i(3×7 - 4×6) - j(2×7 - 4×5) + k(2×6 - 3×5) = i(21 - 24) - j(14 - 20) + k(12 - 15)
⟨-3, 6, -3⟩ (or -3i + 6j - 3k)

Anatomy of the 3D Vector Cross Product

The cross product (or vector product) is a mathematical operation defined exclusively in three-dimensional space (ℝ³) that combines two vectors to produce a third vector orthogonal (perpendicular) to both.

While the dot product measures collinearity and alignment, the cross product measures orthogonality, rotational influence, and enclosed spatial area.

Anticommutative
a × b = −(b × a)

Reversing input order flips the direction of the normal vector 180°.

Orthogonality
(a × b) · a = 0

The cross product is perpendicular to both original vectors simultaneously.

Parallelism Test
a × a = ⟨0, 0, 0⟩

The cross product of any vector with itself or a scalar multiple is zero.

The 3x3 Determinant Expansion & Sarrus Rule

The most reliable method to compute a cross product by hand is using a pseudo-determinant of a 3×3 matrix constructed with standard unit basis vectors i, j, k:

a × b = | i j k |
| ax ay az | = i(aybz − azby) − j(axbz − azbx) + k(axby − aybx)
| bx by bz |

Notice the negative sign attached to the j cofactor term. Expanding the negative sign into the parenthesis gives +(azbx - axbz)j.

Right-Hand Rule & Geometric Parallelogram Area

The geometric interpretation of the cross product combines vector length, angle, and 3D spatial orientation:

The Right-Hand Rule

Point the fingers of your right hand along vector a, and curl them toward vector b through the smallest angle θ. Your extended thumb points in the exact direction of a × b.

Parallelogram & Triangle Area

The magnitude ||a × b|| = ||a|| ||b|| sin(θ) equals the exact surface area of the parallelogram bounded by a and b. The area of the triangle formed by connecting their tips is 0.5 × ||a × b||.

Physical Applications: Torque, Angular Momentum & Lorentz Force

Torque & Rotational Force

The rotational twist generated by a force on a lever arm: τ = r × F, measured in Newton-meters (N·m).

Magnetic Lorentz Force

The deflecting force on an electric charge moving through a magnetic field: F = q(v × B).

3D Game Engine Polygon Normals

Graphics pipelines compute face normal vectors from three triangle vertices to determine polygon backface visibility and light reflection.

Step-by-Step Worked Examples in 3D Space

Standard 3D Cross Product Level: Intermediate

Calculate the cross product of a = ⟨2, 3, 4⟩ and b = ⟨5, 6, 7⟩.

1. Compute i component: (3 × 7) − (4 × 6) = 21 − 24 = -3.

2. Compute j component: −[(2 × 7) − (4 × 5)] = −[14 − 20] = −(−6) = +6.

3. Compute k component: (2 × 6) − (3 × 5) = 12 − 15 = -3.

4. Assemble vector: a × b = ⟨-3, 6, -3⟩ = -3i + 6j - 3k.

5. Magnitude (Parallelogram Area): √[(-3)² + 6² + (-3)²] = √(9 + 36 + 9) = √54 ≈ 7.348.

Result: ⟨-3, 6, -3⟩ with Parallelogram Area ≈ 7.348 square units.

Common Calculation Pitfalls & Anticommutativity Errors

Pitfall 1: Forgetting the Middle Negative Sign

The j cofactor in determinant expansion always carries an alternating negative sign: -(axbz - azbx). Missing this flips the sign of the y-component.

Pitfall 2: Order of Vectors Matters

Unlike the dot product (a · b = b · a), the cross product is strictly anticommutative: b × a = -(a × b).

Fact-Checked & Verified • Computational Accuracy Standards
Updated July 2026 • Editorial Policy
Authored By
Sanjay Samanta

Lead Developer & Founder of Basic Math Tools. Specializes in browser-native computational algorithms and applied mathematics.

Reviewed & Verified By
Academic Review Board

Mathematics & curriculum specialists. Audited against standard algebraic and arithmetic principles.

Found an error or have an improvement suggestion? Report a calculation issue

Frequently Asked Questions

What is the cross product (vector product) of two 3D vectors?
The cross product (written as a × b) is a binary vector operation in three-dimensional space that produces a third vector strictly perpendicular (orthogonal) to both input vectors. Its direction is governed by the right-hand rule, and its magnitude equals the area of the parallelogram spanned by the two vectors.
How do you calculate the cross product using a 3x3 matrix determinant?
Set up a 3x3 matrix where the top row contains unit basis vectors [i, j, k], the second row contains vector a [a_x, a_y, a_z], and the third row contains vector b [b_x, b_y, b_z]. Expanding along the first row yields: a × b = (a_y b_z - a_z b_y)i - (a_x b_z - a_z b_x)j + (a_x b_y - a_y b_x)k.
Why is the cross product anticommutative (a × b = -(b × a))?
Swapping the two input vectors reverses the orientation of the right-hand rule, causing the resulting normal vector to point in the exact opposite direction. In linear algebra, swapping two rows in a determinant multiplies the value by -1, proving that b × a = -(a × b).
How is the cross product used to find the area of a triangle or parallelogram in 3D?
The magnitude of the cross product ||a × b|| equals the exact surface area of the parallelogram formed by vectors a and b (||a|| ||b|| sin(θ)). The area of the 3D triangle defined by the two vectors is exactly half the parallelogram area: Area_triangle = 0.5 × ||a × b||.
What happens if two vectors are parallel or collinear in a cross product?
If two non-zero vectors are parallel (angle θ = 0°) or antiparallel (θ = 180°), their cross product is the zero vector ⟨0, 0, 0⟩ because sin(0°) = sin(180°) = 0. Thus, a × b = 0 is the universal test for vector parallelism.
Where is the cross product applied in physics and engineering?
The cross product is essential in physics for rotational and electromagnetic dynamics: 1) Torque (τ = r × F); 2) Angular Momentum (L = r × p); 3) Magnetic Lorentz Force on a moving charge (F = q(v × B)); and 4) Surface normal calculation for 3D computer graphics lighting.