Dot Product Calculator

Find the dot product of two vectors and the angle between them.

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

Write 2 or 3 numbers, like (4, 5, 6).

Try

Result

You entered(1,2,3)⋅(4,5,6)\left(1, 2, 3\right) \cdot \left(4, 5, 6\right)

32\displaystyle 32

Angle between them

12.933154∘\displaystyle 12.933154^\circ
Show the work
  1. Dot product of two vectors

    Here u=(1,2,3)\mathbf{u} = \left(1, 2, 3\right) and v=(4,5,6)\mathbf{v} = \left(4, 5, 6\right). Multiply the components in matching positions, then add the products. The result is a single number, not a vector.

    u⋅v=u1v1+u2v2+u3v3=1×4+2×5+3×6=4+10+18=32\begin{aligned} \mathbf{u} \cdot \mathbf{v} &= u_1 v_1 + u_2 v_2 + u_3 v_3 \\ &= 1 \times 4 + 2 \times 5 + 3 \times 6 \\ &= 4 + 10 + 18 \\ &= 32 \end{aligned}
  2. Result

    So u⋅v=32\mathbf{u} \cdot \mathbf{v} = 32.

Worked examples