The Pearson correlation coefficient is calculated using the formula: r = Σ[(X - Mx)(Y - My)] / √[Σ(X - Mx)^2 * Σ(Y - My)^2] Where r is the Pearson correlation coefficient, X and Y are the variables, and Mx and My are the means of X and Y, respectively. In practice, statistical software like SPSS or R is often used to perform these calculations.