How do you calculate the angle between two vectors?
To calculate the angle between two vectors, use the scalar product. Find a·b by multiplying matching components and adding the results. Find the magnitude of each vector. Then substitute into cos θ = a·b ÷ (|a| × |b|) and use inverse cosine. The angle is always between 0° and 180°.
Formula
cos θ = a·b ÷ (|a| × |b|)
Reviewed by
Want one-to-one support?
One-to-one online tuition can help you build confidence in your subject. Find a tutor who teaches your course.
Find a TutorLearn face to face in Glasgow
Prefer in-person lessons? Visit the ExpertTutor Glasgow Southside centre.
See the centre