Unit Vector Calculator

Find the unit vector (a vector of length 1) in the same direction as a given vector.

⏱ Updated: 19 Sep 2026

Calculator

Free unit vector calculator: find the unit vector in the same direction as a given vector.

Vector A
Unit Vector
(, , )
Magnitude

Enter a vector to calculate its unit vector and magnitude.

How to Use the Unit Vector Calculator

Enter the x, y, and z components of a vector. Its magnitude and unit vector — the same direction, scaled to length 1 — come out below.

|A| = √(Ax² + Ay² + Az²)
unit vector = (Ax ÷ |A|, Ay ÷ |A|, Az ÷ |A|)

Dividing every component by the vector's own length can't change which way it points — only how far it reaches — which is exactly why the result always has a magnitude of exactly 1. Unit vectors show up constantly in physics and graphics precisely because they isolate pure direction, with the "how much" and "how far" info stripped out and stored somewhere else instead.