3D Cross Product of Two Vectors
Type the x, y and z components of two vectors and get a × b, the vector perpendicular to both, whose length equals the area of the parallelogram they span.
a × b
—
Cross product u × v in 3D
The cross product takes two 3D vectors, u = (u₁, u₂, u₃) and v = (v₁, v₂, v₃), and gives back the vector u × v = (u₂v₃ - u₃v₂, u₃v₁ - u₁v₃, u₁v₂ - u₂v₁). What comes out is perpendicular to the plane that u and v span, and its length |u × v| = |u|·|v|·sin θ matches the area of the parallelogram the two vectors trace out. To find which way it points, use the right-hand rule: point your fingers from u toward v, and your thumb lands on u × v. For instance, (1, 0, 0) × (0, 1, 0) = (0, 0, 1), the familiar x̂ × ŷ = ẑ. A few properties worth remembering. It's anti-commutative, so u × v = -(v × u); parallel vectors give u × v = 0; and it distributes over addition. The dot product works in any dimension, but the cross product really lives only in 3D (7D is a strange exception).
Applications
It turns up all over mechanics: torque τ = r × F, angular momentum L = r × p, and the magnetic force on a moving charge F = qv × B (the Lorentz force). In 3D graphics you compute surface normals from two edge vectors to handle lighting. It also gives the area of a triangle as A = ½|u × v|, and a quick collinearity test for three points: the cross product of two edge vectors comes out zero.
FAQ
Why is the cross product a vector and the dot product a scalar? The cross product carries two pieces of information at once, a magnitude (the area) and a direction in space (the perpendicular). The dot product just measures how much one vector projects onto another, which boils down to a single number.
What does u × v = 0 mean? One of two things. Either one of the vectors is the zero vector, or u and v point along the same line so sin θ = 0. A vector crossed with itself, u × u, is always 0.
Does u × v exist in 2D? Not as a vector, no. What you get instead is a scalar, u₁v₂ - u₂v₁ (the z-component you'd see from the 3D version), and it tells you the signed area of the parallelogram.
Related Tools
3D Cross Product
Computes the cross product of two vectors in R3 from their components in a single line.
3D Dot Product
Computes the dot product of two vectors in R3 from their components in a single line.
Cold Room Heat Load
Compute the product cooling heat load in a cold room, Q = m·cp·ΔT, from the product mass, its specific heat and the desired temperature change. It is the sensible-heat portion to remove to lower the product temperature — one of the components of the room's total load (which also includes wall transmission, infiltration, lighting, motors and people). It defines the refrigerating capacity needed. Enter the mass, the specific heat and the ΔT.
IPI Tax Calculator
Calculate the Brazilian IPI tax on a product from the tax base and rate. Instantly see the tax amount and the total price with IPI included.
3D Dot Product Calculator
Calculate the dot product (scalar product) of two 3D vectors from their x, y and z coordinates. Useful in physics, computer graphics and vector geometry.
Vector Projection Calculator
Computes scalar and vector projection of vector u onto vector v in three dimensions using dot product and unit vector.
The results provided by this tool are for general informational and educational purposes only and do not constitute professional, financial, medical, legal, tax or accounting advice. Always confirm important decisions with a qualified professional and official sources.