Linear Regression Calculator
Related Calculators
View AllReferences
- [1]Wiley, Applied Regression Analysis, 3rd ed., 1998.
- [2]NIST, NIST/SEMATECH e-Handbook of Statistical Methods. https://www.itl.nist.gov/div898/handbook
- [3]PennState Eberly College of Science, STAT 501: Regression Methods. https://online.stat.psu.edu/stat501
- [4]IUPAC, Harmonized Guidelines for Single-Laboratory Validation of Methods of Analysis, 2002.
How to Use?
- 1
Locate your data
Collect paired X and Y observations. Each X value must have a corresponding Y value.
- 2
Enter X values
Type your X values into the first field as a comma-separated list — for example: 1, 2, 3, 4, 5.
- 3
Enter Y values
Type your Y values into the second field using the same order and format — for example: 2.1, 3.9, 6.2, 7.8, 10.1.
- 4
Predict a value (optional)
Enter an X value in the Predict Y field to compute the predicted Y from the regression line. Leave it blank to skip.
- 5
Review the results
The calculator displays the regression equation, slope, intercept, Pearson r, R², and the number of points. If you entered a prediction X, the predicted Y appears as a primary result.
- 6
Inspect the graph
A scatter plot shows your raw data points with the fitted regression line overlaid. Use it to visually assess model fit.