Vector magnitude is one of 5 vectors formulas in the linear algebra section of this library, and it is used at high school · university level.
Why vector magnitude works
In two dimensions the components form the legs of a right triangle and the vector is the hypotenuse, so the Pythagorean theorem gives the length. In three dimensions you apply it twice, once across the floor and once up the wall, and the two steps merge into a single square root. Every extra coordinate simply joins the sum the same way.
What each symbol means
$v_i$ are vector components.
Vector magnitude: when it holds
Components must use compatible coordinate scales.
When it stops applying
The formula assumes the coordinate axes are perpendicular and share one unit of measurement. A data vector of (3 meters, 4 seconds) has no meaningful length, and on a skewed or stretched coordinate grid you need the inner product for that grid instead.
Vector magnitude: a worked example
$\|(3,4)\|=5$.
The mistake to avoid
What people do: Students add the components straight across and report the length of (3, 4) as 7.
Why it goes wrong: Adding treats the trip as if you walked 3 east and then 4 east. The components point in perpendicular directions, so the straight-line distance is shorter than the walk.
Do this instead: Square, add, then take the root: √(9 + 16) = √25 = 5. Notice the answer must land between the largest single component and their sum, so anything outside 4 to 7 here is wrong on sight.
Vector magnitude: step by step
- Name the unknown, and the unit the answer has to come out in.
- Match the symbols to your values. $v_i$ are vector components.
- Check the conditions before substituting. Components must use compatible coordinate scales.
- Substitute, keep exact values to the last line, then test the sign, size, and unit against a rough estimate — the check that catches most linear algebra slips.
Where this formula fits
- Subject
- Linear Algebra formulas — 17 entries in this library
- Topic
- Vectors
- Level
- High school · University
Formulas are easiest to keep when they sit inside a method rather than on a list. Use the links below to see where vector magnitude comes from, to check a calculation against a tool, and to practise it until you can recall it without looking.
- The Dot Product — the lesson behind this formula: measure alignment and test orthogonality.
- Magnitude Of A Vector Calculator — check your substitution and the value it produces.
- Study linear algebra — the subject guide that explains the ideas these formulas compress.
- Linear Algebra Practice — questions that make you retrieve the formula instead of recognising it.
- All 17 linear algebra formulas — the full grouped reference, or the complete formula library.
Questions about vector magnitude
Can a magnitude come out negative?
No. Squaring wipes out every minus sign before anything is added, and the square root symbol means the non-negative root. The vector (−3, −4) has the same length of 5 as (3, 4); only its direction differs.
What is the magnitude of the zero vector?
It is 0, and it is the only vector with that length. This is also the reason the zero vector has no direction, which trips up any formula that divides by the magnitude.
Does the same formula work in four or more dimensions?
Yes, and nothing changes but the number of terms. The length of (1, 2, 2, 4) is √(1 + 4 + 4 + 16) = 5, which is exactly why high-dimensional data can still be given a distance.
Is magnitude the same as absolute value?
It is the same idea one dimension up. For a single number, √(x²) is |x|, so absolute value is the one-component case of this formula, and both answer the question how far from zero.