Simple Linear Regression Calculator
Fit a least-squares straight line to paired observations and report slope, intercept, and a predicted y value at a chosen x.
About this tool
Fit a least-squares straight line to paired observations and report slope, intercept, and a predicted y value at a chosen x. Enter finite values in the format shown in the examples and run the calculation. This utility works locally in your browser and does not upload your data. Statistical conventions, such as the quartile method or population versus sample denominator, are stated on this page to make results interpretable. Validate the assumptions of your dataset before applying a summary statistic to decisions.
How to use this tool
- Enter the data values in the labeled fields.
- Review the method and dataset assumptions.
- Calculate and interpret the result in context.
How it works
Simple Linear Regression Calculator validates the supplied observations and applies its documented statistical definition.
When to use this tool
- Exploring a small dataset or checking a worked example.
- Preparing summary statistics for an analysis or report.
Limitations
The descriptive calculations in Simple Linear Regression Calculator do not establish causation or determine whether a statistical model is appropriate for a particular dataset.
Privacy
The numeric inputs in Simple Linear Regression Calculator remain in browser memory and are not uploaded by this tool.