Vector Math
Vector Addition Calculator
Combine vectors of any dimension by adding or subtracting their components and see the result instantly.
vector additionvector subtractioncomponents
Vector Addition & Subtraction
Add or subtract vectors component-wise in any dimension.
Dimension
3
A + B
(3, -1, 4)
A − B
(1, 7, -6)
Component addition
(a₁, a₂, …, aₙ) ± (b₁, b₂, …, bₙ) = (a₁ ± b₁, a₂ ± b₂, …, aₙ ± bₙ)
The calculator also reports the dimension so you can verify both vectors share the same length before proceeding.
How to use
- Enter vector A as comma- or space-separated components.
- Enter vector B using the same dimension.
- Review A + B and A − B beneath the inputs.
Example
Input: A = (2, 3, −1), B = (1, −4, 5)
Output: A + B = (3, −1, 4), A − B = (1, 7, −6)
FAQ & notes
Can I mix spaces and commas?
Yes. The parser accepts either separator as long as the dimension matches for both vectors.
Does it handle 2D vectors?
Absolutely—enter as many components as you need, including two-dimensional vectors.