Euclidean Dot Product Formula A⋅B=∥A∥2∥B∥2cosθA \cdot B=\|A\|_2\|B\|_2 \cos \thetaA⋅B=∥A∥2∥B∥2cosθ where θ\thetaθ is the angle between AAA and BBB. Also see Cosine Similarity