Add or subtract 2–5 vectors in 2D or 3D. View resultant magnitude, direction, component-wise breakdown table, magnitude comparison bars, and component contribution visuals.
Vector addition is the most fundamental vector operation: given two or more vectors, their sum (the resultant) is found by adding corresponding components. Geometrically, this corresponds to placing vectors tip-to-tail. When forces, velocities, or displacements are represented as vectors, their combined effect is exactly the vector sum.
This calculator handles addition and subtraction of 2 to 5 vectors in both 2D and 3D. Enter your vectors component by component, or click a preset to load a common scenario like a force-balance problem, a displacement chain, or the classic triangle rule. Choose "Add All" to compute v₁ + v₂ + ⋯ or "Subtract" for v₁ − v₂ − v₃ − ⋯.
The output shows the resultant vector, its magnitude, its unit direction, and — in 2D — the direction angle from the x-axis. A component-wise breakdown table lists every input vector alongside the resultant, making it easy to verify each coordinate. A triangle-inequality check confirms that the resultant magnitude never exceeds the sum of individual magnitudes.
Magnitude comparison bars let you visually compare each input vector's length against the resultant, immediately showing whether vectors reinforce or partially cancel. Component contribution bars break the resultant down by axis, highlighting which dimension dominates and whether cancellation occurs (indicated by red bars for negative components).
Understanding vector addition is essential for statics, dynamics, electromagnetism, navigation, and computer graphics. The ability to decompose the resultant into components and visualize the interplay between inputs builds the geometric intuition that makes advanced vector calculus and linear algebra tractable.
Adding more than two vectors component-wise becomes error-prone fast, and computing the resultant magnitude and direction requires several steps of squaring, summing, and taking inverse trig. This calculator handles up to 5 vectors in 2D or 3D, supports both addition and subtraction modes, breaks down each component’s contribution, and reports the resultant’s magnitude and direction angle. Presets cover classic physics scenarios: force balance, displacement chains, and the triangle rule. It is the quickest way to verify net-force or net-displacement problems.
R = v₁ ± v₂ ± ⋯ (component-wise); ‖R‖ = √(Rx² + Ry² + Rz²); θ = atan2(Ry, Rx) for 2D angle
Result: R = (2, 6), ‖R‖ ≈ 6.3246, θ ≈ 71.57°
Rx = 3 + (−1) = 2, Ry = 4 + 2 = 6. ‖R‖ = √(4 + 36) = √40 ≈ 6.3246. θ = atan2(6, 2) ≈ 71.57°.
Vector addition is defined component-wise: (a₁, b₁) + (a₂, b₂) = (a₁ + a₂, b₁ + b₂). Geometrically, this corresponds to the **parallelogram law**: place the tails of two vectors at the same point, complete the parallelogram, and the diagonal is the resultant. Equivalently, use the **tip-to-tail** method: place the second vector’s tail at the first vector’s tip, and the resultant runs from the first tail to the final tip. Both representations are equivalent; parallel vectors produce a degenerate (flat) parallelogram.
The **triangle inequality** states ‖v₁ + v₂‖ ≤ ‖v₁‖ + ‖v₂‖, with equality only when the vectors are parallel and point in the same direction. This means the straight-line resultant is always ≤ the sum of individual magnitudes. When the resultant is exactly zero, the vectors are in **equilibrium** — a state explored in statics, where all forces on a body sum to zero. The triangle inequality generalizes to any number of vectors and is fundamental in analysis and optimization.
In **Newtonian mechanics**, the net force on an object is the vector sum of all applied forces; equal and opposite forces cancel, explaining static equilibrium. In **navigation**, velocity vectors of a boat and a river current are added to find the actual path (ground velocity). In **computer graphics**, combining displacement vectors produces animation paths and camera movements. In **electrical engineering**, AC phasor analysis adds voltage and current vectors to find net signals. Vector addition is the most basic and most-used operation in all of applied mathematics.
Add corresponding components: if v₁ = (a₁, b₁) and v₂ = (a₂, b₂), then v₁ + v₂ = (a₁ + a₂, b₁ + b₂). This extends to any number of dimensions and any number of vectors.
The resultant is the single vector that represents the combined effect of all input vectors. Geometrically, it's the vector from the starting point to the final point when vectors are placed tip-to-tail.
The triangle inequality states that ‖v₁ + v₂‖ ≤ ‖v₁‖ + ‖v₂‖. Equality holds only when vectors point in the same direction. This generalizes to any number of vectors.
Subtracting v₂ from v₁ means adding the negation: v₁ − v₂ = v₁ + (−v₂). Geometrically, the difference vector points from the tip of v₂ to the tip of v₁.
Only vectors of the same dimension can be added. You can embed a 2D vector in 3D by setting the z-component to zero, but the dimensions must match for the operation.
In physics, a zero resultant means the system is in equilibrium — all forces, velocities, or other vector quantities perfectly cancel out. Use this as a practical reminder before finalizing the result.