Skip to content
LeanSuite

Free template

Updated

X-bar and R control chart template

An X-bar and R control chart follows a process over time with two charts: the mean of each small subgroup of parts (x̄) and the range within it (R). Control limits worked out from the process's own data show how much it varies when nothing unusual is happening, so a point outside them, or a pattern such as a long run on one side of the center line, signals a special cause to find and fix. A control chart answers whether the process is stable; a capability study (Cpk) answers whether a stable process fits the specification. Page 1 of the PDF has the header fields, a data table for 25 subgroups of up to 5 readings with the sum, mean and range, and an x̄ chart and an R chart lined up under the subgroups, each with lines for the center line and the control limits. Page 2 has the limit formulas with the A2, D3, D4 and d2 constants for subgroups of 2 to 10, the common rules for spotting a special cause, a worked example and a reaction log. The Excel version takes subgroups of 2 to 10, works out x̄, R, the grand mean, the average range and both sets of limits, flags points outside the limits and 7 means in a row on one side of the center line, draws both charts with their limits, and has a worked example sheet and a reaction log.

Free to use: print it, copy it and edit it for your team. Enter your name and work email once to download.

Page 1 of the X-bar and R control chartFields for part, characteristic, specification, gauge and subgroup size, a table for 25 subgroups of five readings with sum, mean and range rows, and a means chart and a range chart with lines for the center line and control limits.
25 subgroups of up to 5Means and rangesx̄ chart and R chartConstants for n = 2 to 10Special-cause rulesWorked exampleReaction log

When to use it

When to use an X-bar and R chart

  • For a measured characteristic made in volume, where you can take small subgroups of parts made one after another (2 to 10, most often 4 or 5).
  • On the key characteristics in a control plan, to watch the process while it runs instead of sorting parts afterwards.
  • Before a capability study, to show the process is stable: a Cpk from an unstable process predicts nothing.
  • After a change to a machine, tool, material or method, to see whether the process has shifted.
  • Not for one reading at a time (an individuals chart fits better) or for counts of defects (use a p or c chart).

How to fill it in

  1. 1

    Check the gauge first

    Run a gauge R&R on the measurement system, so the chart shows the process and not the gauge.
  2. 2

    Choose the subgroup

    Parts made one after another, the same number each time, at a set interval: for example 5 parts every hour. Write the readings and the time.
  3. 3

    Work out x̄ and R

    For each subgroup, the mean (sum ÷ n) and the range (largest − smallest). Plot both.
  4. 4

    Set the limits

    After about 25 subgroups: x̿ ± A₂R̄ for the x̄ chart, D₄R̄ and D₃R̄ for the R chart, with the constants for your subgroup size.
  5. 5

    React to signals

    A point beyond a limit, a run of 7 on one side of the center line or a clear trend: find the cause, act on it and write both in the reaction log.
  6. 6

    Keep the limits

    Use the same limits on later sheets. Recalculate only after a deliberate process change, or after removing subgroups whose cause you found and fixed.

Constants

Control chart constants by subgroup size

A₂ sets the x̄ chart limits, D₃ and D₄ the R chart limits, and d₂ turns the average range into an estimate of the process standard deviation (R̄ ÷ d₂).

  • 2

    A₂
    1.880
    D₃
    0
    D₄
    3.267
    d₂
    1.128
  • 3

    A₂
    1.023
    D₃
    0
    D₄
    2.574
    d₂
    1.693
  • 4

    A₂
    0.729
    D₃
    0
    D₄
    2.282
    d₂
    2.059
  • 5

    A₂
    0.577
    D₃
    0
    D₄
    2.114
    d₂
    2.326
  • 6

    A₂
    0.483
    D₃
    0
    D₄
    2.004
    d₂
    2.534
  • 7

    A₂
    0.419
    D₃
    0.076
    D₄
    1.924
    d₂
    2.704
  • 8

    A₂
    0.373
    D₃
    0.136
    D₄
    1.864
    d₂
    2.847
  • 9

    A₂
    0.337
    D₃
    0.184
    D₄
    1.816
    d₂
    2.970
  • 10

    A₂
    0.308
    D₃
    0.223
    D₄
    1.777
    d₂
    3.078

