Magnitude of a 2D Vector

∣v⃗∣=vx2+vy2|\vec{v}| = \sqrt{v_x^2 + v_y^2}

Worked example: Components (3, 4) → magnitude 5 — press Try an example to run it live, then adjust anything.

Enter your known values, leave one input blank, and solves for the missing one. Tap a variable’s symbol to see what it means, with a typical value. Try different units for next level excitement!

Here the solver did the work — could you?

How long is the arrow →

Grade 12Grade 12 Math

Test your skills in the Exam Room: new numbers every attempt — free lessons for students, no sign-up, just pure learning. Find 4 more lessons on this formula.

See your Report Card
Compete with your friends
share your results
Learning zone

Magnitude of a 2D Vector explained

|v|vyvx

A vector is an arrow: a direction plus a length. Drop it onto axes and it splits into two ordinary numbers, the components vx and vy, which form the legs of a right triangle whose hypotenuse is the arrow itself — so the magnitude is √(vx² + vy²). A hiker who walks 3 km east and 4 km north ends up 5 km from camp, not 7 km, because displacement is a vector and its parts add head-to-tail rather than arithmetically. That gap between 5 and 7 is the single most common student error in the whole subject.

Run it backwards and a magnitude plus one component recovers the other: a vector of length 13 with vy = 5 must have vx = √(169 − 25) = 12. The solver returns the positive root, since a component's sign is a matter of which way the axis points and the arithmetic cannot know it. Note also that no component may exceed the magnitude — a leg longer than the hypotenuse describes a triangle that does not exist.

Magnitude of a 2D Vector formula

∣v⃗∣=vx2+vy2|\vec{v}| = \sqrt{v_x^2 + v_y^2}
Where
  • ∣v⃗∣|\vec{v}|= Vector magnitude
  • vxv_x= x-component
  • vyv_y= y-component