Σ
SDCalc
ΜέτριοιRegression·9 min

Residual Standard Deviation: Formula, Example, and Interpretation

Learn how residual standard deviation measures regression error, how to calculate it from residuals, and how to decide whether a fitted model is accurate enough.

By Standard Deviation Calculator Team · Statistics Education Team·Published

What Residual Standard Deviation Measures

A student or analyst usually meets residual standard deviation after fitting a regression line and asking a practical question: "How far are my predictions off in the original units?" Residual standard deviation answers that question by summarizing the typical size of the model's residuals.

A residual is the observed value minus the model's fitted value. If a delivery-time model predicts 41 minutes and the actual delivery takes 44 minutes, the residual is +3 minutes. If the next order is predicted at 37 minutes and arrives in 35 minutes, the residual is -2 minutes.

Plain-English Meaning

Residual standard deviation is the standard deviation of prediction errors after accounting for the predictors in the model. In simple regression output it is often called residual standard error or the standard error of the regression.

Use this article when your fitted model already exists and you need to evaluate error size. If you are still reviewing raw spread before modeling, start with What Is Standard Deviation? or use the Descriptive Statistics Calculator.

Formula and Degrees of Freedom

For a regression model, calculate each residual, square it, add the squared residuals, divide by the residual degrees of freedom, then take the square root.

Residual Standard Deviation

s = sqrt(SSE / (n - p))

Here, SSE is the sum of squared residuals, n is the number of observations, and p is the number of fitted parameters in the model. In simple linear regression with an intercept and one slope, p = 2, so the denominator is n - 2.

QuantityMeaningExample
ResidualObserved value minus fitted value44 - 41 = +3 minutes
SSESum of squared residuals9 + 4 + 1 + ... across all rows
nNumber of observations used to fit the model8 deliveries
pNumber of estimated model parameters2 for intercept plus slope
n - pResidual degrees of freedom8 - 2 = 6

Why the Denominator Is Not n

Regression estimates parameters from the same data. The fitted line has already used information from the observations, so the residual variation is divided by the remaining degrees of freedom. For the broader logic, see Degrees of Freedom Explained.

Worked Example with Residuals

Here is the kind of worksheet check we use when teaching regression diagnostics: take the model's fitted values, compute residuals row by row, and verify that the reported residual standard deviation matches the arithmetic. The dataset below uses delivery distance to predict delivery time in minutes.

DeliveryActual minutesFitted minutesResidualSquared residual
13231+11
23537-24
33938+11
44143-24
54846+24
65053-39
75855+39
86162-11
1

Add the squared residuals

SSE = 1 + 4 + 1 + 4 + 4 + 9 + 9 + 1 = 33.
2

Find the residual degrees of freedom

This is simple linear regression, so p = 2. With n = 8 observations, df = 8 - 2 = 6.
3

Divide and take the square root

s = sqrt(33 / 6) = sqrt(5.5) = 2.35 minutes.

Decision from the Example

The model's typical prediction error is about 2.35 minutes. If dispatch decisions tolerate errors of roughly 3 minutes, this model may be accurate enough for planning. If the service-level agreement penalizes errors above 1 minute, the model needs better predictors, a different form, or separate models for different delivery zones.

To check the spread of the residual values themselves, paste `1, -2, 1, -2, 2, -3, 3, -1` into the Standard Deviation Calculator or compare the residual squares with the Variance Calculator. Remember that regression output uses n - p, not the plain sample denominator n - 1.

How to Interpret the Result

Residual standard deviation is expressed in the response variable's units. For delivery time, the result is minutes. For test scores, it is points. For house-price models, it is dollars. That unit match makes it easier to discuss model error with people who do not read regression tables.

Small residual SD

Predictions tend to land close to observed values, assuming the residual plot does not show curvature, changing variance, or clustered misses.

Large residual SD

The model leaves large errors in the original units. That may mean weak predictors, missing variables, nonlinear structure, outliers, or noisy measurement.

Do not interpret residual standard deviation alone. Compare it with the business tolerance, measurement resolution, and the natural spread of the response variable. A 2.35-minute error may be excellent for city delivery routing and unusable for a timed lab process.

