Home · Everyday · Vectors & Complex Numbers · Unit Vector Calculator
Unit Vector Calculator
The unit vector in a vector's direction — same direction, length exactly 1.
What this calculator does
The unit vector in a vector's direction — same direction, length exactly 1. Where a measure is involved, US and metric units are both accepted — flip the unit toggle and the figures convert with the same definitions the formula uses. Every result on this page is computed from the formula stated below, with no hidden rounding steps.
The formula and method
Enter vectors as comma-separated components; both vectors must share the same dimension.
Components are combined by the standard vector rules (Euclidean geometry).
Angles are returned in degrees unless you switch the angle unit.
Worked example
With the example inputs this page opens with (a — x 3, a — y 4, a — z 0), the result is (0.6, 0.8, 0) — unit vector. Each component divided by the magnitude 5. The headline figure for the correctness record is the unit vector's own magnitude, exactly 1.
Quick reference
| a — x | Unit vector |
|---|---|
| 1.5 | (0.3511, 0.9363, 0) |
| 2.4 | (0.5145, 0.8575, 0) |
| 3 | (0.6, 0.8, 0) |
| 3.75 | (0.6839, 0.7295, 0) |
| 4.5 | (0.7474, 0.6644, 0) |
| 6 | (0.8321, 0.5547, 0) |
Computed with the same formulas as the calculator above — enter any values there for figures beyond this table.
Common questions
How does the Unit Vector Calculator work?
The unit vector in a vector's direction — same direction, length exactly 1. Vector components → Unit vector. The result updates as you type, and the formula and method on this page state the exact definitions used, so you can reproduce the calculation by hand.
What inputs does the Unit Vector Calculator need?
Vector components → Unit vector. Invalid entries — such as a zero denominator, an out-of-range value or a malformed list — produce a plain-language message instead of a misleading number.
Is the Unit Vector Calculator free to use?
Yes. It runs entirely in your browser with no sign-up, and the same calculator is available as an embeddable widget via the Embed button, so it can be placed on another site with its calculation intact.