What Is Sample Size?
Sample size (n) is the number of units or observations you collect from a population for a study. It has to be large enough that the sample represents the population and your test can detect the difference you care about. It should be no larger than needed, because every extra unit costs time and money.
Sample size determination is the mathematical estimation of the number of population units considered for the study. In other words, it tells you how many units to put in the sample, the subset of the population you use to make inferences about the population. The sample must be adequate to represent the population.

How Large Should a Data Sample Be?
The sample size is the number of observations collected from a population; it is a subset of the population to make inferences about the population. Moreover, determining sample size is an important element of every survey based on sampling.
When you pick an SS, there will always be a tradeoff between precision and cost. This trade-off depends on:
- The type of data being sampled (continuous or discrete)
- How precise do you want your statistical inferences to be?
- The estimate of the standard deviation for the entire population.
- The confidence level desired.
Sample size needed for hypothesis testing depends on:
- Desired Risk (Both alpha and beta)
- The minimum value to be detected between the population means
- The population variance is the variation in the measured characteristic (S or sigma).
- Population size usually does NOT affect how big the sample needs to be. It matters only when the sample is a large share of a finite population, where a finite population correction applies.
Why Use Data Sampling?
Sometimes trying to gather information on a complete population is too expensive, time-consuming, or nonsensical.
For example, we might take samples when:
- The process we are measuring would require destructive testing (think taste tests, car crash tests, etc.)
- Getting data from the entire population is too expensive or would take longer than we have.
- Getting total population data is just too hard.
For example, CNN’s coverage of an election cycle in the United States makes it impossible to ask every voter how they voted. Even if it were, not all would answer. Instead, they use exit polls to derive statistical conclusions about the population as a whole. In a DMAIC sense, this is most common in the Measure phase.
We would unlikely use sampling when the events and products are unique and cannot be replicable.
To get around these constraints, black belts or statisticians extract the samples from the statistical population and make inferences about the population.
Factors Affecting Sample Size(SS)
In a quantitative study, SS selection depends on the population, the margin of error, the confidence level, and the degree of variability.

Population: Population is the group of elements which has common characteristics. It is a collection of observations we would like to make inferences about.
Sample: A sample is the subset of the population
Margin of Error
The margin of error is a statistic expressing the amount of random sampling error in the results of an experiment. It determines how much higher or lower the population means you are willing to let your sample mean fall. Often margin error is expressed in terms of percentage.
Confidence Level
The Confidence level is the estimated probability that a population estimate lies within a given margin of error. In other words, it tells how confident you want to be that the actual mean falls within your margin of error of the sample mean. The most commonly used confidence levels are 90%, 95%, and 99%.
Degree of variability
The degree of variability is how spread out the values are in the population, measured by the standard deviation (or by p(1 – p) for a proportion). The greater the variance, the larger the sample size.
How to Calculate a Sample Size
Regarding Six Sigma, we are usually trying to determine an appropriate sample size for doing one of two things; estimate an average or a proportion. The equation you use to determine your SS depends on what you’re going to do with that sample.
Either way, the variables are as follows:
n = sample size (what we’re solving for)
d (Sometimes represented as delta or Δ) = precision = the range for an estimate of a characteristic = half the width of a confidence interval.
Precision in this sense can be a bit tricky, so here are a few examples;
- Estimate of a lead time of +/- 4 days
- precision would = 4 days.
- Estimate of a percent rejected +/- 10%
- precision would = 10%
- 95% CI (4,10) for a lead time in hours.
- Estimate of a lead time between 4 and 10 hours
- Width of the confidence interval would be = 10-4 hours = 6 hours
- precision = d = 1/2 of C.I. width = 6/2 = 3 hours
Once you know your precision, your confidence level and either σ or a rough proportion, the free sample size calculator does the math and shows the formula it used.
Sample Size(SS) calculation decision guide
- Sample size determination is the mathematical estimation of the number of population units to be included in the study. It must be adequate to represent the population. The determination should be optimum and has to be obtained by the scientific method.
- If the SS is 30 or more, it is known as a large sample
- For large samples, the sampling distribution of the mean is approximately normal (central limit theorem), so we use the Z distribution
- For small samples (<30) with an unknown σ, use the t distribution for a mean. The F and chi-square distributions are used for variances at any sample size.
- The value of statistics obtained from a large sample can be taken as an estimation of the population parameters.

Sample Size for One Sample, Continuous Outcome

