Since the equation for the correlation coefficient is
$ p(x,y) = \fraq{cov(X,Y)}{\sqrt{var(X)}\sqrt{var(Y)}} $