Vector Sum Calculator

Add 2 to 10 vectors in 2D or 3D and get the resultant, its magnitude and direction.

  1. Enter valuesUse your own inputs or an example
  2. CalculateApply your selected settings
  3. View resultExplore the answer and explanation

Enter the vectors

Enter your values below to get started.

Examples:
Dimension
Input format
2 to 10 vectors. Components: 3, 4. Polar 2D: 10, 30 (magnitude, angle from +x). Polar 3D: magnitude, azimuth, elevation.
Reset restores the default values.

Tips for this calculator

Angles are measured counter-clockwise from the +x axis (east = 0°, north = 90°).

Brackets are optional: (3, 4), ⟨3, 4⟩ and 3 4 all work.

Use pi/6 in radian mode for 30°.

A resultant of ⟨0, 0⟩ means the vectors are in equilibrium.

A vector sum calculator adds 2 or more vectors component by component and returns the resultant vector, its magnitude and its direction. Enter vectors in 2D or 3D as components (x, y, z) or as a magnitude and angle, and get the resultant R, |R|, the direction angle, the unit vector, the working and a tip-to-tail diagram.

What Is a Vector Sum?

A vector sum is the single vector, called the resultant, that has the same effect as 2 or more vectors combined. Vectors carry both a magnitude and a direction, for example a force of 50 newtons (N) pointing east or a velocity of 4 m/s pointing north, so vectors cannot be added like plain numbers.

R⃗=A⃗+B⃗=⟨Ax+Bx, Ay+By⟩\vec R = \vec A + \vec B = \langle A_x + B_x,\ A_y + B_y \rangle

A force of 50 N east plus 30 N north gives a resultant of 58.31 N at 30.96° north of east, not 80 N. The resultant equals 80 N only when both forces point the same way.

InteractiveDrag 2 vectors and watch the resultant

How Does the Vector Sum Calculator Work?

The vector sum calculator converts every vector to components, adds the x, y and z components separately and rebuilds the magnitude and direction from the totals. Polar inputs (magnitude and angle) are converted with sine and cosine first.

InteractiveSplit a vector into x and y components
  1. Read each vector

    Components like 3, 4, or a magnitude and angle like 10, 30.

  2. Convert to components

    x = |v| cos θ and y = |v| sin θ. 10∠30° becomes ⟨8.66025, 5⟩.

  3. Add component-wise

    Rx = Σ xi, Ry = Σ yi (and Rz = Σ zi in 3D).

  4. Magnitude and direction

    |R| = √(Rx² + Ry²); θ = atan2(Ry, Rx), which puts the angle in the correct quadrant.

Vector Sum Formula

The vector sum formula adds matching components: R = ⟨Ax + Bx, Ay + By, Az + Bz⟩. 3 more formulas give the magnitude, the direction and the magnitude from the angle between 2 vectors.

Component Formula

R⃗=∑i=1nv⃗i=⟨∑xi, ∑yi, ∑zi⟩\vec R = \sum_{i=1}^{n} \vec v_i = \Big\langle \sum x_i,\ \sum y_i,\ \sum z_i \Big\rangle

Magnitude of the Resultant

∣R⃗∣=Rx2+Ry2+Rz2|\vec R| = \sqrt{R_x^2 + R_y^2 + R_z^2}

Direction of the Resultant

θ=atan2⁡(Ry, Rx)\theta = \operatorname{atan2}(R_y,\ R_x)

In 3D, the direction angles satisfy cos α = Rx/|R|, cos β = Ry/|R| and cos γ = Rz/|R|.

Law of Cosines Formula

∣A⃗+B⃗∣=A2+B2+2ABcos⁡φ|\vec A + \vec B| = \sqrt{A^2 + B^2 + 2AB\cos\varphi}

φ is the angle between A and B. With |A| = 5, |B| = 3 and φ = 60°, |R| = √49 = 7.

InteractiveResultant magnitude vs. the angle between 2 vectors

Methods of Vector Addition

There are 3 methods of vector addition: the tip-to-tail (triangle) method, the parallelogram method and the component method. All 3 give the same resultant; the component method is the only exact method for 3 or more vectors and for 3D.

InteractiveSame 2 vectors, 3 methods, 1 resultant

Tip-to-tail (triangle) method

Place each vector at the tip of the previous one. The resultant runs from the first tail to the last tip.

Parallelogram method

Draw 2 vectors from 1 point and complete the parallelogram. The diagonal from that point is the resultant.

Component (analytical) method

Add x, y and z components separately, then use the Pythagorean theorem and atan2. The calculator uses this method.

How to Calculate a Vector Sum by Hand

To calculate a vector sum by hand, add all x-components, add all y-components, then find the magnitude with the Pythagorean theorem and the angle with the inverse tangent. Here is A = ⟨3, 4⟩ + B = ⟨−1, 2⟩ + C = ⟨5, −3⟩.

  1. Rx = 3 + (−1) + 5 = 7.
  2. Ry = 4 + 2 + (−3) = 3.
  3. |R| = √(7² + 3²) = √58 ≈ 7.6158.
  4. θ = atan2(3, 7) ≈ 23.199° from the +x axis.
  5. Unit vector: ⟨7, 3⟩ ÷ 7.6158 ≈ ⟨0.91915, 0.39392⟩.
