How does Correlation Coefficient Calculator work?

  • Enter the data set of x & y In The Input Box.
  • Hit The Calculate Button.
  • Use The Reset Button To calculate New Values.

Give Feedback What do you think of correlation coefficient calculator?

worst-feedback Worst
poor-feedback Poor
average-feedback Average
good-feedback Good
excellent-feedback Excellent
Send Feedback
Tick Icon Feedback Submitted Successfully.

Correlation Coefficient Calculator

The Correlation Coefficient calculator solves the Correlation Coefficient (R), Mean of x, Mean of y, Difference of Data set x and x mean (x- x̄), and Difference of Data set y and y mean (y- ȳ).

It also calculates the Square of the differences i.e. (x- x̄)2 and (y- ȳ)2 respectively using two different data sets X and Y.

Both data sets must have an equal number of terms.

What is the Correlation Coefficient?

The correlation coefficient is the specific measure that quantifies the strength of the linear relationship between two variables in a correlation analysis. It is denoted by r

Correlation Coefficient formula:

The correlation coefficient formula is given below:

correlation coefficient formula                                           


  • x and y are the two datasets.
  • x̄ And ȳ are the means.
  • x- x̄ & y-ȳ are deviation scores.
  • (x- x̄)2 & (y-ȳ)2 are squared deviations.
  • (x- x̄)(y-ȳ) product of deviation scores.

Types of Correlation Coefficient:

There are two different types of Correlation coefficients:

  1. Pearson’s correlation coefficient.
  2. Spearman’s rank correlation coefficient.

Generally, Pearson’s correlation coefficient is known as Pearson’s r or simply the correlation coefficient. Its range is -1 to 1.

Spearman's rank correlation coefficient or Spearman's ρ, named after Charles Spearman. It describes the relation between two monotonic variables.

The correlation coefficient is the ratio between the covariance of any two variables, say, X & Y to the product of their standard deviation.

How to find correlation coefficient r:

With the help of the following example, you will be able to find the correlation coefficient.


Let x be any data set having values 2, 7.5, 3, 34.2, 26, and y data set 21, 12.5, 3, 11, 17. Find the Correlation coefficient r.


x = 2, 7.5, 3, 34.2, 26

y = 21, 12.5, 3, 11, 17

Step 1: Calculate the mean of the data sets

x̄ = (2 + 7.5 + 33 + 34.2 + 26)/5 = 14.540

ȳ = (21 + 12.5 + 3 + 11 + 17)/5 = 12.900

xyx-x̄y-ȳ(x- x̄)2(y-ȳ)2(x- x̄)(y-ȳ)

Step2: Calculation of r

Correlation coefficient Formula = r = ∑ ((x - x̄) (y-ȳ)) / √(∑ (x-x̄)2 ∑ (y-ȳ)2)

Putting the values in the above formula.

r = 25.12 / √ ((857.832) (184.2))

r = 0.0632

How to verify whether the answer is correct or not.

As r = 0.0632, the answer is between -1 and 1, so the answer is correct because the range of the correlation coefficient is -1 to 1.


Recent Blogs

Blog Img 8 months ago

F Critical Value: Definition, formula, and Calculations

Read More arrow-right
Blog Img 8 months ago

T Critical Value: Definition, Formula, Interpretation, and Examples

Read More arrow-right
Blog Img 10 months ago

Understanding z-score and z-critical value in statistics: A comprehensive guide

Read More arrow-right

This report is generated by criticalvaluecalculator.com