How to use the correlation coefficient calculator
Compute Pearson's r for two variables. Enter x values, y values in the fields above; the pearson r, r², strength are computed instantly and plotted on the chart so you can see how the answer changes.
Common searches this calculator answers include “how correlated”, “relationship strength”, “r value”, “calculate correlation coefficient”, “find pearson r”.
Formula
Variables
- x — X values
- y — Y values
Worked example
With x values = 1,2,3,4,5,6, y values = 2.1,3.9,6.2,7.8,10.1,12.2, the calculator gives pearson r ≈ 0.9991049; r² ≈ 0.9982107; strength ≈ Strong.
Frequently asked questions
What is the correlation coefficient calculator used for?
Compute Pearson's r for two variables. It helps with questions such as “how correlated”, “relationship strength”, “r value”.
What is the formula for the correlation coefficient calculation?
Pearson r = corr(x,y). R² = [Pearson r] × [Pearson r]. Strength = abs([Pearson r])>0.8?"Strong":(abs([Pearson r])>0.5?"Moderate":"Weak"). Here x is x values, y is y values.
What inputs do I need for the correlation coefficient calculator?
You need x values, y values. Each field is pre-filled with a typical example so you can see how the result responds as you edit the numbers.
How do I use the correlation coefficient calculator?
Type values into the input fields. Results and the chart update instantly. Use Reset to restore the example values, Copy results to paste them elsewhere, or Share to copy a link that preserves your inputs.
Is the correlation coefficient result exact?
Calculations use standard formulas and double-precision arithmetic, then display about seven significant figures. Real-world measurements carry uncertainty, so treat results as estimates unless your inputs are exact.