CalcWorldHub
Quality control · CalcWorldHub

Shewhart Average Run Length: Estimate Time to a Control Signal

Average run length (ARL) describes how many plotted statistics are expected before a control chart signals. It is a probability-based expectation, not a promised number of days. The Shewhart ARL calculator models a two-sided chart with fixed limits and a normally distributed plotted statistic. Use the Shewhart average run length calculator to compare how a mean shift and subgroup size change signal behavior.

Open calculator
Bell-shaped chart distribution shifted toward a control limit with the signal tail highlighted.

Share this article

Flow diagram showing Control limits moving through the calculation to its result.
How the entered values lead to the Shewhart Average Run Length result.

Define what one plotted sample means

For an individuals chart, one plotted observation is one sample and subgroup size m is 1. For an X-bar chart, each plotted point is the mean of m observations. If the process mean moves by δ process standard deviations, the charted mean moves by δ√m standard errors under independent observations with a stable process standard deviation.

The tool uses a signed shift, but the two-sided rule makes positive and negative shifts symmetric. A shift of 1 process standard deviation is not necessarily a 1-standard-error shift on an X-bar chart. Keep the process-scale shift and the chart-scale distance distinct when explaining the result.

From signal probability to ARL

Let k be the control-limit half-width in standard errors and δchart = δ√m the shift of the plotted mean in standard errors. The signal probability per point is p = Φ(−k−δchart) + 1 − Φ(k−δchart), where Φ is the standard normal cumulative distribution. The two tails are included because a two-sided chart signals above the upper limit or below the lower limit.

If successive plotted statistics are independent with the same signal probability, ARL = 1/p. Under an unchanged centered process with three-standard-error limits, the false-signal chance is about 0.27% per point, giving an in-control ARL near 370 points. This does not mean the chart signals regularly every 370 points.

Enter limits, shift, and subgroup size

The form takes the limit half-width k in standard errors, the process mean shift in process standard deviations, and the number of observations in a subgroup. The limit half-width must be positive and within the calculator’s allowed range; subgroup size is a positive integer. Use the chart’s actual control limits rather than specification limits.

The shift input is a scenario, not an estimate from data. If you do not know the post-change mean, calculate several plausible shifts instead of choosing one convenient value. A subgroup size should represent the observations contributing to each plotted statistic, not the total number collected over a week or shift.

Interpret average delay carefully

A smaller ARL after a sustained shift means the chart is more likely to signal quickly on average. For example, ARL 6.3 means an expected 6.3 plotted samples until the first signal under the model. The actual run length varies: a chart can signal on the first point or remain silent much longer.

Convert points to calendar time only when the sampling schedule is stable. A chart sampled hourly and one sampled daily can have the same ARL in points but very different elapsed time. Changes in subgrouping, limit estimation, dependence, or supplementary run rules also alter real chart behavior.

Limits of the normal fixed-limit model

This calculator assumes known, fixed limits and independent normally distributed plotted statistics. It does not include uncertainty from estimating the center line or standard deviation, autocorrelation, changing subgroup size, or signals from Western Electric rules. Those features can materially change false-alarm and detection behavior.

Use ARL as a design comparison, not a standalone chart-approval metric. Validate the chart type, baseline data, sampling cadence, and rational subgrouping. When serial dependence or small shifts matter, a memory chart such as CUSUM or EWMA may be considered, but this tool does not calculate those procedures.

Worked examples

Both scenarios use fixed limits; ARL is expressed in plotted samples under the stated normal-independence model.

Two-standard-error chart shift

Inputs: k = 3 standard errors; process shift δ = 1.0σ; subgroup size m = 4.

Calculation: δchart = 1.0 × √4 = 2.000 standard errors; p = Φ(−3−2) + 1 − Φ(3−2) = 0.1586555; ARL = 1 ÷ 0.1586555 = 6.303 plotted samples.

A sustained one-standard-deviation process shift moves this subgroup mean by two standard errors, so a signal is likely within a few plotted points on average.

Narrower limits with a larger shift

Inputs: k = 2 standard errors; process shift δ = 1.2σ; subgroup size m = 5.

Calculation: δchart = 1.2 × √5 = 2.68328 standard errors; p = Φ(−2−2.68328) + 1 − Φ(2−2.68328) = 0.7527869; ARL = 1 ÷ 0.7527869 = 1.328 plotted samples.

With the shifted mean near the upper limit, the next point has a high modeled chance to signal. This does not describe how often false alarms occur under the in-control process.

Illustration of the assumptions and interpretation boundary for Shewhart Average Run Length.
Separate the numerical output from the decision it may inform.

Sources and further reading

Share this article

Browse all articles · Calculator: Shewhart Average Run Length Calculator