Upper Control Limit Calculator

Upper Control Limit Calculator

Set the upper and lower control limits for X̄–R, individuals, p and c control charts, and check whether a new measurement signals that the process has changed.

UCL = centre line + 3 standard errors

Choose a chart type and enter its centre-line figures

What Is an Upper Control Limit?

An upper control limit (UCL) is the line on a control chart, usually three standard errors above the centre line, above which a point signals that something unusual has happened to the process. A lower control limit (LCL) does the same below.

Every process varies. Control limits separate everyday "common cause" variation from "special causes" such as a worn tool, a new supplier or a missed step. A stable process stays within its limits about 99.7% of the time, so a point outside them is worth investigating.

Control limits come from the process itself, not from what the customer wants. They describe what the process does; specification limits say what it should do. A process can be perfectly in control and still fail the specification.

Upper Control Limit Formulas

As given in Montgomery, Introduction to Statistical Quality Control, chapters 6–7, and the NIST/SEMATECH e-Handbook, section 6.3.2. See Sources.

1. X̄–R and individuals charts

X̄ chart: X̿ ± A₂R̄ · R chart: D₃R̄ to D₄R̄ · individuals: x̄ ± 2.66 MR̄

2. p chart

p̄ ± 3√(p̄(1 − p̄) ÷ n), LCL no lower than 0

3. c chart

c̄ ± 3√c̄, LCL no lower than 0

The constants A₂, D₃ and D₄ convert the average range into three-sigma limits; they depend only on the subgroup size.

Worked Example: Bottle Filling on an X̄–R Chart

Given:
Every hour, 5 bottles are measured. Over 25 hours the average fill is 500.2 ml and the average range within a subgroup is 3.1 ml.
Step 1:
Constants for n = 5:
A₂ = 0.577 · D₃ = 0 · D₄ = 2.114
Step 2:
Limits for the hourly means:
500.2 ± 0.577 × 3.1 = 498.41 to 501.99 ml
Step 3:
Limit for the ranges:
UCL = 2.114 × 3.1 = 6.55 ml · LCL = 0
Result:
UCL = 501.99 ml

An hour averaging 502.4 ml would be out of control, even though every bottle in it might be within the ±5 ml specification. It signals that something changed and is worth a look before it becomes a problem.

Control Chart Constants

A2, D3 and D4 constants for subgroup sizes 2 to 10
Subgroup size nA₂D₃D₄
21.8800.0003.267
31.0230.0002.574
40.7290.0002.282
50.5770.0002.114
60.4830.0002.004
70.4190.0761.924
80.3730.1361.864
90.3370.1841.816
100.3080.2231.777

Common Control Limit Mistakes

  • Using specification limits as control limits. Specifications come from the customer; control limits come from the data. Mixing them hides real process shifts.
  • Calculating limits from the overall SD. Using all the data's spread lets shifts between subgroups widen the limits. Use within-subgroup variation (R̄ or MR̄).
  • Recalculating limits after every point. Fix the limits from a stable baseline period and only revise them after a deliberate process change.
  • Only watching for points outside the limits. Runs of points on one side of the centre line or steady trends are signals too.

Upper Control Limit FAQs

Why three sigma?

Shewhart chose it as a practical balance: false alarms are rare (about 3 in 1,000 points) while real shifts are still caught quickly.

Which chart should I use?

X̄–R for measurements taken in small subgroups; individuals for one measurement at a time; p for the share of defective items; c for counts of defects per unit.

Where does 2.66 come from?

It’s 3 ÷ d₂ for moving ranges of 2, where d₂ = 1.128 converts an average range into a standard deviation.

Why is the LCL sometimes 0?

For proportions and counts the formula can go negative, which is impossible, so the limit is set to 0.

How many subgroups do I need?

About 20 to 25 subgroups from a stable period is the usual guidance before fixing the limits.

What is the R chart for?

It tracks the spread within each subgroup. Check it first: if the spread isn’t stable, the X̄ chart limits aren’t meaningful.

Can I use a p chart with varying sample sizes?

Yes, but the limits then change for each sample. This page uses one sample size.

What are the Western Electric rules?

Extra signals, such as 8 points in a row on one side of the centre line, that catch smaller shifts than the 3σ limits alone.

Sources

Related Tools