Where n is the SS, Z is the Z score from the desired risk, sigma is the standard deviation, and E is the mean shift, or error.
Example: A Peanut Butter Manufacturer wants to estimate the sugar content in a bottle. In fact, the previous batch of 1000 bottles had a standard deviation of 10 gms. Identify the sample size to estimate the mean is within 4 gms of the population mean with a 95% confidence.
- Margin of error E = 4gm
- Standard deviation = 10gm
First, we need to identify the alpha
Subtract the confidence level (95%) from 1 to get alpha, then divide alpha by two to get α/2
α = 1 – 0.95 = 0.05, so α/2 = 0.05/2 = 0.025
This page uses a cumulative z table: each value is the area to the left of z, which is why the next step looks up 0.975 to get 1.96. If your handbook’s table shows the area from the mean (0 to z), look up 0.475 instead; if it shows the upper tail, look up 0.025.
Next, subtract α/2 from 1 and look that value up in the body of the z table to get the z-score
1-0.025 =0.975
Z-score=1.96

So, Sample size n = (z* σ/E)2 = (1.96* 10/4)2 = 24.01, which rounds up to 25. Always round a sample size up to the next whole number, or the sample will fall slightly short of the precision you asked for.
Also see: https://sphweb.bumc.bu.edu/otlt/mph-modules/bs/bs704_power/BS704_Power3.html
Sample Size for Continuous and Binary Random Variables

Where
n = SS
p̂ is the estimated proportion. If you have no estimate, use 0.5, which gives the largest sample size.
q̂=1- p̂
Example: The expectation is that 20% of employees in the New York area are using Subway. With 90% confidence level, what would be the minimum sample that needs to estimate the population proportion with a maximum permissible difference of 6%?
Sample proportion=0.20
Margin of error E =0.06
90% confidence level α = 1-0.90 = 0.1; Z =1.645
So, SS = p̂ (1- p̂)* (Z/E)2 = 0.2*(1-0.2)* (1.645/0.06)2 = 120.26 =121.
Also, see:
(Cochran’s formula) https://www.statisticshowto.com/probability-and-statistics/find-sample-size/
Sample Size for Known populations (Slovin’s Formula)
Slovin’s formula is used to compute the sample size in a study for a given total population and a margin of error. Slovin’s formula works for simple random sampling. It assumes a known population size, a proportion near 0.5 and about 95% confidence. If those do not hold, use the formula above (Cochran’s formula) with a finite population correction.

Where
n = sample size
N= total population
e=margin of error
Example: Compute the SS for a population of 1200. You need to take a survey about financial problems. While the margin of error is 5%.
Population N =1200
Margin of error E =0.05
So, SS = N/(1+Ne2)= 1200/(1+1200*0.052) =1200/4=300.
SS for Discrete Data
Also see: SS for a Known or Finite Population
https://blog.remesh.ai/how-to-calculate-sample-size
https://www.calculator.net/sample-size-calculator.html
How to Find a SS Given a Confidence Level and Width (known population standard deviation): https://www.statisticshowto.com/probability-and-statistics/find-sample-size/
Also see: SS for an Unknown or Infinite Population
https://www.surveymonkey.com/mp/sample-size-calculator/
Also see: SS for Other Data Types (Nominal, Ordinal, Interval, Ratio)
See:
How to Calculate SS Videos
Formulas for various scenarios

Sample Size and Hypothesis Tests, Designed Experiments
In addition to basic SS calculations, Six Sigma candidates are often required to understand how to calculate appropriate SS for use in hypothesis tests and in Designed Experiments. Here are 2 charts I’ve assembled taken from requirements explicitly stated in the ASQ, IASSC, & Villanova Green Belt and Black Belt BOKs.

When you’re ready, there are a few ways I can help:
First, join 12,000+ other Six Sigma professionals by subscribing to my email newsletter. A short read every Monday to start your work week off correctly. Always free.
* * *
If you’re looking to pass your Six Sigma Yellow Belt, Green Belt or Black Belt exam, I’d recommend starting with my affordable study guide:
1)→ 🟡Pass Your Six Sigma Yellow Belt: built for ASQ, IASSC and ILSSI, 1,700+ practice questions with explanations, and six full-length mock exams for your exam
2)→ 🟢Pass Your Six Sigma Green Belt: a study guide organized by the exam Body of Knowledge, 1,300+ practice questions with detailed answer explanations, and 20 full-length mock exams
3)→ ⚫Pass Your Six Sigma Black Belt: the full Black Belt Body of Knowledge, 2,200+ practice questions with detailed answer explanations, and 20 full-length mock exams
You’ve spent so much effort learning Lean Six Sigma. Why leave passing your certification exam up to chance? This comprehensive study guide offers 1,700+ exam-like questions for Yellow Belts, 1,300+ for Green Belts and 2,200+ for Black Belts with full answer walkthroughs, access to instructors, detailed study material, and more.
Thousands have used this system to prepare. Join them here.
