Vector Addition & Subtraction Calculator
Add or subtract two 2D or 3D vectors and instantly get the result vector along with its magnitude (norm), dot product, and the angle between the vectors.
Input
Dimension
Operation
Vector A
Vector B
Result
Result vector A + B
(4, 6)
Magnitude of result vector
7.2111
Angle between A and B
10.3048 °
Dot product A · B
11
Calculation breakdown
| Item | Value |
|---|---|
| Result vector | (4, 6) |
| Magnitude of result vector | 7.2111 |
| Magnitude of vector A | 5 |
| Magnitude of vector B | 2.2361 |
| Dot product A · B | 11 |
| Angle between A and B | 10.3048 ° |
How it works
- Supports 2D (x, y) and 3D (x, y, z) vectors and computes the sum (A+B) or difference (A−B) component by component.
- The magnitude (norm) of the result vector is found as the square root of the sum of the squares of its components.
- The dot product is the sum of the products of the matching components of A and B; the angle is derived from cosθ = (dot product) ÷ (|A| × |B|) and converted to degrees with the inverse cosine.
- When A or B is the zero vector (magnitude 0), the angle is undefined and is shown as "—".
- Components accept negative numbers and decimals. Values are rounded to four decimal places for readability.
- Useful for physics problems such as force composition and displacement, coordinate difference calculations, and math study.
Related calculators
Flash Shooting Distance
HobbyCalculate the ideal shooting distance to your subject from a flash unit's guide number, aperture and ISO.
Open calculator →Flash Aperture Calculator
HobbyCalculate the correct f-stop for flash photography from guide number, distance, and ISO. Instantly see the nearest standard f-stop and the correct distance for each aperture.
Open calculator →Lens Focal Length Calculator
HobbyEstimate the lens focal length (mm) and 35mm equivalent you need from your subject distance, real size, and sensor width.
Open calculator →Camera Angle of View Calculator
HobbyEnter a lens focal length and image sensor size to instantly calculate how wide a scene the camera captures: the horizontal, vertical, and diagonal angle of view. Includes presets for full frame, APS-C, Micro Four Thirds and more (plus custom sensor sizes) and shows the 35mm equivalent focal length too.
Open calculator →