Skip to main content
Advantive

The Difference Between WinSPC Subgroup Size, Subrange Size, and Sample Size | WinSPC Tips & Tricks

By Grace Barton Updated
The Difference Between WinSPC Subgroup Size, Subrange Size, and Sample Size | WinSPC Tips & Tricks

What is the difference between subgroup size, subrange size, and sample size in WinSPC? You will find the answer to that question in this article.

The term subgroup size applies to a variable characteristic and controls how many samples (also called data values or individual readings) make up a single plotted point on a control chart (called a ‘subgroup’). The subgroup size can be any whole number (integer) greater than or equal to 1.

If your subgroup size is 2 or greater, you will often use an ‘X-Bar & R’ or ‘X-Bar & S’ control chart when displaying your data. The subgroup plotted on the ‘X-Bar’ chart represents the average of the samples of that subgroup. For an ‘R’ chart (‘Range’ chart), the subgroup represents the range of the samples in the subgroup (the largest sample value minus the smallest sample value). For an ‘S’ chart (‘Standard Deviation’ chart), the subgroup represents the standard deviation of the samples in the subgroup.

WinSPC Means Lower Costs and Higher Quality

WinSPC is software to help manufacturers create the highest quality product for the lowest possible cost. You can learn more here.

If your subgroup size is 1, an ‘X & MR’ chart is commonly used to display the data. On the ‘X’ chart, the subgroup represents each individual sample, while on the ‘MR’ chart (‘Moving Range’ chart), the subgroup represents the range of the values of consecutive subgroups. The number of subgroups taken into account when calculating the moving range value is controlled by the subrange size.

The subrange size must be a whole number that is 2 or greater and is only applicable when the subgroup size is 1. For example, if your subgroup size is 1 and your subrange size is 3, then the plotted value for any subgroup on the ‘MR’ chart is the largest ‘X’ value of the previous 3 ‘X’ subgroups (including the current subgroup) minus the smallest ‘X’ value of the previous 3 ‘X’ subgroups (including the current subgroup).

Both the subgroup size and subrange size (if applicable) affect the statistical and control limit calculations for the variable.

In WinSPC, both the subgroup size and subrange size are configured in the variable setup (properties). A subrange size is only be defined if the subgroup size of 1.

Sample Size

The sample size, on the other hand, controls how many samples (or readings) are taken at a given point in time during the act of data collection.  This is often the same as the subgroup size, but does not have to be.  For example, lets say you measure the width of a part and you have your subgroup size configured to be 3.

You measure a part every hour, and you measure quite a few different characteristics of the part at this time, with just one of them being the width.  In this case, in WinSPC, you could configure the sample size for the width step in your collection plan to be 1, so that after you take the width measurement on the part, the collection plan can then be ready for the next characteristic (i.e., height).  In this example, it would take 3 parts to produce a point on the chart (since your subgroup size is 3).

Alternatively, if instead you took 12 parts off the production line to measure, and your subgroup size was still 3, you might set your sample size to 12.  This would allow you to enter in all 12 samples for width (producing 4 subgroups on the chart) before moving on to the next characteristic.

In WinSPC, the sample size is configured in the collection plan setup (properties) and can vary based on the step in the collection plan (one step in the collection plan can have a different sample size than another step in the same collection plan).

The default sample size for all variable characteristics within collection plans is the same as the variable’s subgroup size.

About DataNet Quality Systems

DataNet Quality Systems empowers manufacturers to improve products, processes, and profitability through real-time statistical software solutions. The company’s vision is to deliver trusted and capable technology solutions that allow manufacturers to create the highest quality product for the lowest possible cost. DataNet’s flagship product, WinSPC, provides statistical decision-making at the point of production and delivers real-time, actionable information to where it is needed most. With over 2500 customers worldwide and distributors across the globe, DataNet is dedicated to delivering a high level of customer service and support, shop-floor expertise, and training in the areas of Continuous Improvement, Six Sigma, and Lean Manufacturing services.

Grace Barton

Marketing Specialist

About the Author Latest Posts

Grace Barton is a digital marketing and competitive intelligence professional who crafts strategic narratives by bridging marketing insights with analytical expertise. At Advantive, she creates engaging, data-driven content tailored to the distribution, manufacturing, packaging, and quality industries. Her goal is to deliver impactful messaging that drives engagement and growth based on specific gap closure needs, whether responding to sales organization requirements, pinpointing gaps in content, or meeting immediate market trends.
She thrives on transforming competitive intelligence into actionable insights for the sales organization. Grace manages Advantive’s competitive intelligence platform, Klue, to equip the sales team with the battlecards and market data they need to stay ahead of competitors. Since launch, she’s built 28+ battlecards across four lines of business, ensuring the GTM strategy stays sharp.
Grace has a passion for leveraging market insights with storytelling to guide strategic decision-making, empower sales organizations, and nurture organizational growth.

Areas of Expertise: Digital Marketing, Competitive Intelligence, Strategic Narratives, Marketing Insights, Analytical Expertise

LinkedIn

Editorial standards

Fact-checking & editorial guidelines

Every article on advantive.com is written and reviewed against an internal accuracy standard before publication. Here's what that means in practice.

  • Product claims are verified by the brand team that owns the platform.

    When an article references InfinityQS, WinSPC, PQ Systems, Pinpoint, ParityFactory, ProPlanner, KiwiPlan, DDI System, VeraCore, or any of Advantive's other specialty platforms, the relevant product team checks technical statements about features, deployment, and current capability before the article goes live.

  • External statistics cite their source inline.

    When an article references industry survey results, regulatory benchmarks, or third-party research, the source is linked at the point of citation. Statements without an inline source link are first-party observations drawn from Advantive's product teams or customer base.

  • Publication and revision dates stay visible.

    The original publication date and the most recent revision date are both shown on every article. Topics that change quickly — AI capabilities, regulatory rules, product roadmaps — are revisited on a tighter cadence than evergreen reference content.

  • Corrections are issued openly.

    If a factual error is reported, the article is updated, the revision date advances, and material corrections are noted at the bottom of the article so readers can see what changed and when.

Found something wrong, or have a citation to add? Get in touch with the editorial team and we'll review it.

Subject-matter review

Reviewed by subject-matter experts

Advantive is a portfolio of 14+ specialty software platforms — each one built and maintained by a product team that has spent years inside a specific manufacturing or distribution discipline. Articles in technical channels are reviewed by the relevant team before publication.

  • Quality & SPC content

    Reviewed by the InfinityQS, WinSPC, and PQ Systems product teams — the platforms behind statistical process control, capability analysis, and gage management deployments across food, automotive, pharma, and CPG manufacturers.

  • Manufacturing operations & MES content

    Reviewed by the PINpoint, ProPlanner, ParityFactory, and VIA Information Tools teams, whose platforms run production scheduling, traceability, and shop-floor execution for discrete, automotive, and food-and-beverage manufacturers.

  • Packaging & converter content

    Reviewed by the KiwiPlan, Abaca, and AdvantZware teams, who build software specifically for corrugated, folding-carton, and packaging-converter operations.

  • Distribution, ERP & B2B commerce content

    Reviewed by the DDI System (inFORM ERP), Distribution One, VeraCore, Pepperi, and Commerce Vision teams, whose platforms run wholesale ERP, fulfillment, field sales, and B2B portals for specialty distributors and 3PLs.

Are you a practitioner with domain expertise to contribute? Get in touch — we accept guest contributions from operators in the industries we serve.