Vector Calculator
Calculate vector addition, subtraction, dot products, and cross products for 3D coordinates.
About vector operations
Vector operation examples
| Operation | Result | Explanation |
|---|---|---|
| (1, 2, 3) + (4, 5, 6) | (5, 7, 9) | Add corresponding components. |
| (1, 2, 3) dot (4, 5, 6) | 32 | Compute 1 times 4 plus 2 times 5 plus 3 times 6. |
| (1, 2, 3) cross (4, 5, 6) | (-3, 6, -3) | The result is perpendicular to both input vectors. |
How to use the vector calculator
- Choose addition, subtraction, dot product, or cross product.
- Enter all three components for Vector A and Vector B.
- Select Calculate to perform the chosen operation.
- Review the scalar or vector result, then reset or choose another operation.
Vector calculator FAQ
What is the difference between a dot product and a cross product?
A dot product returns a scalar that measures directional alignment. A cross product returns a vector perpendicular to both inputs.
Can this calculator work with 2D vectors?
Yes for addition, subtraction, and dot products. Enter zero in both z fields to represent vectors in the xy-plane.
When are two vectors perpendicular?
Two nonzero vectors are perpendicular when their dot product is zero. Small rounding differences may produce a value very close to zero for decimal inputs.
What direction does the cross product point?
It points perpendicular to the plane containing both vectors. Its sign and direction follow the right-hand rule from Vector A toward Vector B.
Does vector subtraction depend on order?
Yes, A minus B is generally the negative of B minus A. Keep the intended first and second vectors in the correct input groups.