Skip to content

Fill Weight Control Chart: X-bar and R, Worked Out

A fill weight control chart from NIST's method: five jars an hour, each sample's average and range, limits from A2, D3 and D4, and the rules for reading it.

By Koa Sterling. Product specialist at TaroStack and small business owner. Yes, I am a real human, and I actually sit in front of a computer and write these articles. Reviewed December 3, 2026 · 8 min read

A fill weight control chart is an X-bar and R chart: at set times you weigh a small sample of packages in a row, 4 or 5 being typical by NIST, and plot each sample's average and range (heaviest minus lightest). From the first samples, at least 25 by Shewhart's rule of thumb, you work out the grand average and the average range. The limits for the average are the grand average plus and minus A2 times the average range; the limits for the range are D3 and D4 times the average range. For samples of 5, NIST gives A2 = 0.577, D3 = 0 and D4 = 2.115. A point outside the limits says the filler has changed: for a normal process, NIST puts the chance of a point beyond 3 sigma by accident at 0.3%. The limits say whether the filler is steady, not whether the jars meet the label: that's a separate check. Below: the factors, the steps, the rules for reading the chart, and a sheet that works it out. I read NIST's handbook on 2026-12-03.

The short version

  • Weigh 4 or 5 packages in a row at set times. Plot each sample's average and range.
  • Set the limits from at least 25 samples: the grand average and the average range.
  • Average limits: grand average ± A2 × average range. Range limits: D3 and D4 × average range.
  • For 5 a sample: A2 = 0.577, D3 = 0, D4 = 2.115 (NIST).
  • A point outside a limit means the filler changed. Find out why before the next hour.
  • Control limits aren't the label: a steady filler can still underfill.
  • TaroStack keeps the sample on the batch record and can hold the hour's lot. More below.

The factors

From NIST's table, for a sample of n packages:

n A2 D3 D4
2 1.880 0 3.267
3 1.023 0 2.575
4 0.729 0 2.282
5 0.577 0 2.115
6 0.483 0 2.004
7 0.419 0.076 1.924
8 0.373 0.136 1.864
9 0.337 0.184 1.816
10 0.308 0.223 1.777

NIST says the range works well for samples up to around 10, and that a typical sample is 4 or 5, where little is lost by using the range instead of the standard deviation.

The steps

  1. Choose the sample and the times. Five jars taken one after another, every hour, for example.
  2. Collect at least 25 samples while the filler runs normally. Shewhart's rule of thumb was not less than 25 samples of four in control.
  3. For each sample, the average of its weights and its range, the heaviest minus the lightest.
  4. The grand average is the average of the sample averages; the average range is the average of the ranges.
  5. The limits. Average: grand average ± A2 × average range. Range: D3 × average range to D4 × average range.
  6. Plot every new sample against those limits, and keep the limits fixed.

Reading the chart

The basic signal is a point beyond the limits. NIST lists the Western Electric (WECO) rules that also catch drifts:

  • Any point beyond 3 sigma.
  • 2 of the last 3 points beyond 2 sigma on the same side.
  • 4 of the last 5 points beyond 1 sigma on the same side.
  • 8 points in a row on one side of the center line.
  • 6 points in a row trending up or down, or 14 in a row alternating up and down.

There's a price: with only the 3-sigma rule, NIST puts the false alarms at one every 371 points on average, and adding the WECO rules makes it about one every 91.75. Some users add the rules but treat their signals more lightly.

When to recalculate the limits, by NIST: when at least 30 more points have come in with no known change to the process, after a major change in how the process runs, or after a known, preventable event such as a power cut or a bad batch of a consumable. Not after every bad hour, or the chart stops comparing anything.

Control limits aren't the label

NIST separates the two: control limits say whether the process is in a state of statistical control, producing consistent output; specification limits say whether the product will do what it should. A filler can be perfectly steady and still put out jars under the declared weight, if it's centered too low. The check against the label is in net weight check log. If you weigh one package at a time, NIST's individuals chart uses the moving range between consecutive weights instead: limits at the average ± 3 × the average moving range ÷ 1.128.

An example: the honey jars

A made-up honey packer in Fresno fills 12-ounce jars, declared at 340 g. A grocery chain's auditor asked how they knew the filler was steady, and the answer was a clipboard of single weights. They weighed five jars every hour from 7:00 to 16:00 for three days. The first 25 samples set the chart: grand average 343.98 g, average range 3.21 g, so the average's limits are 343.98 ± 0.577 × 3.21, which is 342.13 g to 345.83 g, and the range's upper limit is 2.115 × 3.21 = 6.79 g. The flagged samples, through the sheet:

