Home / Statistics Tools / Linear Regression Calculator
Statistics Tools

Linear Regression Calculator

Paste paired observations to calculate slope, intercept, correlation, R², residual error, a prediction, and a live scatter plot.

At least two paired points are required, and x values cannot all be identical.

Best-fit line
Pearson r
Residual RMSE
Prediction and model summary

How to use this Linear Regression Calculator

Fit a least-squares regression line to paired x and y data. Enter your values above and the result is calculated directly in your browser. No account is required.

Fast answer, clear inputs

This tool is built around one job: give the answer quickly without forcing a signup or hiding the result. Related tools are linked nearby when the next calculation or conversion is useful.