An R chart (Range chart) is a type of control chart used to monitor the within-subgroup variability of a process by plotting the range—the difference between the maximum and minimum values—of sequential samples over time. It is a primary tool for detecting changes in process dispersion and is almost always used in conjunction with an X-bar chart, which monitors the process mean. The chart's control limits are calculated from the observed subgroup ranges to distinguish between common cause variation (inherent noise) and special cause variation (indicating an out-of-control process).
Glossary
R Chart

What is an R Chart?
An R chart is a fundamental tool in Statistical Process Control (SPC) for monitoring the stability and variability of a process over time.
Effective use of an R chart depends on rational subgrouping, where data is sampled in a way that maximizes variation between subgroups while minimizing it within. When points fall outside the calculated control limits or exhibit non-random patterns, it signals that an assignable cause is affecting process variability, prompting investigation. By controlling variation, the R chart is essential for achieving process stability, a prerequisite for meaningful process capability analysis (e.g., calculating Cpk) to ensure output consistently meets specifications.
Key Characteristics of an R Chart
An R chart is a control chart used to monitor the within-subgroup variability (range) of a process over time, typically used in conjunction with an X-bar chart. It is a fundamental tool for detecting changes in process dispersion.
Monitors Process Dispersion
The R chart is specifically designed to track the within-subgroup variation of a process. It plots the range (R) of each subgroup—the difference between the maximum and minimum values within that sample. This makes it distinct from an X-bar chart, which monitors the process mean. By separating the analysis of location (mean) and spread (range), practitioners can more precisely diagnose the source of process instability. A stable R chart indicates that the inherent, short-term variability of the process is consistent.
Requires Rational Subgrouping
The effectiveness of an R chart is entirely dependent on rational subgrouping. Data must be collected in subgroups where the variation within each subgroup is due only to common causes (inherent process noise), while variation between subgroups may include special causes. Typical subgroup sizes are small, between 2 and 10 observations. For example, five consecutive parts from a production line sampled every hour. Incorrect subgrouping, such as mixing data from different machines, will render the chart's control limits meaningless and mask true process signals.
Control Limits are Calculated from Data
Unlike specification limits, which are set by customer requirements, the control limits on an R chart are derived statistically from the process's own historical data. The center line (CL) is the average of the subgroup ranges (R̄). The upper control limit (UCL) and lower control limit (LCL) are calculated as:
- UCL = D₄ * R̄
- LCL = D₃ * R̄ The constants D₃ and D₄ are based on the subgroup size (n) and account for the distribution of the range statistic. For subgroups smaller than 7, D₃ is zero, resulting in no lower control limit, as a range cannot be negative.
Used in Tandem with X-bar
An R chart is almost always analyzed alongside an X-bar chart. This paired analysis is called an X-bar and R chart. The sequence of analysis is critical:
- First, examine the R chart. If the R chart is out of control, the estimate of process variation is unstable. This invalidates the control limits on the X-bar chart, as they are calculated using R̄.
- Only if the R chart is in control should you then interpret the X-bar chart. This two-step approach prevents misinterpreting changes in variation as changes in the process mean.
Detects Increases in Variation
The primary signal on an R chart is one or more points plotting above the Upper Control Limit (UCL). This indicates a special cause has increased the within-subgroup variation. Potential root causes include:
- Worn tooling
- Inconsistent raw material
- Operator fatigue
- Environmental changes (e.g., temperature, humidity) A point below the Lower Control Limit (LCL) (when it exists) is also a signal, often indicating improved consistency, measurement error, or miscalculated data.
Assumptions and Limitations
The standard R chart relies on key assumptions:
- The underlying process data is approximately normally distributed. The range statistic is sensitive to non-normality.
- Subgroups are independent and identically distributed.
- Subgroup size is small (n ≤ 10). For larger subgroups, the S chart (using standard deviation) is statistically more efficient. It is less sensitive to small shifts in variation compared to an Exponentially Weighted Moving Average (EWMA) chart for dispersion. Its strength lies in simplicity and clear graphical communication of subgroup variability.
R Chart vs. Other Variability Control Charts
A feature comparison of the R chart against other primary control charts used to monitor process variability, highlighting their respective data requirements, sensitivity, and typical use cases.
| Feature / Metric | R Chart (Range) | S Chart (Standard Deviation) | Moving Range (MR) Chart | Individuals (I) Chart |
|---|---|---|---|---|
Primary Purpose | Monitor within-subgroup variability (range) | Monitor within-subgroup variability (standard deviation) | Monitor variability between consecutive individual observations | Monitor the central tendency (mean) of individual observations |
Data Type | Variable (Continuous) | Variable (Continuous) | Variable (Continuous) | Variable (Continuous) |
Subgrouping Requirement | Requires rational subgroups (n>1) | Requires rational subgroups (n>1) | No subgroups; uses consecutive points | No subgroups; uses individual points |
Typical Subgroup Size (n) | 2 ≤ n ≤ 9 | n ≥ 10 | n = 1 (by definition) | n = 1 (by definition) |
Statistical Basis | Average of subgroup ranges (R-bar) | Average of subgroup standard deviations (S-bar) | Average moving range (MR-bar) | Process mean of individual values |
Sensitivity to Shifts | Moderate; less efficient for n>6 | High; statistically efficient for all n | Low; only uses two data points at a time | N/A (Measures location, not spread) |
Assumption of Normality | Robust to mild non-normality | Sensitive to non-normality | Robust to mild non-normality | Requires normality for control limits |
Common Paired Chart | X-bar chart | X-bar chart | I chart (as I-MR pair) | MR chart (as I-MR pair) |
Primary Use Case | Traditional SPC for manual processes with small subgroups | Automated processes or larger subgroups where precision is critical | Processes where data is collected slowly/individually | Monitoring the process mean when subgrouping is not possible |
Example Applications of R Charts
R charts are a foundational tool in Statistical Process Control (SPC) for monitoring process variability. These examples illustrate their critical role in maintaining quality and consistency across manufacturing and modern data pipelines.
Manufacturing Dimensional Control
In machining or assembly lines, an R chart monitors the consistency of a critical dimension (e.g., piston diameter, bolt length) across samples. A sudden increase in the range signals a tool wearing out, a fixture coming loose, or inconsistent raw material, prompting maintenance before out-of-spec parts are produced. It is always paired with an X-bar chart to monitor the average dimension.
- Key Metric: Within-sample range of measurements.
- Action Trigger: Point above the Upper Control Limit (UCL) on the R chart.
Batch Process Consistency
In chemical, pharmaceutical, or food production, the R chart tracks variability within batches. For example, it can monitor the concentration of an active ingredient in tablet samples from a single batch, or the viscosity of a polymer mix. Stable within-batch variability (a stable R chart) is essential for ensuring final product uniformity and meeting regulatory standards for batch release.
Service Process Timeliness
Applied to service industries, an R chart can monitor the variation in time to complete a recurring task. For instance, measuring the range of call handle times for a subgroup of customer service agents each hour. An increasing range may indicate inconsistent procedures, varying agent experience levels, or system latency issues, highlighting a need for standardized training or IT investigation.
Data Pipeline Health Monitoring
In modern data observability, R charts monitor the variability of key data quality metrics over time. For example, tracking the range of null counts or value lengths within daily data slices. A spike in the range signals inconsistent data generation or ingestion—perhaps one source is failing while others are healthy—alerting engineers before skewed data impacts downstream analytics or machine learning models.
Software Performance Stability
For DevOps and SRE teams, R charts can track the variability of system performance. Monitoring the range of API response times or database query latencies within short time subgroups helps distinguish between consistent high latency (an X-bar chart issue) and erratic, unpredictable performance (an R chart issue). The latter often points to resource contention, garbage collection spikes, or network instability.
Laboratory Measurement System Analysis
Before implementing SPC, a Gauge R&R study uses R charts to assess measurement system precision. The range of repeated measurements on the same part by the same operator (Repeatability) and between different operators (Reproducibility) is plotted. An unstable or high-range R chart indicates the measurement tool itself is a major source of variation, invalidating any subsequent process control charts.
Frequently Asked Questions About R Charts
An R chart is a fundamental tool in Statistical Process Control (SPC) used to monitor process variability. Below are answers to common technical questions about its purpose, calculation, and application in data quality monitoring.
An R chart (Range chart) is a type of control chart used to monitor the within-subgroup variability, or dispersion, of a process over time. It specifically tracks the range—the difference between the maximum and minimum values—within each rational subgroup of data. While its companion X-bar chart monitors the process mean, the R chart is critical for detecting changes in process consistency and spread. A stable R chart indicates that the inherent, short-term variation of the process is predictable and under control, which is a prerequisite for accurately assessing the process mean on the X-bar chart.
Enabling Efficiency, Speed & Accuracy
Intelligent Analysis, Decision & Execution
We build AI systems for teams that need search across company data, workflow automation across tools, or AI features inside products and internal software.
Talk to Us
Search across company data
Give teams answers from docs, tickets, runbooks, and product data with sources and permissions.
Useful when people spend too long searching or get different answers from different systems.

