Vector Magnitude and Direction Calculator
Find a vector’s length, unit vector and direction.
Write 2 or 3 numbers, like (1, 2, 3).
Result
You entered
Decimal
Unit vector
Direction angles
Show the work
Magnitude of a vector
Here . Square each component, add the squares, then take the square root: this is the length of the arrow from the origin to the point.
Unit vector
Dividing a vector by its own length gives a vector of length 1 that points the same way. Here is that unit vector.
Direction angle with the x-axis
The angle between and the positive x-axis has cosine equal to the x-component divided by the length. The inverse cosine returns an angle from to , which is the range an angle between two directions can take.
Using
Direction angle with the y-axis
The angle between and the positive y-axis has cosine equal to the y-component divided by the length. The inverse cosine returns an angle from to , which is the range an angle between two directions can take.
Using
Direction angle with the z-axis
The angle between and the positive z-axis has cosine equal to the z-component divided by the length. The inverse cosine returns an angle from to , which is the range an angle between two directions can take.
Using
Result
So the magnitude is .