Search the complete library

What do you want to learn or calculate?

Quick linksAll calculatorsMath subjectsPractice questionsFormula library
← Back to calculators

Magnitude Of A Vector Calculator

Solve magnitude of a vector problems with clear steps, notation, and a final check.

Calculate without using AI.

Evaluate the governing formula locally in your browser. Define each known quantity once, then change values to test another case instantly.

Local result

Choose an example or enter a formula.

Show your work Step-by-step method
  1. No account, AI request, or paid token is used.

Recent calculations

No calculations yet.

Vectors

Magnitude Of A Vector Calculator explained

The short version

  • A vector's magnitude is its length, found by squaring every component, adding, and taking the square root.
  • It is never negative, even when every component is negative.
  • The same calculation gives the distance between two points, once you subtract to get the vector between them.

The formula this page uses

|v| = √(v₁² + v₂² + … + vₙ²) distance PQ = |Q − P|

What each part means

SymbolWhat it means
v₁, v₂, v₃ — ComponentsThe vector's numbers along each axis, all in the same unit.
|v| — MagnitudeThe length. Same unit as the components, and always zero or positive.
P, Q — Two pointsSubtract P from Q component by component to build the vector between them.
n — Number of componentsThe formula does not change with dimension; you just square more numbers.

Show your work: a full example

  1. The vectorv = (2, 3, 6)
  2. Square each component2² = 4, 3² = 9, 6² = 36
  3. Add the squares4 + 9 + 36 = 49
  4. Take the square root|v| = √49 = 7
  5. Use the same steps as a distancefrom P(1, −2, 4) to Q(3, 1, 10), the difference is (3−1, 1−(−2), 10−4) = (2, 3, 6)
  6. Same vector, so same lengththe two points are 7 units apart

A second, different case

  1. A different case: negative components and real unitsa plane's velocity is (−120, 160) km/h
  2. Square each component; the minus disappears(−120)² = 14400 and 160² = 25600
  3. Add14400 + 25600 = 40000
  4. Root|v| = √40000 = 200 km/h, the plane's speed
  5. Note what the sign didthe −120 says it is heading west, but speed itself cannot be negative
  6. Double every component(−240, 320) gives √(57600 + 102400) = √160000 = 400 km/h
  7. Read the patternscaling a vector by k scales its magnitude by |k|, so doubling the components doubled the speed
Copy-ready example

v = (2, 3, 6)

The vector

Component sets that produce whole-number magnitudes

VectorSquaresSumMagnitude
(3, 4)9, 16255
(5, 12)25, 14416913
(8, 15)64, 22528917
(7, 24)49, 57662525
(1, 2, 2)1, 4, 493
(2, 3, 6)4, 9, 36497
(1, 4, 8)1, 16, 64819
(2, 6, 9)4, 36, 8112111

Three mistakes to check for

What students writeWhy it's wrongDo this instead
|(−120, 160)| = −120 + 160 = 40The components were added directly, so the negative cancelled part of the positive.Square first, which removes both signs: √(14400 + 25600) = 200.
Reporting a magnitude of −7A square root is defined as the non-negative root, and a length cannot be negative.|v| = 7. The direction carries the sign information, not the length.
|u + v| = |u| + |v|Lengths only add when the two vectors point the same way. (3, 4) and (−3, 4) have lengths 5 and 5, but their sum (0, 8) has length 8, not 10.Add the vectors first, then take the magnitude of the result.

Questions about the Magnitude Of A Vector Calculator

Is magnitude the same as the distance formula?

Yes, they are one formula wearing two names. The distance between P(1, −2, 4) and Q(3, 1, 10) is the magnitude of the vector Q − P = (2, 3, 6), which is why both give 7.

Why does the formula work in 3D and beyond?

Apply Pythagoras twice. In 3D, √(2² + 3²) = √13 is the shadow in the xy-plane, and then √((√13)² + 6²) = √49 = 7 stands that shadow up against the z-component. The same nesting continues into higher dimensions.

What is the magnitude of a velocity vector called?

Speed. Velocity carries direction, speed does not, which is why the plane above has a velocity of (−120, 160) km/h but a speed of 200 km/h. The same split names force versus magnitude of force.

How does scaling a vector change its magnitude?

It multiplies it by the size of the scale factor. Doubling gave 400 km/h above, and multiplying by −1 would leave the magnitude at 200 while reversing the direction entirely.

Where to go next

Continue from this result

Turn one calculation into understanding.

Compare another tool, review the underlying idea, then solve a fresh problem without copying the example.