Skip to content
    Algebra

    Cross Product of Vectors and Its Magnitude

    How do you find an arrow that points straight out of a tilted surface, or the area of a slanted triangle in 3D? The cross product does both. This guide shows you how to calculate it, find its length, and use the right-hand rule to get its direction.

    Math Solver Academic Editorial Board5 min read

    Key takeaways

    • a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁), a vector at right angles to both a and b.
    • Its magnitude |a × b| is the area of the parallelogram made by a and b.
    • Order matters: b × a points the opposite way to a × b.
    • The calculator's main result is the magnitude. The vector itself is in the steps.
    In this guide
    1. 01What is the cross product?
    2. 02Why does the cross product matter?
    3. 03The formula
    4. 04How to calculate the cross product step by step
    5. 05Common mistakes to avoid
    6. 06Tips and tricks
    7. 07Where you'll use it in real life
    8. 08Quick summary
    9. 09Worked example
    10. 10Frequently asked questions

    What is the cross product?

    Hold two pencils flat on a table at an angle. The cross product is a third arrow that points straight up out of the table, at right angles to both pencils. It is also called the vector product, because the answer is a vector.

    Its magnitude (length) grows as the pencils get longer and as they open up towards a right angle.

    Why does the cross product matter?

    It is the go-to tool for anything that needs a direction perpendicular to two others. 3D games use it to light surfaces correctly, engineers use it for turning forces, and it gives areas in 3D without measuring any angles.

    The vectors (2, 1, 0) and (1, 3, 0) lie flat on the floor. Their cross product is (0, 0, 5): it points straight up, and the parallelogram they make has an area of exactly 5.

    The formula

    a × b = (a₂b₃ − a₃b₂, a₃b₁ − a₁b₃, a₁b₂ − a₂b₁)
    |a × b| = √(i² + j² + k²)
    SymbolWhat it meansExample
    a = (a₁, a₂, a₃)The first vector(2, 1, 0)
    b = (b₁, b₂, b₃)The second vector(1, 3, 0)
    i = a₂b₃ − a₃b₂First component of a × b0
    j = a₃b₁ − a₁b₃Second component0
    k = a₁b₂ − a₂b₁Third component6 − 1 = 5
    ‖a × b‖Magnitude of the cross product5

    The magnitude also equals |a| × |b| × sin θ, where θ is the angle between the vectors. The calculator shows the cross product vector in its steps and gives its magnitude as the result.

    How to calculate the cross product step by step

    1. 1First component. i = a₂b₃ − a₃b₂.
    2. 2Second component. j = a₃b₁ − a₁b₃.
    3. 3Third component. k = a₁b₂ − a₂b₁.
    4. 4Find the magnitude. Square i, j and k, add them, and take the square root. This is the vector magnitude of (i, j, k).

    Now try your own two vectors in the calculator below.

    Try it yourself

    Pre-filled with the example — change any value.

    🧮
    Linear Algebra
    University

    Cross Product of Vectors

    Calculate the cross product of two 3D vectors and its magnitude

    a × b = (a₂b₃-a₃b₂, a₃b₁-a₁b₃, a₁b₂-a₂b₁)

    a1 = 2Active Variable
    Dynamic Formula Model
    0.120
    120
    120
    120
    120
    120

    💡 Example

    Reference
    Inputs:a1=1, a2=2, a3=3, b1=4, b2=5, b3=6
    Result:7.35
    Open the full Cross Product of Vectors calculator

    Common mistakes to avoid

    • Assuming a × b = b × a. They point in opposite directions. The magnitude is the same.
    • Confusing it with the [dot product](/calculator/dot-product), which gives a number, not a vector.
    • Forgetting the square root when finding the magnitude.

    Tips and tricks

    • Triangle area: half the magnitude. The triangle made by (2, 1, 0) and (1, 3, 0) has area 5 ÷ 2 = 2.5.
    • Parallel vectors give a cross product of (0, 0, 0), because there is no area between them.
    • Quick axis check: (1, 0, 0) × (0, 1, 0) = (0, 0, 1). x cross y gives z.

    Where you'll use it in real life

    • Geometry: the area of a parallelogram or triangle in 3D.
    • Physics: torque, the turning effect of a force.
    • 3D graphics: the normal (straight-out) direction of a surface for lighting.
    • Electromagnetism: the force on a charge moving through a magnetic field.

    Quick summary

    The cross product of two 3D vectors is a new vector at right angles to both, and its magnitude is the area of their parallelogram. Follow the 2-3, 3-1, 1-2 cycle and keep the order. Use the calculator above to get the vector and its magnitude with every step shown.

    Worked example

    Two sides of a flat metal plate start at the same corner and are described by the vectors (2, 1, 0) and (1, 3, 0), in metres. The magnitude of their cross product gives the area of the parallelogram-shaped plate.

    1. 01a × b = (a₂b₃-a₃b₂, a₃b₁-a₁b₃, a₁b₂-a₂b₁)
    2. 02i = 1×0 - 0×3 = 0
    3. 03j = 0×1 - 2×0 = 0
    4. 04k = 2×3 - 1×1 = 5
    5. 05a × b = (0, 0, 5)
    6. 06|a × b| = √(25) = 5

    These numbers are pre-filled in the calculator above.

    Frequently asked questions

    What does the magnitude of the cross product mean?

    It is the area of the parallelogram formed by the two vectors. Half of it is the area of the triangle they form.

    When is the cross product zero?

    When the two vectors are parallel (or one of them is zero). Then sin θ = 0, so there is no area between them.

    Does the cross product work in 2D?

    The true cross product needs 3D vectors. For 2D vectors, set the third components to 0; the answer then points straight along the z-axis.

    #Linear Algebra#University#Cross Product of Vectors
    Updated

    Keep reading

    Sponsored ToolsAd

    More tools on Ytools →
    Calcu.click — 25+ Free Smart Calculators preview

    Calcu.click — 25+ Free Smart Calculators

    Brand new calculation platform with 0ms reactive math, 100% client-side privacy, and dedicated subdomains. Fast calculators for EMI, SIP, Mortgage, Income Tax, BMI, Age, Percentage, and more.

    25+ CalculatorsFinanceHealth0ms Real-TimeFree
    Keyboard Arena preview

    Keyboard Arena

    Master touch typing with real-time WPM speed tests, mechanical switch audio, A-Z finger biomechanics drills, 40+ structured lessons, and competitive arcade games.

    Typing TestWPMTouch Typing
    Flutter Log Explorer preview

    Flutter Log Explorer

    Real-time structured log viewer and search explorer for Flutter & Dart. Zero-config capture from Debug Adapter (DAP) & Dart VM Service with smart classification and filters.

    FlutterDartVS Code ExtensionOpen VSX