Updated
Using Linear regression calculator
Fit the least-squares line y = intercept + slope × x for paired numeric data.
This fits an intercept and one predictor. It reports fit, not causation or prediction intervals. Check the scatter pattern and residual assumptions before using the line to forecast.
A worked example
With predictor x values = 1 2 3, response y values = 3 5 7, the slope is 2.
Before you use the result
This fits an intercept and one predictor. It reports fit, not causation or prediction intervals. Check the scatter pattern and residual assumptions before using the line to forecast.
Cite this page
ToolOctopus. “Linear regression calculator.” Updated 2026-09-26. https://tooloctopus.com/linear-regression-calculator.
Add an access date if your instructions require one.
Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. Licence and source code.
