Unit Vector Calculator

Find the vector of length 1 that points the same way as yours.

Write 2 or 3 numbers, like (1, 2, 3).

Try

Result

You enteredu^ for u=(3,4)\hat{\mathbf{u}} \text{ for } \mathbf{u} = \left(3, 4\right)

(35,45)\displaystyle \left(\frac{3}{5}, \frac{4}{5}\right)

Magnitude

5\displaystyle 5
Show the work
  1. Magnitude of a vector

    Here u=(3,4)\mathbf{u} = \left(3, 4\right). Square each component, add the squares and take the square root: this is the length ∣u∣\left|\mathbf{u}\right| of the arrow from the origin.

    ∣u∣=u12+u22=32+42=9+16=25=5\begin{aligned} \left|\mathbf{u}\right| &= \sqrt{u_1^2 + u_2^2} \\ &= \sqrt{3^2 + 4^2} \\ &= \sqrt{9 + 16} \\ &= \sqrt{25} \\ &= 5 \end{aligned}
  2. Unit vector

    Dividing a vector by its own length gives a vector of length 1 that points the same way. Here u^\hat{\mathbf{u}} is that unit vector.

    u^=u∣u∣=15(3,4)=(35,45)\begin{aligned} \hat{\mathbf{u}} &= \frac{\mathbf{u}}{\left|\mathbf{u}\right|} \\ &= \frac{1}{5}\left(3, 4\right) \\ &= \left(\frac{3}{5}, \frac{4}{5}\right) \end{aligned}
  3. Result

    So the unit vector in the direction of u\mathbf{u} is (35,45)\left(\frac{3}{5}, \frac{4}{5}\right).

Worked examples