What is Formula of correlation

The formula for correlation is:

r = (Σxy)/√(Σx2 * Σy2)

where x and y are two variables, Σxy is the sum of the products of the paired observations, Σx2 is the sum of the squares of the x values, and Σy2 is the sum of the squares of the y values.