Skip to main content

Cross Product Calculator

Free Cross product Calculator for coordinate geometry. Enter values to get step-by-step solutions with formulas and graphs.

Skip to calculator
Mathematics

Cross Product Calculator

Calculate the cross product of two 3D vectors. Find the perpendicular vector, parallelogram area, angle between vectors, and unit normal vector.

Last updated: December 2025Reviewed by NovaCalculator Mathematics Team

Calculator

Adjust values & calculate
Cross Product (A x B)
(-3.0000, 6.0000, -3.0000)
Magnitude: 7.3485
|A x B|
7.3485
Angle
7.48 deg
Dot Product
56.0000
Parallelogram Area
7.3485
Triangle Area
3.6742
|A| Magnitude
5.3852
|B| Magnitude
10.4881
Unit Normal Vector
(-0.4082, 0.8165, -0.4082)
Your Result
A x B = (-3.0000, 6.0000, -3.0000) | Magnitude: 7.3485 | Angle: 7.48 deg
Share Your Result
Understand the Math

Formula

A x B = (a2b3 - a3b2, a3b1 - a1b3, a1b2 - a2b1)

The cross product is computed using the determinant of a 3x3 matrix with unit vectors i, j, k in the first row and the components of vectors A and B in the second and third rows. The result is perpendicular to both input vectors.

Last reviewed: December 2025

Worked Examples

Example 1: Cross Product of Two 3D Vectors

Find the cross product of A = (2, 3, 4) and B = (5, 6, 7).
Solution:
A x B = (a2*b3 - a3*b2, a3*b1 - a1*b3, a1*b2 - a2*b1) = (3*7 - 4*6, 4*5 - 2*7, 2*6 - 3*5) = (21 - 24, 20 - 14, 12 - 15) = (-3, 6, -3) |A x B| = sqrt(9 + 36 + 9) = sqrt(54) = 7.3485 Parallelogram area = 7.3485 sq units
Result: Cross Product: (-3, 6, -3) | Magnitude: 7.3485 | Triangle Area: 3.6742

Example 2: Perpendicular Vectors Cross Product

Find A x B where A = (1, 0, 0) and B = (0, 1, 0).
Solution:
A x B = (0*0 - 0*1, 0*0 - 1*0, 1*1 - 0*0) = (0, 0, 1) |A x B| = 1 Angle = 90 degrees (perpendicular vectors) The result (0, 0, 1) = k-hat, the unit z-vector
Result: Cross Product: (0, 0, 1) | Magnitude: 1 | Angle: 90 degrees
Expert Insights

Background & Theory

The Cross Product Calculator applies the following established principles and formulas. Mathematics rests on a hierarchy of number systems, each extending the previous. The natural numbers (1, 2, 3, ...) support counting and ordering. The integers add negative values and zero, enabling subtraction without restriction. The rational numbers, expressible as p/q where p and q are integers and q is nonzero, close the system under division. The real numbers fill the gaps left by irrationals such as the square root of 2 or pi, forming a complete ordered field. The complex numbers, written as a + bi where i is the square root of negative one, complete the algebraic closure of the reals and allow every polynomial to have a root. Prime factorization states that every integer greater than one is uniquely expressible as a product of primes, a result known as the Fundamental Theorem of Arithmetic. Computing the greatest common divisor (GCD) of two integers relies most efficiently on the Euclidean algorithm: repeatedly replace the larger number with the remainder when it is divided by the smaller, until the remainder is zero. The last nonzero remainder is the GCD. The least common multiple (LCM) follows from the identity LCM(a, b) = |a * b| / GCD(a, b). Modular arithmetic defines equivalence classes of integers that share the same remainder under division by a modulus n. Fermat's Little Theorem and Euler's Theorem arise from this structure and underpin modern cryptography. Logarithms are the inverses of exponential functions. If b raised to the power x equals y, then the logarithm base b of y equals x. The natural logarithm uses base e, approximately 2.71828. Combinatorics counts arrangements and selections. The number of ordered arrangements (permutations) of r objects from n distinct objects is nPr = n! / (n - r)!. The number of unordered selections (combinations) is nCr = n! / (r! * (n - r)!). Pascal's triangle arranges these binomial coefficients so that each entry equals the sum of the two entries directly above it. The Fibonacci sequence, defined by F(1) = 1, F(2) = 1, and F(n) = F(n-1) + F(n-2), appears throughout nature and connects deeply to the golden ratio via Binet's formula.

History