Sample Time Jars (g) Average Range Check
27 Nov 20, 13:00 348.0, 347.2, 348.3, 348.0, 350.0 348.30 2.8 Average above the upper limit
29 Nov 20, 15:00 342.8, 345.4, 350.6, 334.8, 340.0 342.72 15.8 Range above its limit
30 Nov 20, 16:00 344.3, 344.6, 344.3, 339.6, 344.9 343.54 5.3 In control, but a jar is under the label

Sample 27 came after the filler's setting was knocked up during a cleaning; the jars were still heavy, which costs honey rather than breaking the label. Sample 29 is the one that mattered: an air bubble in the line made the fills jump, and one jar was 5 g light. The hour's jars were held and rechecked. Sample 30 is in control, but one jar was under 340 g: the average is fine, the label check isn't. What the chart's lots trace back to is in what is lot tracking, and the batch record itself in what is a batch record.

Get the sheet

Download the fill weight control chart. One row for each sample: its number, date and time, and five weights. The sheet gives each sample's average and range; a Settings sheet sets the center line and limits from the first 25 samples with NIST's factors for five, and holds the declared weight. The check says whether each sample is in control, which limit it broke, and whether a jar was under the label. Thirty made-up samples are filled in. It's an ordinary Excel file with no macros, and it works in Google Sheets, LibreOffice and Numbers.

Where this stops working

The chart says when the filler changed. It doesn't say which jars from the bad hour went into which cases, or which store got them, and that's the question when an hour of fills has to come back.

How TaroStack does it

TaroStack doesn't take weights from a scale or draw control charts. It keeps the batch the jars came from.

A batch record can carry fields of your own, such as the hourly sample's average and range and who weighed it, so the check sits on the same record as the batch's ingredients and lots. A lot can be put on hold, kept apart from what you can sell, while an out-of-control hour is sorted.

Each delivery comes in as a lot from a named supplier, with the supplier's lot code and its dates. Each recipe lists its ingredients, and each batch records which lots it used, automatically. One report walks any lot to the batches it went into and the customers who got them.

The job Clipboard by the filler In TaroStack
The hour's sample A line on a clipboard Fields on the batch record
The jars from the bad hour Somewhere on the pallet A lot on hold
Which honey lots went in The tank sheet Lots recorded on each batch
Who got the batch The orders, one by one One report, lot to customer

Recipes and batches are on every plan, from $9.99 a month (5 recipes) or $39 a month (50 recipes). The first 14 days are free, with no credit card. If you'd like a hand setting up, ask, and we'll do it with you.

Questions people also ask

How do you calculate control limits for fill weight?

Weigh samples of 4 or 5 at set times. From at least 25 samples, the limits for the average are the grand average ± A2 × the average range, and for the range D3 and D4 × the average range. For 5 a sample, A2 = 0.577, D3 = 0, D4 = 2.115 (NIST).

What is an X-bar and R chart?

A pair of control charts for a measured value: one plots each sample's average, the other its range. Together they show whether the process's level and its spread are steady.

How many samples do you need for a control chart?

Shewhart's rule of thumb, quoted by NIST: not less than 25 samples of size four, in control, before concluding a process is in control.

Are control limits the same as specification limits?

No. Control limits say whether the process is consistent; specification limits, such as the declared weight, say whether the product meets what it should (NIST).

Sources

  1. NIST/SEMATECH e-Handbook of Statistical Methods, 6.3.2: What are variables control charts? (Shewhart's rule of thumb, control limits against specifications, when to recalculate, the WECO rules) · read December 3, 2026
  2. NIST/SEMATECH e-Handbook, 6.3.2.1: Shewhart X-bar and R and S control charts (A2, D3, D4 for n = 2 to 10) · read December 3, 2026
  3. NIST/SEMATECH e-Handbook, 6.3.2.2: Individuals control charts (the moving range, 1.128) · read December 3, 2026

We use AI to help with the research for these articles. Every one is read, checked against its sources and edited by Koa before it's published. Spot a mistake? Tell us and we'll fix it and say so. How we write these.

Let’s get your stack in order.

Get TaroStack

Sign up now for your free 14 day trial. No credit card required.