Slovin’s Formula Calculator
Enter the population size and margin of error to get the sample size from Slovin’s formula, n = N / (1 + Ne²), also known as Yamane’s formula. The page shows each step, a sentence for your methods chapter, a table for common population sizes and a split of the sample across groups for stratified sampling. Calculations run in your browser; nothing you enter is sent or stored.
Slovin sample size
respondents
- Formula before rounding
- 285.71
- Large-population limit, 1 / e²
- 400
- Implied confidence
- about 95%
- z = 2 and p = 0.5, fixed by the formula
- n = 1,000 ÷ (1 + 1,000 × 0.05²)
- = 1,000 ÷ 3.5 = 285.71 → 286 (rounded up)
To choose the confidence level or proportion yourself, use Cochran’s formula or the Krejcie and Morgan table.
Methods statement
The sample size was computed with Slovin’s formula, n = N / (1 + Ne²) (Yamane, 1967), for a population of N = 1,000 and a margin of error of e = 0.05. This gives n = 285.71, rounded up to 286 respondents.
Split the sample across groups (proportional allocation)
For stratified sampling, list each group and its size, one per line. Each group gets n × group size ÷ N, rounded so the parts add up to 286.
Format: name, size. Example: Grade 7, 320
| Group | Size | Share | Sample |
|---|---|---|---|
| Grade 7 | 320 | 32.0% | 92 |
| Grade 8 | 290 | 29.0% | 83 |
| Grade 9 | 210 | 21.0% | 60 |
| Grade 10 | 180 | 18.0% | 51 |
| Total | 1,000 | 100% | 286 |
The groups add up to 1,000, not the population of the calculator above. The sample of 286 is still split in proportion to the group sizes.
Slovin’s formula table
Sample size n for population sizes from 50 to 1,000,000 at six margins of error, rounded up. The highlighted cell is the one for your population and margin.
| Population N | ±2% | ±3% | ±4% | ±5% | ±7% | ±10% |
|---|---|---|---|---|---|---|
| 50 | 50 | 48 | 47 | 45 | 41 | 34 |
| 100 | 97 | 92 | 87 | 80 | 68 | 50 |
| 150 | 142 | 133 | 121 | 110 | 87 | 60 |
| 200 | 186 | 170 | 152 | 134 | 102 | 67 |
| 250 | 228 | 205 | 179 | 154 | 113 | 72 |
| 300 | 268 | 237 | 203 | 172 | 122 | 75 |
| 350 | 308 | 267 | 225 | 187 | 129 | 78 |
| 400 | 345 | 295 | 244 | 200 | 136 | 80 |
| 450 | 382 | 321 | 262 | 212 | 141 | 82 |
| 500 | 417 | 345 | 278 | 223 | 145 | 84 |
| 600 | 484 | 390 | 307 | 240 | 153 | 86 |
| 700 | 547 | 430 | 331 | 255 | 159 | 88 |
| 800 | 607 | 466 | 351 | 267 | 163 | 89 |
| 900 | 662 | 498 | 369 | 277 | 167 | 90 |
| 1,000 | 715 | 527 | 385 | 286 | 170 | 91 |
| 1,500 | 938 | 639 | 442 | 316 | 180 | 94 |
| 2,000 | 1,112 | 715 | 477 | 334 | 186 | 96 |
| 2,500 | 1,250 | 770 | 500 | 345 | 189 | 97 |
| 3,000 | 1,364 | 811 | 518 | 353 | 192 | 97 |
| 3,500 | 1,459 | 844 | 531 | 359 | 193 | 98 |
| 4,000 | 1,539 | 870 | 541 | 364 | 195 | 98 |
| 4,500 | 1,608 | 892 | 549 | 368 | 196 | 98 |
| 5,000 | 1,667 | 910 | 556 | 371 | 197 | 99 |
| 6,000 | 1,765 | 938 | 567 | 375 | 198 | 99 |
| 7,000 | 1,843 | 959 | 574 | 379 | 199 | 99 |
| 8,000 | 1,905 | 976 | 580 | 381 | 200 | 99 |
| 9,000 | 1,957 | 990 | 585 | 383 | 200 | 99 |
| 10,000 | 2,000 | 1,000 | 589 | 385 | 200 | 100 |
| 15,000 | 2,143 | 1,035 | 600 | 390 | 202 | 100 |
| 20,000 | 2,223 | 1,053 | 607 | 393 | 203 | 100 |
| 25,000 | 2,273 | 1,064 | 610 | 394 | 203 | 100 |
| 50,000 | 2,381 | 1,087 | 618 | 397 | 204 | 100 |
| 100,000 | 2,440 | 1,099 | 622 | 399 | 204 | 100 |
| 500,000 | 2,488 | 1,109 | 625 | 400 | 204 | 100 |
| 1,000,000 | 2,494 | 1,110 | 625 | 400 | 205 | 100 |
Slovin’s formula
n = N / (1 + Ne²)
- n is the sample size: the number of completed responses you need.
- N is the population size: everyone you could sample from, such as all 1,200 students of a school.
- e is the margin of error as a decimal: 0.05 for ±5%, 0.03 for ±3%, 0.10 for ±10%.
Square the margin of error, multiply it by the population, add 1, and divide the population by the result. Round up to the next whole person. The formula works for any population size, but the answer levels off at 1 / e² for large populations: 400 respondents at ±5%.
Worked example
A researcher wants to survey teachers in a division with 1,000 teachers, with a margin of error of 5%.
n = N / (1 + Ne²) n = 1,000 / (1 + 1,000 × 0.05²) n = 1,000 / (1 + 1,000 × 0.0025) n = 1,000 / (1 + 2.5) n = 1,000 / 3.5 n = 285.71 → 286 teachers
If the teachers come from four schools of 400, 300, 200 and 100, proportional allocation gives 114, 86, 57 and 29 respondents, which add up to 286. Use the group split under the calculator to do this for your own strata.
When to use it, and when not to
Slovin’s formula answers one narrow question: how many people to sample to estimate a percentage, such as the share of students who agree with a statement, within ±e. It is reasonable when:
- you know the population size and can draw a random or stratified random sample from a list;
- the main result is a percentage or a mean score on a questionnaire;
- your school or adviser expects Slovin, which is common for theses in the Philippines.
Do not use it to size an experiment, compare groups, test a hypothesis or fit a regression model. Those need a power analysis, because the question is whether a real effect would be detected, not how precise a percentage is. It also does not apply to convenience, snowball or purposive samples, or to qualitative studies.
Slovin vs Cochran vs Krejcie and Morgan
Slovin’s formula is a shortcut for Cochran’s formula with the finite population correction. Setting z = 2 and p = 0.5 in Cochran’s formula gives almost exactly N / (1 + Ne²). Cochran and the Krejcie and Morgan table use z = 1.96 for 95% confidence, so they give slightly smaller samples. At ±5%:
| Population N | Slovin | Cochran (95%) | Krejcie and Morgan |
|---|---|---|---|
| 100 | 80 | 80 | 80 |
| 500 | 223 | 218 | 217 |
| 1,000 | 286 | 278 | 278 |
| 5,000 | 371 | 357 | 357 |
| 10,000 | 385 | 370 | 370 |
| 100,000 | 399 | 383 | 383 |
Any of the three is acceptable for a simple survey. Pick the one your field or adviser expects, report it with its assumptions, and do not switch formulas to get a smaller number.
How to report it in your methods
Name the formula, the population, the margin of error and the result. If you plan for non-response, also give the response rate you assumed and the number invited. For example:
The sample size was computed with Slovin’s formula, n = N / (1 + Ne²) (Yamane, 1967), for a population of N = 1,000 and a margin of error of e = 0.05. This gives n = 285.71, rounded up to 286 respondents, who were allocated proportionally to the four schools.
Reference: Yamane, T. (1967). Statistics: An introductory analysis (2nd ed.). Harper and Row.
Frequently asked questions
- What is Slovin’s formula?
- Slovin’s formula, n = N / (1 + Ne²), gives the sample size n for a population of size N and a margin of error e. With N = 1,000 and e = 0.05, n = 1,000 / (1 + 1,000 × 0.0025) = 1,000 / 3.5 = 285.7, which is rounded up to 286 respondents.
- Is Slovin’s formula the same as Yamane’s formula?
- Yes. The formula n = N / (1 + Ne²) is called Slovin’s formula in the Philippines and parts of Southeast Asia and Yamane’s formula elsewhere, after Taro Yamane’s 1967 textbook Statistics: An Introductory Analysis. Both names give the same numbers.
- What margin of error should I use with Slovin’s formula?
- Most theses and surveys use e = 0.05 (±5%). Use 0.03 when the result must be more precise and 0.10 only for a rough pilot or classroom study. The margin is the precision of a percentage estimated from the sample, not the risk of a wrong conclusion.
- What confidence level does Slovin’s formula assume?
- The formula has no confidence level in it, but it gives the same result as Cochran’s formula with z = 2 (about 95.4% confidence) and p = 0.5, apart from a small finite population term. So it implicitly assumes roughly 95% confidence and the most conservative proportion. If you need 90% or 99% confidence, use Cochran’s formula instead.
- Do I round the Slovin result up or to the nearest whole number?
- Round up. A sample is a count of people, and rounding down would give slightly less precision than the margin you chose. For N = 1,000 and e = 0.05 the formula gives 285.71, so the sample is 286.
- Why does the Slovin sample size stop growing for large populations?
- As N grows, N / (1 + Ne²) approaches 1 / e². At e = 0.05 the limit is 400, at e = 0.03 it is about 1,111 and at e = 0.10 it is 100. A city of a million people needs barely more respondents than a town of 10,000 (399 versus 385 at ±5%).
- Who was Slovin?
- Nobody knows for certain. The formula is often cited as Slovin (1960), but no original paper by a Slovin has been traced, and Tejada and Punzalan (2012) found no reliable source for the name. Cite Yamane (1967) for the formula, and say that it is also known as Slovin’s formula.
- Why do statisticians criticise Slovin’s formula?
- Because it hides its assumptions. It only applies to estimating a proportion from a simple random sample, it fixes the confidence level and proportion, and it says nothing about statistical power. It is often misused to size experiments, group comparisons or regression models, which need a power analysis instead.
- Can I use Slovin’s formula with stratified sampling?
- Yes. Compute the total sample with the formula, then allocate it to each stratum in proportion to its size: n_h = n × N_h / N. The calculator above does this split for you and rounds the parts so they add up to the total. Then draw a random sample inside each stratum.
- How does Slovin compare with Krejcie and Morgan and Cochran?
- For N = 1,000 at ±5%, Slovin gives 286, while Cochran’s formula with the finite population correction and the Krejcie and Morgan table both give 278. For very large populations Slovin gives 400 and the other two about 384. Slovin is slightly larger because it uses z = 2 instead of 1.96.
- How do I cite Slovin’s formula?
- Yamane, T. (1967). Statistics: An introductory analysis (2nd ed.). Harper and Row. In the text, write for example: the sample size was computed with Slovin’s formula (Yamane, 1967).
- Does the sample size from Slovin’s formula include non-response?
- No. n is the number of completed responses you need. Divide it by the response rate you expect to get the number of people to invite: 286 completed responses at a 70% response rate means inviting about 409 people.
Sources
- Yamane T. Statistics: An Introductory Analysis. 2nd ed. New York: Harper and Row; 1967. The usual citation for n = N / (1 + Ne²).
- Tejada JJ, Punzalan JRB. On the misuse of Slovin’s formula. The Philippine Statistician. 2012;61(1):129–136.
- Israel GD. Determining Sample Size (PEOD6). University of Florida IFAS Extension.
- Cochran WG. Sampling Techniques. 3rd ed. New York: John Wiley & Sons; 1977.
Content updated 3 December 2026. Every value in the table is computed from the formula and rounded up; our tests check it against an independent calculation.