The history behind the Cross Product Calculator traces back through the following developments. Mathematics as a systematic discipline traces to ancient Mesopotamia. Babylonian clay tablets dating to around 1800 BCE demonstrate knowledge of quadratic equations, Pythagorean triples, and base-60 arithmetic, suggesting a practical mathematical tradition far preceding Greek formalism. Euclid of Alexandria compiled the Elements around 300 BCE, establishing the axiomatic method that would define rigorous mathematics for over two thousand years. His work organized plane geometry, number theory, and proportion into logically chained propositions derived from a small set of postulates. The algorithm bearing his name for computing GCDs appears in Book VII and remains in use today. In the 9th century, the Persian scholar Muhammad ibn Musa Al-Khwarizmi wrote Al-Kitab al-mukhtasar fi hisab al-jabr wal-muqabala, the treatise whose title gave algebra its name. He systematized the solution of linear and quadratic equations and described procedures that operated on unknowns as objects, a conceptual leap away from purely numerical calculation. Rene Descartes introduced coordinate geometry in 1637 by uniting algebra and Euclidean geometry, allowing curves to be studied through equations. This synthesis set the stage for calculus. Isaac Newton and Gottfried Wilhelm Leibniz independently developed calculus during the 1660s and 1670s, triggering a priority dispute that lasted decades and divided British and Continental mathematicians. Carl Friedrich Gauss proved the Fundamental Theorem of Algebra in 1799, showing that every nonconstant polynomial has at least one complex root. His Disquisitiones Arithmeticae of 1801 established modern number theory. David Hilbert's formalist program at the turn of the 20th century sought to place all of mathematics on an explicit axiomatic foundation, a project that Kurt Godel's incompleteness theorems of 1931 showed to be fundamentally limited. Alan Turing's work in the 1930s on computability introduced the theoretical model of the stored-program computer and linked mathematical logic directly to the limits of algorithmic calculation. His proof that no algorithm can decide in general whether an arbitrary program will halt or run forever placed fundamental boundaries on what mathematics can mechanically determine, and it opened the discipline now known as theoretical computer science.

Share this calculator

Explore More

Frequently Asked Questions

The cross product (also called the vector product) is a binary operation on two vectors in three-dimensional space that produces a third vector perpendicular to both input vectors. Unlike the dot product which yields a scalar, the cross product yields a vector. The direction of the resulting vector follows the right-hand rule: if you curl the fingers of your right hand from vector A toward vector B, your thumb points in the direction of A cross B. The magnitude of the cross product equals the area of the parallelogram formed by the two vectors. The cross product is only defined for 3D vectors (and 7D, but that is rarely used).
The cross product A x B is calculated using a 3x3 determinant with the unit vectors i, j, k in the first row. For A = (a1, a2, a3) and B = (b1, b2, b3), the formula expands to: i(a2*b3 - a3*b2) - j(a1*b3 - a3*b1) + k(a1*b2 - a2*b1). This can be remembered by covering each column of the unit vectors and computing the 2x2 determinant of the remaining elements, alternating signs. The resulting vector (a2*b3 - a3*b2, a3*b1 - a1*b3, a1*b2 - a2*b1) is guaranteed to be perpendicular to both A and B, which can be verified by computing the dot product with each input vector.
The magnitude of the cross product |A x B| equals |A| * |B| * sin(theta), where theta is the angle between vectors A and B. Geometrically, this value represents the area of the parallelogram formed by the two vectors when placed tail-to-tail. Half of this magnitude gives the area of the triangle formed by the two vectors. When the vectors are parallel (theta = 0 or 180 degrees), the cross product magnitude is zero because the parallelogram degenerates into a line segment with no area. When the vectors are perpendicular (theta = 90 degrees), the magnitude is maximized at |A| * |B|. This area interpretation is widely used in physics and computer graphics.
The right-hand rule is a convention used to determine the direction of the cross product vector. To apply it, point the fingers of your right hand in the direction of the first vector A, then curl them toward the second vector B through the smaller angle between them. Your thumb will point in the direction of A x B. This means that the cross product is anti-commutative: A x B = -(B x A), so reversing the order reverses the direction. The right-hand rule is fundamental in physics for determining the direction of magnetic forces, torques, and angular momentum vectors. It establishes a consistent convention for defining positive rotation direction.
The cross product of two vectors is the zero vector when the input vectors are parallel or anti-parallel (pointing in the same or opposite directions). This occurs because the sine of 0 degrees and 180 degrees is zero, making |A x B| = |A|*|B|*sin(theta) = 0. The cross product is also zero if either input vector is the zero vector. Geometrically, parallel vectors cannot form a parallelogram with any area, so the cross product has zero magnitude. This property is commonly used as a test for parallelism: if A x B equals the zero vector, then A and B are parallel (or one is zero). In computational geometry, this test helps determine if line segments are collinear.
The cross product has extensive applications in physics and engineering. In electromagnetism, the magnetic force on a charged particle is F = qv x B (charge times velocity cross magnetic field). Torque is calculated as tau = r x F (position vector cross force). Angular momentum is L = r x p (position cross momentum). In fluid dynamics, the curl of a velocity field uses cross products to measure rotation. In structural engineering, moments about a point are computed using cross products. In computer graphics, cross products determine surface normals for lighting calculations and are used in ray-triangle intersection tests for 3D rendering algorithms.
Educational Note: This calculator is provided for educational and informational purposes. Results are based on the formulas and inputs provided. Always verify important calculations independently. NovaCalculator processes calculator inputs client-side; optional analytics follow visitor consent settings.Reviewed by: NovaCalculator Mathematics Team โ€” Verified against standard mathematical and scientific references. Last reviewed: December 2025. ยฉ 2024โ€“2026 NovaCalculator.

Share this calculator

Formula

