The dot product

Drag both arrowheads. v·w is positive for an acute angle, zero at 90°, negative when obtuse.

v = (3,1) w = (1,3) v·w = 6 angle = °