Last updated October 10, 2026 · Report an error
A vector's magnitude is its length — how "big" it is, independent of the direction it points — found via the Pythagorean theorem extended to however many components the vector has. This single number is essential in physics (the magnitude of a velocity vector is speed; the magnitude of a force vector is how strong that force is), engineering (structural load calculations), and computer graphics (distance and speed calculations for objects and cameras).
How it works
Enter the vector's components (2D or 3D). The calculator squares each component, adds the squares together, and takes the square root of the sum: |v|=√(x²+y²(+z²)). This is exactly the same operation as finding the straight-line distance from the origin to the point (x, y, z), since a vector's magnitude is really just its distance from the tail (usually placed at the origin) to its tip.
- Enter dimension.
- Enter vector — x.
- Enter vector — y.
- Enter vector — z (3D only).
- Click Calculate to see your results.
Examples
(3, 4, 0)
|v|=√(9+16+0)=√25=5 — the classic 3-4-5 triangle.
(2, -2, 1)
|v|=√(4+4+1)=√9=3.
Common mistakes to avoid
- Forgetting to square each component before summing (adding raw values instead).
- Forgetting a component entirely in 3D (treating a 3D vector as if it were 2D).
- Expecting a negative result when one or more components are negative — squaring removes the sign before the square root is taken.
- Confusing a vector's magnitude with one of its individual components — magnitude combines all of them together.