InteractiveStep through 3 vector sums

    Vector Sum in 3D

    A 3D vector sum adds the x, y and z components separately, exactly as in 2D, with 1 extra component. The magnitude becomes √(Rx² + Ry² + Rz²), and the direction needs 2 angles (azimuth and elevation) or 3 direction angles α, β and γ.

    ⟨2,1,3⟩+⟨1,3,−1⟩=⟨3,4,2⟩,∣R⃗∣=29≈5.3852\langle 2, 1, 3\rangle + \langle 1, 3, -1\rangle = \langle 3, 4, 2\rangle,\quad |\vec R| = \sqrt{29} \approx 5.3852

    For R = ⟨3, 4, 2⟩, the direction angles are α ≈ 56.145°, β ≈ 42.031° and γ ≈ 68.199°, and cos²α + cos²β + cos²γ = 1.

    InteractiveRotate a 3D vector sum

    Properties of Vector Addition

    Vector addition has 4 properties: commutative, associative, an identity (the zero vector) and an inverse (the negative vector). The order of addition changes the tip-to-tail path, never the resultant.

    • Commutative: A + B = B + A.
    • Associative: (A + B) + C = A + (B + C).
    • Identity: A + 0 = A.
    • Inverse: A + (−A) = 0, so ⟨3, 4⟩ + ⟨−3, −4⟩ = ⟨0, 0⟩.
    • Triangle inequality: |A + B| ≤ |A| + |B|.
    InteractiveChange the order of 3 vectors: same resultant

    Common Mistakes with Vector Sums

    • Adding magnitudes: 50 N + 30 N at a right angle is 58.31 N, not 80 N.
    • Using arctan instead of atan2: arctan(4/−3) gives −53.13°, but ⟨−3, 4⟩ points at 126.87°.
    • Mixing degrees and radians: cos 30 in radians is 0.1543, while cos 30° is 0.866.
    • Measuring bearings as math angles: a compass bearing of 30° is 60° from the +x axis.
    • Dropping negative signs: a vector pointing west has a negative x-component.
    InteractiveTrue or false: vector sums
    1. The magnitude of A + B is always |A| + |B|.

    2. ⟨3, 4⟩ + ⟨−3, −4⟩ is the zero vector.

    3. A + B and B + A have the same direction.

    4. The vector ⟨−3, 4⟩ points at −53.13°.

    5. 2 vectors of magnitude 5 can add up to a vector of magnitude 0.

    Score: 0 / 5

    How to Use the Vector Sum Calculator

    Choose 2D or 3D, pick components or magnitude and direction, type 1 vector per line and press Calculate. The result shows the resultant, magnitude, direction, unit vector and a tip-to-tail diagram.

    InteractiveLoad a ready-made vector sum

    Each button fills the calculator and runs it.

    1. Pick the dimension

      2D for x and y, 3D for x, y and z.

    2. Pick the format

      Components (3, 4) or magnitude and direction (10, 30).

    3. Type the vectors

      1 vector per line, 2 to 10 lines.

    4. Read the result

      Steps show each component sum; the diagram draws the vectors tip to tail.

    Real-Life Applications of Vector Sums

    Vector sums give the net effect of several pushes, motions or fields acting at once. There are 5 common applications:

    • Physics: the net force on an object is the vector sum of all forces (Newton's second law, F = ma).
    • Boats and aircraft: ground velocity = heading velocity + current or wind velocity.
    • Engineering: statics checks that the forces on a joint sum to the zero vector.
    • Navigation: legs of a trip (displacements) add up to the straight-line distance from the start.
    • Electromagnetism: electric fields from several charges add as vectors (superposition).
    InteractiveBoat crossing a river: heading + current = ground velocity

    Vector Sum Examples

    7 common vector additions with their resultant, magnitude and direction.

    Vector Sum Examples
    VectorsResultant R|R|DirectionCalculator
    ⟨3,4⟩+⟨−1,2⟩+⟨5,−3⟩\langle 3,4\rangle + \langle -1,2\rangle + \langle 5,-3\rangle⟨7, 3⟩7.615823.199°
    ⟨3,4⟩+⟨5,12⟩\langle 3,4\rangle + \langle 5,12\rangle⟨8, 16⟩17.888563.435°
    10∠30∘+8∠120∘10\angle 30^\circ + 8\angle 120^\circ⟨4.66025, 11.9282⟩12.806268.660°
    50∠0∘+30∠90∘50\angle 0^\circ + 30\angle 90^\circ⟨50, 30⟩58.309530.964°
    ⟨2,3⟩+⟨−5,1⟩+⟨3,−4⟩\langle 2,3\rangle + \langle -5,1\rangle + \langle 3,-4\rangle⟨0, 0⟩0none
    ⟨2,1,3⟩+⟨1,3,−1⟩\langle 2,1,3\rangle + \langle 1,3,-1\rangle⟨3, 4, 2⟩5.3852α 56.145°, β 42.031°, γ 68.199°
    ⟨1,2,3⟩+⟨4,5,6⟩+⟨−2,0,1⟩\langle 1,2,3\rangle + \langle 4,5,6\rangle + \langle -2,0,1\rangle⟨3, 7, 10⟩12.5698α 76.192°, β 56.159°, γ 37.292°

    Popular Vector Sum Problems

    Try each one, then reveal the answer or solve it in the calculator.

    1. Add A = ⟨4, −2⟩ and B = ⟨−1, 6⟩. Find the magnitude and direction.

      \langle 4,-2\rangle + \langle -1,6\rangle
      Show answer\langle 3,4\rangle,\ |\vec R| = 5,\ \theta \approx 53.13^\circ
    2. Add a vector of magnitude 12 at 40° and a vector of magnitude 7 at 160°.

      12\angle 40^\circ + 7\angle 160^\circ
      Show answer|\vec R| \approx 10.4403,\ \theta \approx 75.496^\circ
    3. Find the resultant of ⟨1, −2, 4⟩ and ⟨3, 5, −1⟩.

      \langle 1,-2,4\rangle + \langle 3,5,-1\rangle
      Show answer\langle 4,3,3\rangle,\ |\vec R| = \sqrt{34} \approx 5.831
    4. 3 forces act on a point: ⟨10, 0⟩ N, ⟨0, 10⟩ N and ⟨−4, −3⟩ N. Find the net force.

      \vec F_1 + \vec F_2 + \vec F_3
      Show answer\langle 6,7\rangle\ \text{N},\ 9.2195\ \text{N at } 49.399^\circ
    5. A boat heads north at 4 m/s in a current flowing east at 3 m/s. Find the ground velocity.

      4\angle 90^\circ + 3\angle 0^\circ
      Show answer5\ \text{m/s at } 53.13^\circ\ (\text{bearing } 36.87^\circ)
    6. Add 2 vectors of magnitude 6 at 0° and 120°.

      6\angle 0^\circ + 6\angle 120^\circ
      Show answer|\vec R| = 6,\ \theta = 60^\circ

    Explore More Sum Calculators

    Discover 67 free sum calculators across different categories. Find the right calculator for your needs.

    Browse All 67 Calculators
    Questions and answers

    Frequently Asked Questions

    What is a vector sum calculator?

    A vector sum calculator is an online tool that adds 2 or more vectors and returns the resultant vector, its magnitude and its direction. It accepts 2D or 3D vectors as components or as a magnitude and angle.

    How do you find the sum of 2 vectors?

    Add the matching components: ⟨a₁, a₂⟩ + ⟨b₁, b₂⟩ = ⟨a₁ + b₁, a₂ + b₂⟩. For ⟨3, 4⟩ + ⟨5, 12⟩, the sum is ⟨8, 16⟩.

    How do you find the magnitude of a resultant vector?

    Take the square root of the sum of the squared components: |R| = √(R<sub>x</sub>² + R<sub>y</sub>² + R<sub>z</sub>²). ⟨7, 3⟩ has a magnitude of √58 ≈ 7.6158.

    How do you find the direction of a resultant vector?

    Use θ = atan2(R<sub>y</sub>, R<sub>x</sub>), measured counter-clockwise from the +x axis. ⟨7, 3⟩ points at about 23.199°.

    Is the magnitude of a vector sum equal to the sum of the magnitudes?

    No, the magnitude of a vector sum equals the sum of the magnitudes only when every vector points in the same direction. In every other case, |A + B| < |A| + |B| (the triangle inequality).

    Can a vector sum be zero?

    Yes, a vector sum is zero when the vectors cancel, for example ⟨2, 3⟩ + ⟨−5, 1⟩ + ⟨3, −4⟩ = ⟨0, 0⟩. Forces with a zero sum keep an object in equilibrium.

    What is the difference between a vector sum and a scalar sum?

    A vector sum adds directions as well as sizes, while a scalar sum adds plain numbers. 3 m east plus 4 m north is a 5 m displacement (vector sum) but a 7 m walk (scalar sum of distances).

    Does the order of adding vectors matter?

    No, the order of adding vectors does not change the resultant, since vector addition is commutative and associative. The order changes only the path drawn in a tip-to-tail diagram.

    How do you add vectors given in magnitude and direction form?

    Convert each vector to components with x = |v| cos θ and y = |v| sin θ, add the components, then convert back. 10∠30° + 8∠120° = ⟨4.66025, 11.9282⟩, which is 12.8062 at 68.660°.

    Conclusion

    A vector sum adds vectors component by component, and the vector sum calculator returns the resultant, its magnitude, its direction and a tip-to-tail diagram for 2 to 10 vectors in 2D or 3D. Convert polar vectors with sine and cosine, add the components and use atan2 for the angle.

    Not sure which method to use? Answer the questions below.

    InteractiveWhich vector addition method fits your problem?