Automate internal workflows
Use AI to route work, draft outputs, trigger actions, and keep approvals and logs in place.
Useful when repetitive work moves across multiple tools and teams.

Add AI to products and internal tools
Build assistants, guided actions, or decision support into the software your team or customers already use.
Useful when AI needs to be part of the product, not a separate tool.
Related Terms in Statistical Process Control
The R chart is a fundamental tool within Statistical Process Control (SPC) for monitoring process variability. It is almost always used in conjunction with other charts and metrics to provide a complete picture of process health and capability.
X-bar Chart
The X-bar chart is the primary companion to the R chart. While the R chart monitors within-subgroup variability (range), the X-bar chart monitors the process mean (central tendency) over time.
- Rational Subgrouping: Both charts rely on the same rational subgroups of data, typically 2-5 consecutive samples.
- Dual Analysis: A stable process requires both the X-bar and R charts to be in control. A shift in the mean (signaled on the X-bar chart) or a change in variability (signaled on the R chart) indicates a special cause.
Control Limits
Control limits are the statistically calculated boundaries on a control chart that define the expected range of variation from a stable process. For an R chart, these limits are not specification limits but are derived from the observed average range of the subgroups.
- Calculation: Limits are typically set at ±3 standard deviations (of the range statistic) from the center line (the average range, R-bar).
- Interpretation: Points falling outside these limits signal special cause variation, indicating an assignable change in the process's inherent variability that requires investigation.
Common vs. Special Cause Variation
The core purpose of an R chart is to distinguish between these two types of process variation.
- Common Cause Variation: Inherent, random noise within the process. On an in-control R chart, points will fluctuate randomly within the control limits. This variation is due to the process design itself.
- Special Cause Variation: Non-random, assignable signals. A point outside the R chart's control limits, or a non-random pattern within them, indicates a specific, identifiable change (e.g., a worn tool, new material batch, operator error). This requires root-cause analysis and correction.
Process Capability (Cp, Cpk)
Process capability analysis can only be validly performed when a process is stable, as verified by control charts like the R and X-bar. The R chart's stability confirms that process variability is consistent.
- Cp Index: Measures the potential capability of a process by comparing the process spread (6σ, estimated from the average range, R-bar) to the width of the specification tolerance. It assumes the process is centered.
- Cpk Index: Measures the actual capability by also accounting for how centered the process mean is within the specifications. An unstable R chart invalidates these indices, as the spread is not predictable.
Rational Subgrouping
Rational subgrouping is the foundational sampling strategy for effective R and X-bar charts. Data must be grouped to maximize the chance of detecting variation between subgroups while minimizing variation within subgroups.
- Purpose for R Chart: Within-subgroup variation (the range) should represent only short-term, common-cause noise. This makes the R chart sensitive to changes in that noise level.
- Example: Taking 5 consecutive units from a production line every hour forms a rational subgroup. The range within that subgroup captures momentary machine variability, while differences between hourly subgroups might capture tool wear or shift changes.
Individuals Chart (I-MR Chart)
The Individuals and Moving Range (I-MR) chart is used when data cannot be rationally subgrouped (e.g., batch processes, daily measurements). It serves a similar purpose to the X-bar and R chart pair for individual observations.
- Moving Range Chart: This chart is the analog to the R chart. It monitors variability by plotting the absolute difference between consecutive individual measurements.
- Key Difference: The Moving Range chart uses a span of 2, whereas the R chart uses a fixed subgroup size (n). The control limits for the Individuals chart are calculated using the average moving range, just as the X-bar chart uses the average range.

About the author
Prasad Kumkar
CEO & MD, Inference Systems
Prasad Kumkar is the CEO & MD of Inference Systems and writes about AI systems architecture, LLM infrastructure, model serving, evaluation, and production deployment. Over 5+ years, he has worked across computer vision models, L5 autonomous vehicle systems, and LLM research, with a focus on taking complex AI ideas into real-world engineering systems.
His work and writing cover AI systems, large language models, AI agents, multimodal systems, autonomous systems, inference optimization, RAG, evaluation, and production AI engineering.
Partnered with leading AI, data, and software stack.
How We Work
Custom AI workflows for your Business
One-fit-all AI don't work for modern businesses. At Inferensys, we aim to understand your business & custom requirements; which we use to define most efficient agentic workflows, the data, and the tools for your business.
01
Review the use case
We understand the task, the users, and where AI can actually help.
Read more02
Pick the right approach
We define what needs search, automation, or product integration.
Read more03
Build the first useful version
We implement the part that proves the value first.
Read more04
Improve from there
We add the checks and visibility needed to keep it useful.
Read moreThe first call is a practical review of your use case and the right next step.
Talk to Us