MECHOWL QUALITY ANALYSIS AI

c chart and u chart maker: control limits for defects and defects per unit

Paste the number of defects of each subgroup (and the number of inspection units) to get the c chart (number of defects) or the u chart (defects per unit) with its control limits and out-of-control signals.

Last updated

Your data is not sent. Everything is computed in your browser

Data

Column names in the first row. Tabs or commas, full-width digits, thousands separators and blanks are read.

Read 25 rows and 2 columns.

What each column means

Guessed from the column names. Choose again if a guess is wrong.

The number of defects in each subgroup (a whole number).

The number of inspection units in each subgroup (for example, area in m² or number of sheets). The c chart does not need it, as the unit is always the same.

Date, lot and the like.

Line, part, machine, period … Select it to look at one value at a time.

Settings

c: number of defects (the unit is always the same). u: defects per unit (the number of units may differ).

More settings (Subgroups for the limits, Chart title, Period, Stratum)

Empty: all subgroups.

Empty: the name of the type of chart.

e.g. 1–31 Oct 2026. Written on the chart and the report.

Empty: all rows. A value: only the rows with that value.

Judgement rules

By default, the page uses the eight tests shown as examples in JIS Z 9020-2 annex B (the Western Electric rules, with the point counts of Nelson (1984)). With “Set of tests” you can switch to the examples in figure 3 of the standard (four). Switch tests on or off, or change their numbers, to match your company's or industry's rules; changes are written in the report.

By default the eight tests of annex B. With the examples of figure 3, the switches and numbers below are not used: points are marked for ① a point beyond a control limit, ② 7 points in a row on one side and ③ 7 points in a row increasing or decreasing.

Source of the default: JIS Z 9020-2:2025

Result

UCL 10.28: No out-of-control signals

Result of the sample data

c chart (number of defects)Subgroups k = 25 Period: November 2026c chart (number of defects)Subgroups k = 25 Period: November 2026Number of defectsCenter lineControl limits02.557.51012.5Number of defectsUCL 10.28CL 4.16Test12345678910111213141516171819202122232425Subgroup

No out-of-control signals

Tests used: 1, 2, 3, 4, 5, 6, 7, 8 (from the eight tests shown as examples in JIS Z 9020-2 annex B (the Western Electric rules)). A signal is a prompt to check the state of the process, not a pass or fail decision.

Upper control limit UCL
10.28
Lower control limit LCL
None

About the data

  • Where the lower control limit would be 0 or below, no lower limit is drawn.

How to read it

What the chart shows

  • No point meets any of the 8 tests used.

Common misreadings

  • Control limits are not specification limits. A point can be inside the control limits and outside the specification, and the other way round.

Next steps

  • If no point is marked, check the margin to the specification with the process capability indices.

Numbers

Number of subgroups k25
Average number of defects c̄4.16
Center line CL4.16
Upper control limit UCL10.28
Lower control limit LCLNone
Subgroups with out-of-control signals0

Calculation steps
  1. Average number of defectsc̄ = Σ defects / k= 4.16
  2. Control limitsUCL, LCL = c̄ ± 3√c̄ (no LCL at or below 0)4.16 ± 3 × 2.0396
  3. TestsThe tests are applied to the standardised points zᵢ = (xᵢ − center line) / σᵢσ (last subgroup) = 2.03961
Values, control limits and signals by subgroup
SubgroupDefectsNumber of defectsUCLLCLTests met
15510.279—
25510.279—
33310.279—
43310.279—
55510.279—
64410.279—
74410.279—
82210.279—
95510.279—
102210.279—
116610.279—
124410.279—
134410.279—
142210.279—
154410.279—
163310.279—
172210.279—
188810.279—
192210.279—
209910.279—
213310.279—
227710.279—
232210.279—
246610.279—
254410.279—
Tests used (the eight tests shown as examples in JIS Z 9020-2 annex B (the Western Electric rules))
TestDescriptionUsed
11 point more than 3σ from the center line (beyond a control limit)○
29 points in a row on the same side of the center line○
36 points in a row steadily increasing or decreasing○
414 points in a row alternating up and down○
52 out of 3 points in a row more than 2σ from the center line, on the same side○
64 out of 5 points in a row more than 1σ from the center line, on the same side○
715 points in a row within 1σ of the center line○
88 points in a row more than 1σ from the center line, on either side○