A filled-in example

Illustrative, not a benchmark

An example: the bore of a machined housing, specification 24.980 to 25.040 mm, 25 subgroups of 5 (illustrative numbers). The Excel version's Example sheet has the same readings.

Why subgroup 18 is a signal although every part was in specification

x̄ chart limits = x̿ ± A₂ × R̄

  1. A₂ × R̄ =0.577 × 0.01356= 0.00782
  2. UCL =25.0104 + 0.00782= 25.0182 mm
  3. LCL =25.0104 − 0.00782= 25.0026 mm

The specification runs from 24.980 to 25.040 millimeters. The control limits for subgroup means are much narrower, 25.0026 to 25.0182. Subgroup 18's mean, 25.0254, is above the upper control limit but inside the specification.

Control limits come from the process's own variation, not from the drawing. A mean outside them is a special cause to find now, before parts go out of specification.
  • Grand mean x̿ = 25.0104 mm, average range R̄ = 0.01356 mm.
  • x̄ chart: A₂ × R̄ = 0.577 × 0.01356 = 0.00782, so UCL = 25.0182 mm and LCL = 25.0026 mm.
  • R chart: UCL = 2.114 × 0.01356 = 0.0287 mm, LCL = 0.
  • Subgroup 18 has a mean of 25.0254 mm, above the UCL, although every part in it was inside the specification. The tool offset had been entered wrong after an insert change.

The chart caught the shift before any part went out of specification. The offset was corrected and logged, and with subgroup 18 removed the limits became 25.0020 to 25.0176 mm around a grand mean of 25.0098 mm.

Common mistakes

  • Using the specification as control limits

    Specification limits say what the customer allows for one part; control limits say what the process does. Drawing the tolerance on an x̄ chart hides real signals.

  • Recalculating the limits on every sheet

    Limits that move with the data absorb every shift. Set them once from a stable period and keep them.

  • Charting without reacting

    A chart nobody acts on is paperwork. Every signal needs a cause found and a line in the reaction log.

  • Mixing streams in one subgroup

    Parts from two cavities, spindles or machines in one subgroup inflate the range and hide the difference between them. Chart each stream on its own.

Download the template

Free to use: print it, copy it and edit it for your team. Enter your name and work email once to download.

Run this template in LeanSuite

In LeanSuite quality checks run as digital checklists with number limits, an out-of-spec answer can raise a tag or start a CAPA automatically, and KPI Builder tracks quality KPIs against targets.

See it in a 45-minute demo

FAQ

X-bar and R control chart template: common questions

  1. A control chart answers whether the process is stable: whether it varies only by its usual amount over time. A capability study answers whether a stable process fits inside the specification, as Cp and Cpk. Run the chart first. The free process capability (Cpk) study sheet on this site takes the same kind of subgroup data and works out Cp, Cpk, Pp and Ppk.

  2. Work out the mean and range of each subgroup, then the grand mean and the average range over about 25 subgroups. The x̄ chart limits are the grand mean plus and minus A2 × the average range; the R chart limits are D4 and D3 × the average range. The constants depend on the subgroup size: for 5 they are 0.577, 2.114 and 0.

  3. Small subgroups of parts made one after another, so the range shows only short-term variation. 4 or 5 is common. Above about 10, an X-bar and S chart, which uses the standard deviation instead of the range, is the usual choice.

  4. A point beyond a control limit on either chart is the main signal. Most plants add run rules, such as 7 points in a row on one side of the center line (the AIAG SPC manual) or 8 (the Western Electric rules), and a steady trend. Agree one set and use it every time.

  5. No. Specification limits apply to single parts and come from the drawing. Control limits apply to subgroup means and ranges and come from the process. A process can be in control and still make parts out of specification, or out of control while every part is in.

More free templates

All templates
Browse all 278 templates

Can't find the template you need?

Tell us what you're looking for. We'll make it and send it to your inbox, free.

A shift handover sheet, a red tag log, a changeover checklist for one machine: if your team uses it on the floor, ask.

By sending this form you agree to our Terms of Service and Privacy Policy.

Pass it on

We want LeanSuite to be the best place on the internet for lean help. If this was useful, send it to someone on your team or in your network who needs it.