In mathematics, a

**unit vector**in a normed vector space is a vector (most commonly a spatial vector) whose length is 1. A unit vector is often written with a "hat" thus:

**î**.

In Euclidean space, the dot product of two unit vectors is simply the cosine of the angle between them. This follows from the formula for the dot product, since the lengths are both 1.

The *normalized vector* of a non-zero vector **v** is the unit vector codirectional with **v**, i.e.,

*Normalized vector*is thus sometimes used as simply a synonym for

*unit vector*.

The elements of a basis are often chosen to be unit vectors. In the 3-dimensional Cartesian coordinate system, these are usually **i**, **j**, **k**, unit vectors along the x, y , z axes respectively. Thus:

**i, j, k**are unit vectors in most contexts.

Other co-ordinate systems, such as polar coordinates or spherical coordinates use different unit vectors; notations vary.