CalcDepo

Correlation Coefficient Calculator

Compute Pearson's r for two variables.

Inputs

Results

Pearson r0.9991049
R²0.9982107
StrengthStrong

Chart

Not what you need? Search by intent

Describe what you want to find — “how correlated” — and jump to the right calculator.

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.

Formula

Pearson r = corr(x,y)
R² = [Pearson r] × [Pearson r]
Strength = abs([Pearson r])>0.8?"Strong":(abs([Pearson r])>0.5?"Moderate":"Weak")

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 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 this 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 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.

Related calculators

More in Statistics & Probability: Mean, Median and Mode · Standard Deviation · Quartiles and IQR · Percentile · Z-Score · Normal Distribution Probability · Inverse Normal · Binomial Probability