CUSUM Control Chart Calculator

Detect small, sustained shifts in energy consumption using a CUSUM (cumulative sum) control chart. Computes Page's two-sided CUSUM (cumulative sum) statistics…

Computes Page's two-sided CUSUM (cumulative sum) statistics from a series of measurements against a target value, flagging sustained upward or downward shifts that a standard Shewhart chart would miss — the method recommended by ISO 50001 for energy performance monitoring.

What Is a CUSUM Control Chart?

A CUSUM (cumulative sum) control chart accumulates the deviation of each new measurement from a target value, rather than looking at each point in isolation like a standard Shewhart chart. This accumulation makes CUSUM far more sensitive to small, sustained shifts — a process that drifts 0.5 standard deviations off target may take dozens of points to trigger a standard chart, but a CUSUM chart can flag it within just a few points because the small deviations keep adding up.

Page's two-sided CUSUM tracks two running sums: an upper sum (C⁺) that grows when values run above target plus an allowance K, and a lower sum (C⁻) that grows when values run below target minus K. Both sums reset toward zero whenever the process is on-target, so they only accumulate during a genuine sustained shift rather than normal random noise. A signal is raised when either sum exceeds a decision interval H.

In energy management (ISO 50001), CUSUM is particularly valuable for catching a piece of equipment that is gradually drifting toward higher energy consumption — a slow compressor efficiency decline, for example, that a monthly bill comparison would not reveal for months, but that a CUSUM chart on daily or weekly consumption data can surface within days of the drift beginning.

Formula: C⁺ₙ = max(0, xₙ − (μ₀ + K) + C⁺ₙ₋₁) C⁻ₙ = max(0, (μ₀ − K) − xₙ + C⁻ₙ₋₁) Signal when C⁺ₙ > H or C⁻ₙ > H

Example Calculation

A process with target 100 produces the readings 100, 102, 98, 101, 99, 103, 108, 110, 112, 115 — the last four points show a clear upward drift. With auto-calculated K and H from the data's own standard deviation, C⁺ stays at 0 through the first five points (no sustained deviation yet), then climbs steadily to about 33 by the tenth point, crossing the decision interval and raising a signal at point 10. C⁻ stays at 0 throughout since there is no downward drift. The result correctly identifies a positive (upward) shift.

When to Use This Calculator

Common Mistakes to Avoid

How to Interpret Results

Related Standards & References

Frequently Asked Questions

How should I choose the allowance (K) and decision interval (H)?

A common industry default is K = σ/2 (half a standard deviation) and H = 5σ, which this calculator uses automatically when left blank — this combination is tuned to detect a 1-sigma shift within about 8-10 points on average. Smaller K values make the chart more sensitive to small shifts but increase false alarms; larger H values reduce false alarms but delay detection of real shifts.

When should I use CUSUM instead of a standard Shewhart control chart?

Use CUSUM when you need to detect small, sustained shifts (roughly 0.5 to 2 standard deviations) as quickly as possible — Shewhart charts (X-bar, I-MR) are better suited to detecting large, sudden shifts but are slow to react to gradual drift. Many practitioners run both chart types side by side: Shewhart for sudden spikes, CUSUM for slow trends.

What does it mean if both C⁺ and C⁻ signal in the same dataset?

A signal on both sides usually indicates the process shifted in one direction and later shifted back (or overshot) in the other, or that the target/standard deviation used does not match the process well. It is worth reviewing the raw data and confirming the target value is still appropriate before treating this as two independent shifts.