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=(1,2,2)\hat{\mathbf{u}} \text{ for } \mathbf{u} = \left(1, 2, 2\right)

(13,23,23)\displaystyle \left(\frac{1}{3}, \frac{2}{3}, \frac{2}{3}\right)

Magnitude

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

    Here u=(1,2,2)\mathbf{u} = \left(1, 2, 2\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+u32=12+22+22=1+4+4=9=3\begin{aligned} \left|\mathbf{u}\right| &= \sqrt{u_1^2 + u_2^2 + u_3^2} \\ &= \sqrt{1^2 + 2^2 + 2^2} \\ &= \sqrt{1 + 4 + 4} \\ &= \sqrt{9} \\ &= 3 \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∣=13(1,2,2)=(13,23,23)\begin{aligned} \hat{\mathbf{u}} &= \frac{\mathbf{u}}{\left|\mathbf{u}\right|} \\ &= \frac{1}{3}\left(1, 2, 2\right) \\ &= \left(\frac{1}{3}, \frac{2}{3}, \frac{2}{3}\right) \end{aligned}
  3. Result

    So the unit vector in the direction of u\mathbf{u} is (13,23,23)\left(\frac{1}{3}, \frac{2}{3}, \frac{2}{3}\right).

Worked examples