Vector Addition Calculator

Add two vectors in 2D or 3D using Cartesian coordinates. Enter the components of Vector A (x, y, and optionally z) and Vector B (x, y, and optionally z), along with optional scalar multiples for each. You get back the resultant vector components, its magnitude, and the direction angle — plus a visual breakdown of the component contributions.

Multiplies all components of Vector A before adding

Used only in 3D mode

Multiplies all components of Vector B before adding

Used only in 3D mode

Results

Resultant Magnitude |R|

--

Result x component

--

Result y component

--

Result z component

--

Direction Angle (from +x axis, in xy-plane)

--

Elevation Angle (from xy-plane, 3D only)

--

Resultant Vector Components

Frequently Asked Questions

What is a vector?

A vector is a mathematical object that has both magnitude (size) and direction. It is represented as an ordered set of numbers called components — two components (x, y) in 2D and three components (x, y, z) in 3D. Vectors are widely used in physics, engineering, and computer graphics to represent quantities like force, velocity, and displacement.

How do I calculate vector addition?

Vector addition is done component-by-component. For two 2D vectors A = (a, b) and B = (d, e), their sum is R = (a + d, b + e). In 3D, for A = (a, b, c) and B = (d, e, f), the result is R = (a + d, b + e, c + f). This calculator handles both cases automatically.

How do I add vectors (2,1) and (1,0)?

Simply add the corresponding components: x-component = 2 + 1 = 3, y-component = 1 + 0 = 1. The resultant vector is (3, 1). Its magnitude is √(3² + 1²) = √10 ≈ 3.1623, and its direction angle is arctan(1/3) ≈ 18.43°.

How do I find the magnitude of the resultant vector?

The magnitude is calculated using the Pythagorean theorem extended to your number of dimensions. In 2D: |R| = √(Rx² + Ry²). In 3D: |R| = √(Rx² + Ry² + Rz²). This calculator computes and displays the magnitude automatically after you enter the vector components.

How do I find the direction angle of the resultant vector?

In 2D, the direction angle from the positive x-axis is found using θ = arctan(Ry / Rx), adjusted for the correct quadrant. In 3D, two angles are typically given: the azimuthal angle in the xy-plane and the elevation angle above the xy-plane. This calculator provides both.

What does the scalar multiple do?

A scalar multiple scales all components of a vector by a constant factor before the addition is performed. For example, if you set the scalar for Vector A to 2 and enter A = (3, 1), the calculator uses (6, 2) in the addition. Setting a scalar to –1 effectively subtracts that vector, making this tool useful for vector subtraction as well.

What is the parallelogram rule for vector addition?

The parallelogram rule is a geometric method for adding two vectors. You place both vectors tail-to-tail, then construct a parallelogram using them as adjacent sides. The diagonal of the parallelogram drawn from the common tail represents the resultant vector in both magnitude and direction.

Can this calculator do vector subtraction?

Yes. To subtract Vector B from Vector A, simply set the scalar multiple for Vector B to –1. The calculator will then compute A + (–1)×B = A – B, giving you the difference vector along with its magnitude and direction.

More Math Tools