Multiple Regression Analysis Calculator

This multiple regression analysis calculator fits a linear model with up to 8 predictors. It returns the coefficients, standard errors, p-values, R², adjusted R² and the overall F test.

Checks on your data

  • With 3 predictors you should have many more observations than predictors (a common rule of thumb is at least 10 to 20 per predictor).
  • Look at the residual plot: curves or a funnel shape mean a straight-line model is not appropriate. Highly correlated predictors make individual coefficients unstable. Check correlations between predictors →

Results

Regression equation
ŷ = 80.836 + 0.15183·Size − 7.4708·Rooms − 1.2703·Age
R²
0.987455
98.75 % of the variation in Price explained
Adjusted R²
0.981182
F statistic
157.425
df = (3, 6)
p-value for the overall model
0.00000429847
Residual standard error
8.25606
SSE (residual sum of squares)
408.975
SSR (regression sum of squares)
32,191.5
Observations n
10
Actual against predicted (points near the line mean a good fit)
200300400200250300350400PredictedActual
Residuals against predicted (should show no pattern)
010200250300350400PredictedResidual
Coefficients
TermCoefficientStd. errortp-value95 % CI
Intercept80.836129.8852.7050.035347.71 to 154
Size0.1518290.0212827.1340.0003820.09975 to 0.2039
Rooms-7.470768.297-0.90040.4026-27.77 to 12.83
Age-1.270270.62913-2.0190.09001-2.81 to 0.2691
Show step-by-step solution
  1. Build the design matrix X (a column of 1s plus 3 predictor columns) and solve the normal equations b = (XᵀX)⁻¹ Xᵀy.
  2. Coefficients: Intercept = 80.8361, Size = 0.151829, Rooms = -7.47076, Age = -1.27027.
  3. SSE = Σ(y − ŷ)² = 408.975, SST = 32,600.5, so R² = 1 − SSE ÷ SST = 0.987455.
  4. Residual variance MSE = SSE ÷ (n − k − 1) = 68.1626; standard errors come from the diagonal of MSE × (XᵀX)⁻¹.
  5. Overall F = (SSR ÷ k) ÷ MSE = 157.425.
Modely = b₀ + b₁x₁ + …
MethodLeast squares
FitR², adjusted R²
TestF and t tests

What Is Multiple Regression Analysis?

Multiple linear regression predicts one outcome y from two or more predictors x₁, x₂, … using the equation y = b₀ + b₁x₁ + b₂x₂ + …. The coefficients are chosen by least squares, b = (XᵀX)⁻¹Xᵀy, to minimise the sum of squared residuals.

Paste your data with y in the first column and the predictors after it. The calculator returns the regression equation, a coefficient table with standard errors, t statistics, p-values and 95 % confidence intervals, plus R², adjusted R², the overall F test, the residual standard error and charts of actual versus predicted values and of residuals.

The article below explains the formulas, how to read each number, and answers to common questions about adjusted R² and multicollinearity.

How to Use the Multiple Regression Analysis Calculator

  1. Paste your data with y in the first column and the predictors after it.
  2. Add a header row if you want named variables.
  3. Read the equation, R², adjusted R² and the overall F test.
  4. Check each predictor's p-value and the residual plots.

Multiple Regression Analysis Formula

Model

y=β0+β1x1+⋯+βkxk+εy=\beta_0+\beta_1x_1+\dots+\beta_kx_k+\varepsilon

Least squares solution

β^=(XTX)−1XTy\hat\beta=(X^TX)^{-1}X^Ty

Adjusted R²

Radj2=1−(1−R2)n−1n−k−1R^2_{adj}=1-(1-R^2)\frac{n-1}{n-k-1}

Overall F

F=SSR/kSSE/(n−k−1)F=\frac{SSR/k}{SSE/(n-k-1)}

Multiple Regression Analysis Variables Explained

SymbolMeaningNotes
bⱼCoefficient of predictor jchange in y per unit of xⱼ, others fixed
R²Share of variation in y explained
Adj. R²R² corrected for the number of predictors
FOverall significance statisticdf = (k, n − k − 1)
kNumber of predictors

Multiple Regression Analysis Worked Example

Each coefficient is the expected change in y for a one-unit rise in that predictor, holding the others fixed. Adjusted R² penalises useless predictors, so it can fall when you add a variable that does not help. The overall F test asks whether at least one predictor is useful; the t-tests ask about each predictor on its own.

With the example values loaded in the calculator above, the steps are:

  1. Build the design matrix X (a column of 1s plus 3 predictor columns) and solve the normal equations b = (XᵀX)⁻¹ Xᵀy.
  2. Coefficients: Intercept = 80.8361, Size = 0.151829, Rooms = -7.47076, Age = -1.27027.
  3. SSE = Σ(y − ŷ)² = 408.975, SST = 32,600.5, so R² = 1 − SSE ÷ SST = 0.987455.
  4. Residual variance MSE = SSE ÷ (n − k − 1) = 68.1626; standard errors come from the diagonal of MSE × (XᵀX)⁻¹.
  5. Overall F = (SSR ÷ k) ÷ MSE = 157.425.

Result: Regression equation = ŷ = 80.836 + 0.15183·Size − 7.4708·Rooms − 1.2703·Age; R² = 0.987455; Adjusted R² = 0.981182.

Where Multiple Regression Analysis Is Used

Prediction

Predicting price, sales or scores from several factors.

Understanding drivers

Seeing which predictors matter when others are held fixed.

Research projects

Reporting coefficients, p-values and R² for coursework.

Model comparison

Comparing adjusted R² with and without a predictor.

Common Multiple Regression Analysis Mistakes to Avoid

  • Do not read a coefficient as causal.
  • Avoid including two nearly identical predictors.
  • Do not extrapolate far beyond your data.

Multiple Regression Analysis Terms and Definitions

Adjusted R²
R² corrected for the number of predictors.
Multicollinearity
Predictors that are strongly correlated with each other.
Residual
The difference between an observed and a predicted y.

Multiple Regression Analysis FAQs

What is multiple linear regression?

A model that predicts one outcome from two or more predictor variables using a linear equation.

What is the difference between R² and adjusted R²?

Adjusted R² penalises extra predictors, so it only rises if a new variable improves the model more than chance would.

How many predictors can I use?

This calculator allows up to 8, but you should have many more observations than predictors.

What does a p-value for a coefficient mean?

It tests whether that coefficient is zero given the other predictors are in the model.

Related calculators

Last updated 2026-11-09. See our disclaimer.