Convert a Cartesian vector to direction–magnitude form: magnitude \(r=\lVert\mathbf{v}\rVert\), angle \(\theta\) in 2D, and spherical angles \((\theta,\phi)\) in 3D. Also compute unit direction vector and direction cosines.
Vector Direction and Magnitude Tool
Math Linear Algebra • Vectors and Basic Operations
Direction + magnitude visualization
2D: drag to pan • wheel to zoom • double-click to reset.
3D: drag to rotate • Shift+drag to pan • wheel to zoom • double-click to reset.
Play animates the arrow growth once and stops.
\(\mathbf{v}\)
projection to \(xy\)-plane (3D, dashed)
angle guide
Enter a vector and click “Calculate”.