Vector Addition Calculator
Add two 2D or 3D vectors component by component and get the resultant vector instantly.
Add vectors
Enter x, y, and z components. For a 2D vector, enter zero for both z-components.
About vector addition
Vector addition combines quantities that have both magnitude and direction. Instead of adding entire vectors as single numbers, you add their corresponding coordinates. For vectors A = (Ax, Ay, Az) and B = (Bx, By, Bz), the sum is A + B = (Ax + Bx, Ay + By, Az + Bz). This component-by-component rule works because each coordinate describes an independent direction in the chosen coordinate system.
In two dimensions, a vector has horizontal and vertical components. You can still use this calculator by entering zero in both z-component fields. In three dimensions, the z-coordinate adds depth, so all three pairs of components contribute to the resultant. Negative components are valid and indicate direction along the negative side of an axis. Decimal values are also supported for measurements that are not whole numbers.
Vector addition has a clear geometric meaning. Place the tail of the second vector at the head of the first vector. The resultant runs from the tail of the first vector to the head of the shifted second vector. This is called the head-to-tail method. For two vectors drawn from the same starting point, the same result appears as the diagonal of the parallelogram formed by the vectors.
The operation is commutative, meaning A + B equals B + A, and associative, meaning vectors can be grouped in any order when adding three or more of them. Those properties make it practical to combine forces, velocities, displacements, electrical fields, and other directed quantities. However, coordinates must refer to the same axes and use compatible units. A displacement measured in meters cannot be added directly to one measured in feet without conversion.
This calculator reports the exact component sum using ordinary arithmetic. It does not separately calculate the resultant magnitude or direction, although those can be found from the resulting coordinates. In three dimensions, magnitude is the square root of x squared plus y squared plus z squared. Use the displayed sum as the starting point for that calculation or for later dot products, cross products, projections, and coordinate transformations.
Vector addition examples
| Vectors | Sum | Explanation |
|---|---|---|
| A = (1, 2), B = (3, 4) | (4, 6) | Add 1 + 3 and 2 + 4. |
| A = (2, -1, 5), B = (-3, 4, 1) | (-1, 3, 6) | Each of the three coordinates is added independently. |
| A = (0.5, 2.5), B = (1.5, -0.5) | (2, 2) | Decimal and negative components follow the same rule. |
How to add vectors
- Enter the x, y, and z components of Vector A.
- Enter the matching components of Vector B, using zero for z when working in 2D.
- Select Add vectors to calculate the component-wise sum.
- Read the resultant vector and use Reset to begin another calculation.
Vector addition FAQ
How do you add two vectors?
Add coordinates in matching positions. The x-components combine with x-components, and the same rule applies to y and z.
Can I add a 2D vector with this calculator?
Yes. Enter zero for both z-components, and the displayed z-coordinate of the result will remain zero.
Does the order of vector addition matter?
No, vector addition is commutative. Reversing the two input vectors produces the same resultant coordinates.
Can vector components be negative?
Yes, negative values represent direction opposite the positive axis. They are added with their signs like any other real numbers.
Is the sum the same as the sum of magnitudes?
Usually it is not. Vector direction affects the resultant, so magnitudes only add directly when both vectors point in exactly the same direction.