Magnitude of a 3D Vector

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

Worked example: Components (2, 3, 6) → magnitude 7 — 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!

Learning zone

Magnitude of a 3D Vector explained

vxvzvy|v|

In space the same rule simply picks up a third term: apply Pythagoras once in the xy-plane, then again with that diagonal and the z-leg, and the two steps collapse into √(vx² + vy² + vz²). It is the length of the space diagonal of a box with sides vx, vy, vz. Every phone in a pocket computes it thousands of times a second: a three-axis accelerometer at rest reports something like (0.20, −1.10, 9.72) m/s², and the magnitude √(0.04 + 1.21 + 94.48) ≈ 9.79 m/s² is gravity, whatever way the handset happens to be tilted.

The components (2, 3, 6) are a favourite of textbook writers because 4 + 9 + 36 = 49 lands exactly on 7. Solving backwards for a missing component takes the positive root and requires the other two to leave something under the radical: if vx² + vy² already exceeds |v|², the vector you described cannot be built.

Magnitude of a 3D Vector formula

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