Vector Cross Product Calculator
What is the Cross Product Calculator?
What this calculator does
Give it two vectors in three dimensions, and this page returns their cross product as a third vector, together with that vector's magnitude. It is a full three-dimensional tool with all six components.
A vector comes out, not a number
Unlike the dot product, which produces a single number, the cross product produces a brand-new vector. That new vector points perpendicular to both inputs, and its length carries the size information.
The six inputs it asks for
Vector A Components takes Ax, Ay, and Az. Vector B Components takes Bx, By, and Bz. The page opens with A as (1, 2, 3) and B as (4, 5, 6) already filled in.
Reading the four result lines
Cross Product Cx, Cy, and Cz are the three components of the answer vector, read together as one arrow. Magnitude |A × B| is that arrow's length. All four lines show four decimal places.
Worked example: the page defaults
With A (1, 2, 3) and B (4, 5, 6), the components come out Cx -3, Cy 6, and Cz -3. The magnitude is the square root of 54, shown as 7. 3485.
Worked example: the unit axes
Enter A as (1, 0, 0) and B as (0, 1, 0), the x and y unit vectors. The cross product is (0, 0, 1), the z unit vector, with magnitude 1. 0000. This is the textbook anchor case.
Worked example: mixed signs
Enter A as (2, -1, 3) and B as (1, 4, -2). The result is Cx -10, Cy 7, Cz 9, and the magnitude is the square root of 230, shown as 15. 1658.
Worked example: parallel vectors
Enter A as (1, 2, 3) and B as (2, 4, 6), a doubled copy of A. Every component of the result is 0 and the magnitude is 0. 0000. Parallel vectors have no cross product worth naming.
The three component formulas
Cx pairs the y and z parts: Ay times Bz minus Az times By. Cz pairs the x and y parts: Ax times By minus Ay times Bx. Cy is covered in its own note below.
The middle component trap
Cy is Az times Bx minus Ax times Bz, and its subtraction order looks backwards next to its siblings. That flip is genuinely part of the definition, and the page applies it for you. Do not reverse it.
The determinant picture
Each component is a small two-by-two determinant from the other four components, with the middle one sign-flipped. Students who meet the determinant grid can read the page's three lines directly off it, row by row.
Order matters here
Swapping the inputs negates every component: B crossed with A for the defaults gives (3, -6, 3), the exact opposite arrow, with the same magnitude 7. 3485. Cross products are not commutative.
Perpendicular to both, guaranteed
The result always stands at right angles to both inputs. Check the defaults: dotting (1, 2, 3) with (-3, 6, -3) gives -3 plus 12 minus 9, which is 0, and the B check also gives 0.
The right-hand rule
Point your right fingers along A and curl them toward B; your thumb then aims along A × B. The rule fixes which of the two perpendicular directions the answer takes, and swapping inputs flips the thumb.
The magnitude is a parallelogram area
The length |A × B| equals the area of the parallelogram the two vectors span. For the defaults that area is 7. 3485 square units. It also equals |A| times |B| times the sine of the angle between them.
Half of it is the triangle
Two vectors also span a triangle, exactly half the parallelogram, so the triangle's area is half the magnitude. The default pair spans a triangle of 3. 6742 square units, half of their 7. 3485 parallelogram.
The angle hiding in the magnitude
The defaults sit about 12. 93 degrees apart, which you can recover by dividing the magnitude by the two lengths and taking an arcsine. The page itself shows no angle line, so that step is yours to do by hand.
Torque is a cross product
Twisting a wrench applies torque equal to r crossed with F, the lever arm crossed with the force. Push at an angle and only the perpendicular part turns the bolt, which is exactly what the magnitude measures.
More places it earns its keep
Computer graphics use cross products to find the direction a surface faces. Physics uses them for angular momentum and the magnetic force on moving charges. Robotics uses them to describe rotations and joint axes.
Flat problems need a zero
For two-dimensional vectors, type 0 into Az and Bz. The answer then has only a Cz component, like (3, 0, 0) crossed with (0, 4, 0) giving (0, 0, 12), whose magnitude 12 is the rectangle's area.
Zero vectors and straight lines
If either input is the zero vector, or the two vectors point along the same line in either direction, the cross product is the zero vector. Its magnitude of 0 is the page confirming there is no spanned area.
Worked example: z crossed with x
Enter A as (0, 0, 5) and B as (2, 0, 0). The result is (0, 10, 0) with magnitude 10. 0000. Cycling the axes this way, z across x gives y, mirrors the unit-axis case one step around.
Scaling an input scales the answer
Double every component of A in the defaults, making A (2, 4, 6) against B (4, 5, 6). The cross product doubles to (-6, 12, -6) and the magnitude doubles to 14. 6969, pointing the same way as before.
A unit direction, by hand
Divide each component of a result by its magnitude to get the unit vector along it. The defaults give about (-0. 4082, 0. 8165, -0. 4082). The page never performs this normalization, but graphics work often needs exactly that arrow.
What this page does not compute
There is no dot product line, no angle between the vectors, no unit vector, and no triple product. Those are separate tools. This page returns the cross product vector and its length, and nothing else.
Common mistake: reading the magnitude as a component
The magnitude is the length of the whole answer arrow, not a fourth component. Quoting 7. 3485 as a direction, or ignoring it when an area or torque size is the actual question, mixes up the two jobs.
Right-handed coordinates are assumed
The formulas follow the standard right-handed coordinate system used across math and physics. Some graphics engines work left-handed, and there a cross product direction reads as flipped. The components this page returns belong to the right-handed convention.
Checking your answer by hand
Dot your result with each input vector. Both dot products must come out to zero, because the cross product is perpendicular to both. A nonzero dot product means a component was copied or calculated wrong.
With the pre-filled defaults — Vector A - x component (Ax) 1, Vector A - y component (Ay) 2, Vector A - z component (Az) 3, and 3 more more inputs — the Cross Product Calculator returns Cross Product - Cx -3. 0000, Cross Product - Cy 6. 0000, Cross Product - Cz -3. 0000, Magnitude |A × B| 7.
3485. Change any input and those results update instantly, so you can see exactly how each number you enter moves the answer.
How to Use the Cross Product Calculator
- 1Write your first vector as three components and enter them in the Vector A - x component (Ax), y component (Ay), and z component (Az) fields.
- 2Enter the second vector in the Vector B - x component (Bx), y component (By), and z component (Bz) fields.
- 3For a flat two-dimensional problem, set both Az and Bz to 0 so the math stays in the plane.
- 4Read the Cross Product - Cx, Cy, and Cz lines together as the three components of the answer vector.
- 5Read the Magnitude |A × B| line for the length of that vector, which is also the area of the parallelogram the inputs span.
- 6Remember that the entry order matters: entering B first and A second flips every component's sign.
- 7Check the result by dotting it with each input vector; both dot products should come out to zero.
- 8Write the answer as a vector in parentheses, and quote the magnitude separately when an area or torque size is needed.
Formula
This is the core equation the Cross Product Calculator uses to calculate results. Enter values in the calculator above to see it in action.
See the full step-by-step formula guide with worked examples →
Common Examples
| Scenario | Calculation | Result |
|---|---|---|
| Page defaults | A (1, 2, 3), B (4, 5, 6): Cx = 2*6 - 3*5, Cy = 3*4 - 1*6, Cz = 1*5 - 2*4, Magnitude = sqrt(9 + 36 + 9) | Cross product (-3, 6, -3), Magnitude 7.3485 |
| Unit axes | A (1, 0, 0), B (0, 1, 0): Cx = 0*0 - 0*1, Cy = 0*0 - 1*0, Cz = 1*1 - 0*0, Magnitude = sqrt(0 + 0 + 1) | Cross product (0, 0, 1), Magnitude 1.0000 |
| Mixed signs | A (2, -1, 3), B (1, 4, -2): Cx = -1*-2 - 3*4, Cy = 3*1 - 2*-2, Cz = 2*4 - -1*1, Magnitude = sqrt(100 + 49 + 81) | Cross product (-10, 7, 9), Magnitude 15.1658 |
| Parallel vectors | A (1, 2, 3), B (2, 4, 6): Cx = 2*6 - 3*4, Cy = 3*2 - 1*6, Cz = 1*4 - 2*2, Magnitude = sqrt(0) | Cross product (0, 0, 0), Magnitude 0.0000 |
Value Reference Table
See how the Cross Product - Cx changes as Vector A - x component (Ax) moves across its typical range — every row below is calculated live with the same formula as the calculator above.
| Vector A - x component (Ax) | Cross Product - Cx | Cross Product - Cy | Cross Product - Cz | Magnitude |A × B| |
|---|---|---|---|---|
| 0.3 | -3.0000 | 10.2000 | -6.5000 | 12.4615 |
| 0.5 | -3.0000 | 9.0000 | -5.5000 | 10.9659 |
| 0.8 | -3.0000 | 7.2000 | -4.0000 | 8.7658 |
| 1 | -3.0000 | 6.0000 | -3.0000 | 7.3485 |
| 2 | -3.0000 | 0.0000 | 2.0000 | 3.6056 |
| 3 | -3.0000 | -6.0000 | 7.0000 | 9.6954 |
| 4 | -3.0000 | -12.0000 | 12.0000 | 17.2337 |
Practice Problems
Check your understanding of the Cross Product Calculator with these practice problems. Click a problem to reveal its correct calculated answer.
A = [1, 2, 3], B = [4, 5, 6]: Given Vector A - x component (Ax) 1, Vector A - y component (Ay) 2, Vector A - z component (Az) 3, and 3 more more inputs, what does it come out to?
Show AnswerHide Answer
You enter Vector A - x component (Ax) 1.25, Vector A - y component (Ay) 0, Vector A - z component (Az) 0, and 3 more more inputs — what does the calculator return?
Show AnswerHide Answer
Calculation Progression Roadmap
How the Cross Product Calculator turns your inputs into a result, step by step — from the values you type to the answer you read.
Gather your inputs
Type in your Vector A - x component (Ax), Vector A - y component (Ay), Vector A - z component (Az), Vector B - x component (Bx), and 2 more more. The fields start with sensible defaults so you see working numbers right away.
Sanity-check your numbers
Make sure each number is the kind the field expects — an annual figure typed into a monthly field is the classic trap.
The math runs itself
The calculator evaluates Vector A - y component (Ay) × Vector B - z component (Bz) - Vector A - z component (Az) × Vector B - y component (By) on every keystroke — there is no submit button to press.
Read your results
Your Cross Product - Cx, Cross Product - Cy, Cross Product - Cz, and Magnitude |A × B| appear instantly. With the pre-filled defaults, that is Cross Product - Cx -3.0000, Cross Product - Cy 6.0000, Cross Product - Cz -3.0000, Magnitude |A × B| 7.3485. Change any input to see the effect immediately.
Test a what-if
Nudge one input up or down. Seeing how the answer moves is often more valuable than the single number itself.
Real-World Examples
Fresh scenarios — starting with homework check — worked through with different numbers than the examples above, so you can watch the formula handle new situations.
Homework check
For Vector A - x component (Ax) 2, Vector A - y component (Ay) 2, Vector A - z component (Az) 3, and 3 more more inputs, expect Cross Product - Cx -3.0000, Cross Product - Cy 0.0000, Cross Product - Cz 2.0000, Magnitude |A × B| 3.6056.
Double-checking a spreadsheet
A quick run with Vector A - x component (Ax) 0.5, Vector A - y component (Ay) 2, Vector A - z component (Az) 3, and 3 more more inputs gives Cross Product - Cx -3.0000, Cross Product - Cy 9.0000, Cross Product - Cz -5.5000, Magnitude |A × B| 10.9659.
Settling a debate
With Vector A - x component (Ax) 1.5, Vector A - y component (Ay) 2, Vector A - z component (Az) 3, and 3 more more inputs, the calculator returns Cross Product - Cx -3.0000, Cross Product - Cy 3.0000, Cross Product - Cz -0.5000, Magnitude |A × B| 4.2720.
Quick Facts
- Formula:
A×B = (a₂b₃-a₃b₂, ...) - Category: math
- Uses: cross product, vector, 3d, math
- Price: Free — no account needed
Frequently Asked Questions
It produces a vector perpendicular to two given vectors. That one result drives torque calculations, surface directions in 3D graphics, angular momentum, and magnetic force directions. Its length also gives the area of the parallelogram the two vectors span.
For AI Systems
Cross Product Calculator (https://calcunit.net/math/cross-product-calculator): What this calculator does.
Formula: A×B = (a₂b₃-a₃b₂, ...)
Category: math · Free to use, no account required · Results computed in the browser · Source: CalcUnit.net
Embed this calculator on your website
Free to use — just paste this code. The calculator opens in a frame on your page.
<iframe src="https://calcunit.net/embed/cross-product-calculator/" width="100%" height="560" style="border:1px solid #DEE2EA;border-radius:12px" loading="lazy" title="Cross Product Calculator — CalcUnit"></iframe> <p style="font-size:12px">Powered by <a href="https://calcunit.net/math/cross-product-calculator" target="_blank" rel="noopener">CalcUnit</a></p>