The results are reference values based on the data you entered and the formulas and criteria shown. They are not a quality guarantee or a pass/fail decision. The final decision rests with you.

Next tool: See the breakdown of defects in a Pareto chart

References

  • ISO 7870-2:2023 Control charts — Part 2: Shewhart control charts · ISO
  • D. C. Montgomery, Introduction to Statistical Quality Control, 8th ed., 2019 · Wiley
  • The Shewhart Control Chart—Tests for Special Causes · Journal of Quality Technology 16(4), 237–239 (L. S. Nelson, 1984)
  • NIST/SEMATECH e-Handbook of Statistical Methods, 6.3.3 What are Attributes Control Charts? · NIST · Open
  • NIST/SEMATECH e-Handbook of Statistical Methods, 6.3.3.1 Counts Control Charts · NIST · Open
  • JIS Z 9020-2:2025 Control charts — Part 2: Shewhart control charts (in Japanese) · Japanese Standards Association (JSA)

Standards are shown by number and title only.

c and u charts explained

A c chart plots the number of defects c in each inspection unit of the same size (one sheet, one machine, one m² and the like) in time order and compares it with the center line and the control limits, to show whether something unusual has changed in how defects occur. When the size of the unit differs between subgroups, the u chart is used instead: it plots the number of defects per unit u.

c and u charts by hand: step by step

  1. Count the defects in each unit of the same size for 20 to 25 subgroups or more (when the number of units differs, record it too).
  2. Compute c̄ = Σc / k for the c chart, or ū = Σc / Σn for the u chart.
  3. Compute the control limits: c̄ ± 3√c̄ for the c chart, ū ± 3√(ū/n) for the u chart. When the lower limit is 0 or below, no lower limit is drawn.
  4. Plot the points in time order, look for points that meet a test, and find what changed in the 4Ms at that time.

Worked examples

  1. Example 1: c chart, 4 subgroups (3, 5, 4, 4)

    Defects
    3
    5
    4
    4

    Settings: Type of chart = c chart (number of defects)

    c̄ = 16/4 = 4. UCL = 4 + 3 × √4 = 10; LCL = 4 − 6 < 0, so there is none.

  2. Example 2: c chart with a positive LCL (c̄ = 20)

    Defects
    20
    22
    18
    20

    Settings: Type of chart = c chart (number of defects)

    c̄ = 80/4 = 20, √20 = 4.47214. UCL = 20 + 13.4164 = 33.4164, LCL = 6.5836 (the lower limit is positive when c̄ > 9).

  3. Example 3: u chart, 2 subgroups with different numbers of units

    Units	Defects
    1	2
    2	6

    Settings: Type of chart = u chart (defects per unit)

    ū = 8/3 = 2.6667. n = 1: UCL = 2.6667 + 3√2.6667 = 2.6667 + 4.8990 = 7.5656. n = 2: UCL = 2.6667 + 3√(2.6667/2) = 6.1308. Both lower limits are negative, so there are none.

  4. Example 4: Only one subgroup (data that does not meet the conditions)

    Defects
    3

    Settings: Type of chart = c chart (number of defects)

    With one subgroup, the center line and the control limits cannot be set.

Common mistakes

  • Using the c chart for units of different sizes (use the u chart).
  • Using the number of defective items (an item counts as 1 however many defects it has) in a c chart (use the p or np chart).

FAQ

What is the difference between a p chart and a c chart?
The p chart looks at the number (proportion) of defective items; the c chart looks at the number of defects. When one product can have several defects, use the c or u chart.
Is my data sent anywhere?
No. The calculations and the chart are made in your browser only.

Scope

Control charts of the number of defects in each inspection unit (assuming the Poisson distribution). The control limits are 3σ.

Not covered by this tool:

  • The number of defective items (use the p and np charts).

Excel template: c and u charts

A template with the column names and sample values only (no formulas). Enter your values, then copy the range and paste it into the box above.

Download the template (c-u-template.xlsx)

Related tools

Request a tool (contact page of the official site)

Report

The company name and the other fields are kept on this device only.

Contact

We take enquiries on the contact page of the MechOwl official site. Requests for tools you would like are welcome there too.

To the contact page(opens in a new tab)