The magnitude of a vector is its size regardless of direction: the speed from a velocity vector, the strength of a force or the length of a displacement.
How to use the Vector Magnitude Calculator
- Space dimensions
- x
- y
- z
- t
- w
Results update as you type, and everything is calculated in your browser.
How it works
Square each component, add the squares and take the square root: the Pythagorean theorem in n dimensions.
Inputs explained
| Field | What to enter |
|---|---|
| Space dimensions | Choose one: 2, 3, 4, 5 |
| x | A number |
| y | A number |
| z | A number |
| t | A number |
| w | A number |
Example values
How the main result changes when x changes and everything else stays at the example values above:
| x | Vector magnitude |
|---|---|
| 1 | 6.7823 |
| 1.5 | 6.8739 |
| 2 | 7 |
| 2.5 | 7.1589 |
| 3 | 7.3485 |
| 4 | 7.8102 |
Formula
|V| = √(x² + y² + z² + t² + w²)
Worked example
Inputs: Space dimensions: 3; x: 2; y: 3; z: 6.
Results: Vector magnitude = 7; Squared magnitude = 49.
Key terms
- Magnitude (norm)
- The length of a vector.
Frequently asked questions
What is the magnitude of (2, 3, 6)?
√(4 + 9 + 36) = 7.
Can a magnitude be negative?
No.
What is the magnitude of a unit vector?
1.
How is magnitude related to the dot product?
|v|² = v · v.