Correlation and Regression Calculators

Correlation and regression statistics describe how two variables move together. Enter paired X and Y values in these calculators and you get the covariance, the correlation and how much of y a straight line explains, each with its working. If your course asks you to compare and contrast correlation and regression, the short version is that correlation measures how strongly two variables move together, while regression predicts one from the other.

Which correlation and regression calculator should you use?

Start from your question. Do the two lists rise and fall together, and in which direction? Or how much of y does a linear regression on x explain?

Which correlation and regression calculator should you use
CalculatorUse it whenExample answer
Covariance calculatorYou want the direction and size of how two lists move together, for a sample or a population, plus the correlation r and a quadrant scatter plot.X 1 to 8, Y 2,4,5,4,5,7,8,9: sample covariance 5.4286, r 0.9512
Coefficient of determination calculatorYou want R-squared and adjusted R-squared, from x,y data, from r or from sums of squares.Same data: R-squared 0.9048

Correlation and regression calculators on Easy Stat Calc

Covariance calculator. Returns sample and population covariance side by side, with the means, the sum of products, the correlation coefficient and a 2 × 2 covariance matrix. A working table shows every step.

Coefficient of determination calculator. Returns R-squared and adjusted R-squared in a plain sentence, with a scatter plot and the fitted line.

How they connect: covariance divided by the product of the two standard deviations gives r, and r squared is the R-squared of a straight-line fit. The spread behind both comes from the standard deviation calculator.

Correlation and regression FAQs

What is the difference between correlation and regression?

Correlation measures how strongly and in which direction two variables move together, as r from -1 to 1. Regression fits a line so you can predict y from x. Correlation treats the two variables alike; regression treats x as the predictor.

How are covariance and the linear regression and correlation coefficient related?

The correlation coefficient is the covariance scaled by both standard deviations, so it always falls between -1 and 1. For X 1 to 8 and Y 2,4,5,4,5,7,8,9 the sample covariance is 5.4286 and r is 0.9512.

What does R-squared mean?

R-squared tells you how closely a straight line fits your points. At 0.9048, the line accounts for about 90.5% of the variation in y, and the remaining 9.5% is scatter around it.

Does a high correlation mean one variable causes the other?

No. A strong r only shows that the variables move together; it does not show cause.

Easy Stat Calc · Last updated November 25, 2026 · Methodology