For approximately normal residuals, a quick rule is that many prediction errors should fall within about 2 residual standard deviations of zero. That is a diagnostic shortcut, not a guarantee. For standardized error interpretation, see Z-Score Explained and Detecting Outliers with Standard Deviation.

Use and Reporting Checklist

  • Use:Use residual standard deviation after fitting a regression model when you need typical error in the response variable's units.
  • Formula:Use sqrt(SSE / (n - p)), where p counts all fitted parameters, including the intercept when present.
  • Report:Report the value with units, sample size, model form, and residual degrees of freedom.
  • Compare:Compare the error size with a real decision threshold, not with zero.
  • Diagnose:Check residual plots before trusting a single summary number.
QuestionGood signAction if not
Are residuals centered near zero?No clear positive or negative biasReview intercept, missing predictors, or data coding
Is the spread roughly constant?Residual width looks similar across fitted valuesConsider transformation, weighted regression, or separate groups
Are there extreme residuals?No point dominates SSEInvestigate data errors, special cases, or robust methods
Is the error acceptable?Residual SD is below the decision toleranceImprove predictors or reconsider the model's use

Common Mistakes

  • Using n - 1 instead of n - p for regression residuals.
  • Calling residual standard deviation the same thing as standard error. They are related, but standard error usually describes uncertainty in an estimate, while residual standard deviation describes model error around fitted values.
  • Comparing residual SD across models with different response units or transformed response variables without converting the interpretation.
  • Ignoring residual plots. A low summary value can still hide curvature, nonconstant variance, or one high-leverage observation.
  • Treating the value as a percentage when the response variable is measured in raw units.

Weakest-Section Rewrite Check

The weakest version of this topic says only "lower is better." A stronger report substitutes a decision rule: "The residual standard deviation is 2.35 minutes, below our 3-minute planning tolerance, so the model is acceptable for daily staffing but not for 1-minute delivery guarantees."

Further Reading

Sources

References and further authoritative reading used in preparing this article.

  1. NIST/SEMATECH e-Handbook of Statistical Methods: Linear Least Squares RegressionNIST
  2. STAT 501: What Is the Common Error Variance?Penn State Eberly College of Science

How to Read This Article

A statistics tutorial is a practical interpretation guide, not just a formula dump. It refers to the assumptions, notation, and reporting language that analysts need when they explain a result to a teacher, manager, client, or reviewer. The article body covers the specific topic, while the sections below create a common interpretation frame that readers can reuse across related metrics.

Reading goalWhat to focus onCommon mistake
DefinitionWhat the metric is and what quantity it summarizesTreating the formula as self-explanatory
Formula choiceSample versus population assumptions and notationUsing n when n-1 is required or vice versa
InterpretationWhether the result indicates concentration, spread, or riskCalling a large value good or bad without context

Frequently Asked Questions

How should I interpret a high standard deviation?

A high standard deviation means the observations are spread farther from the mean on average. Whether that spread is acceptable depends on the context: wide dispersion might signal risk in finance, instability in manufacturing, or genuine natural variation in scientific data.

Why do some articles mention n while others mention n-1?

The denominator reflects the difference between population and sample formulas. Population variance and population standard deviation use N because the full dataset is known. Sample variance and sample standard deviation often use n-1 because Bessel’s correction reduces bias when estimating population spread from a sample.

What is a statistical interpretation guide?

A statistical interpretation guide is a page that moves beyond arithmetic and explains meaning. It tells you what a metric is, when the formula applies, and how to describe the result in plain English without overstating certainty.

Can I cite this article in a report?

You should cite the underlying authoritative reference for formal work whenever possible. This page is best used as an explanatory bridge that helps you understand the concept before quoting the original standard or handbook.

Why include direct citations on every article page?

Direct citations give readers a route to verify the definition, notation, and assumptions. That improves trust and reduces the chance that a simplified explanation is mistaken for the entire technical standard.

Authoritative References

These sources define the concepts referenced most often across our articles. Bessel's correction is a sample adjustment, variance is a squared measure of spread, and standard deviation is the square root of variance expressed in the same units as the data.