About this calculator
What the numbers mean
- r (correlation) measures the direction and strength of a linear relationship, from −1 to 1. Values near ±1 are strong; values near 0 are weak.
- r² is the fraction of the variation in y that the line explains.
- Slope b: the predicted change in y for each 1-unit increase in x.
- Intercept a: the predicted y when x = 0 (only meaningful if x = 0 makes sense).
Cautions
Always look at the scatterplot first. A curved pattern or an outlier can make r misleading. Don't predict far outside the range of your x values (extrapolation). And correlation is not causation: two variables can move together because of a third variable.