Correlation analysis is a fundamental statistical technique used to measure the strength and direction of the linear relationship between two variables. The Pearson correlation coefficient (r) quantifies this relationship on a scale from -1 to +1, making it easy to interpret and compare across different datasets.
While correlation tells you how strongly two variables are related, linear regression takes it a step further by finding the equation of the best-fit line. The regression equation y = mx + b allows you to predict Y values for given X values, with R-squared telling you how reliable those predictions are.
Our correlation calculator computes the Pearson r, R-squared, regression equation (slope and intercept), and provides a complete step-by-step calculation table. Enter your X and Y data sets separated by commas to instantly analyze the relationship between your variables.