Angle Between Two Vectors Calculator
Find the angle between two vectors from their dot product.
Write 2 or 3 numbers, like (1, 2, 3).
Write 2 or 3 numbers, like (4, 5, 6).
Result
You entered
Radians
cos θ
Show the work
Dot product of two vectors
Here and . The angle formula needs the dot product first: multiply matching components and add.
Magnitude of the first vector
The length of is the square root of the sum of the squares of its components.
Magnitude of the second vector
The length of is found the same way.
Angle between two vectors (cosine formula)
Here is the angle between the vectors. Divide the dot product, , by the product of the two lengths.
Inverse cosine
Apply the inverse cosine to get . It always returns an angle from to , which is exactly the range of the angle between two vectors, so no adjustment is needed.
Result
So the angle between the vectors is .