A x B = (a2b3 - a3b2, a3b1 - a1b3, a1b2 - a2b1)

The cross product is computed using the determinant of a 3x3 matrix with unit vectors i, j, k in the first row and the components of vectors A and B in the second and third rows. The result is perpendicular to both input vectors.

Worked Examples

Example 1: Cross Product of Two 3D Vectors

Problem: Find the cross product of A = (2, 3, 4) and B = (5, 6, 7).

Solution: A x B = (a2*b3 - a3*b2, a3*b1 - a1*b3, a1*b2 - a2*b1)\n= (3*7 - 4*6, 4*5 - 2*7, 2*6 - 3*5)\n= (21 - 24, 20 - 14, 12 - 15)\n= (-3, 6, -3)\n|A x B| = sqrt(9 + 36 + 9) = sqrt(54) = 7.3485\nParallelogram area = 7.3485 sq units

Result: Cross Product: (-3, 6, -3) | Magnitude: 7.3485 | Triangle Area: 3.6742

Example 2: Perpendicular Vectors Cross Product

Problem: Find A x B where A = (1, 0, 0) and B = (0, 1, 0).

Solution: A x B = (0*0 - 0*1, 0*0 - 1*0, 1*1 - 0*0)\n= (0, 0, 1)\n|A x B| = 1\nAngle = 90 degrees (perpendicular vectors)\nThe result (0, 0, 1) = k-hat, the unit z-vector

Result: Cross Product: (0, 0, 1) | Magnitude: 1 | Angle: 90 degrees

Frequently Asked Questions

What is the cross product of two vectors?

The cross product (also called the vector product) is a binary operation on two vectors in three-dimensional space that produces a third vector perpendicular to both input vectors. Unlike the dot product which yields a scalar, the cross product yields a vector. The direction of the resulting vector follows the right-hand rule: if you curl the fingers of your right hand from vector A toward vector B, your thumb points in the direction of A cross B. The magnitude of the cross product equals the area of the parallelogram formed by the two vectors. The cross product is only defined for 3D vectors (and 7D, but that is rarely used).

How is the cross product calculated using the determinant formula?

The cross product A x B is calculated using a 3x3 determinant with the unit vectors i, j, k in the first row. For A = (a1, a2, a3) and B = (b1, b2, b3), the formula expands to: i(a2*b3 - a3*b2) - j(a1*b3 - a3*b1) + k(a1*b2 - a2*b1). This can be remembered by covering each column of the unit vectors and computing the 2x2 determinant of the remaining elements, alternating signs. The resulting vector (a2*b3 - a3*b2, a3*b1 - a1*b3, a1*b2 - a2*b1) is guaranteed to be perpendicular to both A and B, which can be verified by computing the dot product with each input vector.

What is the geometric meaning of the cross product magnitude?

The magnitude of the cross product |A x B| equals |A| * |B| * sin(theta), where theta is the angle between vectors A and B. Geometrically, this value represents the area of the parallelogram formed by the two vectors when placed tail-to-tail. Half of this magnitude gives the area of the triangle formed by the two vectors. When the vectors are parallel (theta = 0 or 180 degrees), the cross product magnitude is zero because the parallelogram degenerates into a line segment with no area. When the vectors are perpendicular (theta = 90 degrees), the magnitude is maximized at |A| * |B|. This area interpretation is widely used in physics and computer graphics.

What is the right-hand rule and how does it determine cross product direction?

The right-hand rule is a convention used to determine the direction of the cross product vector. To apply it, point the fingers of your right hand in the direction of the first vector A, then curl them toward the second vector B through the smaller angle between them. Your thumb will point in the direction of A x B. This means that the cross product is anti-commutative: A x B = -(B x A), so reversing the order reverses the direction. The right-hand rule is fundamental in physics for determining the direction of magnetic forces, torques, and angular momentum vectors. It establishes a consistent convention for defining positive rotation direction.

When is the cross product zero and what does it mean?

The cross product of two vectors is the zero vector when the input vectors are parallel or anti-parallel (pointing in the same or opposite directions). This occurs because the sine of 0 degrees and 180 degrees is zero, making |A x B| = |A|*|B|*sin(theta) = 0. The cross product is also zero if either input vector is the zero vector. Geometrically, parallel vectors cannot form a parallelogram with any area, so the cross product has zero magnitude. This property is commonly used as a test for parallelism: if A x B equals the zero vector, then A and B are parallel (or one is zero). In computational geometry, this test helps determine if line segments are collinear.

How is the cross product used in physics and engineering?

The cross product has extensive applications in physics and engineering. In electromagnetism, the magnetic force on a charged particle is F = qv x B (charge times velocity cross magnetic field). Torque is calculated as tau = r x F (position vector cross force). Angular momentum is L = r x p (position cross momentum). In fluid dynamics, the curl of a velocity field uses cross products to measure rotation. In structural engineering, moments about a point are computed using cross products. In computer graphics, cross products determine surface normals for lighting calculations and are used in ray-triangle intersection tests for 3D rendering algorithms.

References

Reviewed by Manoj Kumar, Mathematics Educator ยท Editorial policy