Regression Calculator — Linear Regression & Trend Analysis

Regression Calculator

Perform linear regression analysis: enter paired data, get slope, intercept, R², correlation, and make predictions. Visualize with scatter plot and trend line.

Step 1: Enter Data

📊 Linear regression

Enter at least two paired numeric values. The calculator finds the best‑fit line Y = a + bX using the least squares method. Outliers may influence results.

Step 2: Options & Prediction

🔍 Prediction

After calculating, use the prediction field to estimate Y for a given X based on the regression line.

Regression Results

Summary
Data Table
Prediction

Regression Equation

Y = 2.200 + 0.600 X
R² = 0.514 | r = 0.717
Slope (b)
0.600
Intercept (a)
2.200
R² (Coefficient of determination)
0.514
Correlation (r)
0.717

Data Points

X Y Predicted Y Residual

Prediction

Predicted Y
5.800

Confidence (approximate)

Prediction based on linear regression. Uncertainty increases for X values far from the mean.

Need Advanced Regression Analysis?

Our team of statisticians can help with multiple regression, time series, and custom modeling. Get expert insights for your data.

Consult a Statistician