What is a Yamane’s Formula Calculator?
A Yamane formula calculator finds the sample size needed from a finite population using Taro Yamane’s formula, n = N / (1 + N·e²), where N is the population size and e is the margin of error, and rounds the result up. For N = 2,500 and e = 5% it gives 345; for a population of 200 it gives 134. The general form, n = N·z²·p(1 − p) / (N·e² + z²·p(1 − p)), adds a confidence level and an expected proportion.
What the Yamane’s Formula Calculator does
Choose the Simplified or General formula, enter the population size and margin of error (plus the confidence level and expected proportion for the general form), and the calculator returns the rounded-up sample size, the result from the other form for comparison, every arithmetic step, and a table covering margins from 1% to 10% at 90%, 95% and 99% confidence.
The simplified formula appears in Taro Yamane’s Statistics: An Introductory Analysis (2nd ed., 1967) and is algebraically identical to the formula widely known as Slovin’s formula. Its appeal is that it needs only N and e. The general form shows what the simplified version takes for granted: it is the same expression with z²·p(1 − p) set to 1, which happens when p = 0.5 and z = 2. Use the general form when you need to state a confidence level, or when you have a realistic estimate of p.
How to use the Yamane’s Formula Calculator
- Choose Simplified for n = N / (1 + N·e²), or General to control the confidence level and proportion.
- Enter the Population size, N and the Margin of error, e as a percentage (5 for ±5%).
- For the general formula, also enter the Confidence level and the Estimated proportion, p (50% if unknown).
- Read the sample size, compare it with the other form shown beside it, and use the table to explore other margins and confidence levels.
What is Taro Yamane’s formula?
Taro Yamane’s formula is a rule for the minimum sample size needed to estimate a percentage in a finite population: n = N / (1 + N·e²), with N the population size and e the margin of error as a decimal. Taro Yamane, an economist and statistician at New York University, presented it in Statistics: An Introductory Analysis (Harper and Row, 2nd ed., 1967), which is why theses cite it as “Yamane (1967)”, the Taro Yamane formula or the Yamane method, and why it is often called the Yamane 1967 sample size formula.
The method is simple: decide the margin of error you can accept, plug N and e into the formula, and round up. Like any formula of this kind it assumes a simple random sample and a result reported as a proportion. It also levels off as the population grows: at e = 5% the sample never exceeds 400, because n approaches 1 / e² when N is large.
How to calculate Yamane’s formula step by step
To calculate the Yamane sample size for a population of 1,000 at a 5% margin of error:
- Convert the margin of error to a decimal and square it: e = 5% = 0.05, so e² = 0.0025.
- Multiply by the population size: N·e² = 1,000 × 0.0025 = 2.5.
- Add 1: 1 + N·e² = 3.5.
- Divide the population size by that number: n = 1,000 / 3.5 = 285.71.
- Round up, never down, to a whole person: n = 286.
Yamane’s formulas
| Symbol | Meaning |
|---|---|
| n | required sample size (round up) |
| N | population size |
| e | margin of error as a decimal (5% = 0.05) |
| z | critical value for the confidence level (1.96 for 95%) |
| p | expected proportion (0.5 if unknown) |
Setting z²·p(1 − p) = 1 in the general form gives N / (N·e² + 1), the simplified formula. With p = 0.5, z²·p(1 − p) = 1 requires z = 2, so the simplified formula corresponds to about 95.45% confidence. With the conventional z = 1.96 the factor is 0.9604, which is why the general form at 95% gives a slightly smaller n.
The n₀ version shows that the general form is Cochran’s large-population formula followed by the correction n₀ / (1 + n₀ / N). Cochran’s textbook uses n₀ / [1 + (n₀ − 1) / N], which differs by at most a unit or so.
Sources: Yamane, T. (1967), Statistics: An Introductory Analysis, 2nd ed., Harper and Row; Israel, G. D. (1992), Determining Sample Size, University of Florida IFAS Extension, Fact Sheet PEOD-6; Cochran, W. G. (1977), Sampling Techniques, 3rd ed., Wiley; Tejada, J. J., & Punzalan, J. R. B. (2012), “On the misuse of Slovin’s formula”, The Philippine Statistician, 61(1), 129–136.
Worked example
Worked example: households in a district
Problem. A district has 2,500 households. A researcher wants a ±5% margin of error. Find the sample size with Yamane’s simplified formula, then with the general form at 95% confidence and p = 50%.
- 01Simplified: N·e² = 2,500 × 0.0025 = 6.25, so n = 2,500 / (1 + 6.25) = 2,500 / 7.25 = 344.8276, rounded up to 345.
- 02General: at 95% confidence z = 1.959964, so z²·p(1 − p) = 1.959964² × 0.5 × 0.5 = 0.960365.
- 03n = 2,500 × 0.960365 / (6.25 + 0.960365) = 2,400.9118 / 7.2104 = 332.9806, rounded up to 333.
Answer. The simplified formula asks for 345 households and the general form at 95% confidence asks for 333. The gap of 12 comes entirely from the simplified formula’s hidden z = 2 instead of 1.96.
Yamane sample size table at a 5% margin of error
What is the sample size for a population of 200? With e = 5%, N·e² = 200 × 0.0025 = 0.5, so n = 200 / 1.5 = 133.33, which rounds up to 134. The table repeats the calculation for other population sizes and adds the general form at 95% and 99% confidence (p = 50%).
| Population size, N | n (unrounded) | Yamane sample, n | Share of population | General, 95% | General, 99% |
|---|---|---|---|---|---|
| 50 | 44.44 | 45 | 90% | 45 | 47 |
| 100 | 80.00 | 80 | 80% | 80 | 87 |
| 200 | 133.33 | 134 | 67% | 132 | 154 |
| 300 | 171.43 | 172 | 57.3% | 169 | 207 |
| 400 | 200.00 | 200 | 50% | 196 | 250 |
| 500 | 222.22 | 223 | 44.6% | 218 | 286 |
| 1,000 | 285.71 | 286 | 28.6% | 278 | 399 |
| 2,000 | 333.33 | 334 | 16.7% | 323 | 499 |
| 5,000 | 370.37 | 371 | 7.4% | 357 | 586 |
| 10,000 | 384.62 | 385 | 3.9% | 370 | 623 |
| 100,000 | 398.41 | 399 | 0.4% | 383 | 660 |
| 1,000,000 | 399.84 | 400 | < 0.1% | 384 | 664 |
Yamane sample sizes by margin of error
Rounded-up sample sizes from the simplified formula. Pick a row for your margin of error and a column for your population size. Halving e roughly quadruples the sample once N is large.
| Margin of error | N = 100 | N = 500 | N = 1,000 | N = 5,000 | N = 10,000 | N = 100,000 |
|---|---|---|---|---|---|---|
| 1% | 100 | 477 | 910 | 3,334 | 5,000 | 9,091 |
| 2% | 97 | 417 | 715 | 1,667 | 2,000 | 2,440 |
| 3% | 92 | 345 | 527 | 910 | 1,000 | 1,099 |
| 5% | 80 | 223 | 286 | 371 | 385 | 399 |
| 10% | 50 | 84 | 91 | 99 | 100 | 100 |
Simplified or general: which Yamane formula should you use?
Both formulas assume a simple random sample from a finite population and an estimate that is a proportion. They differ only in how much they let you specify.
| Simplified | General | |
|---|---|---|
| Inputs | N and e | N, e, confidence level, p |
| Confidence level | Fixed, about 95.45% | Any (90%, 95%, 99%, …) |
| Expected proportion | Fixed at 0.5 | Your estimate (0.5 is safest) |
| N = 2,500, e = 5% | 345 | 333 at 95%, 525 at 99% |
| Best for | Quick estimates and course work that requires it | Proposals and reports that must state their assumptions |
Yamane vs Slovin vs Cochran: are they the same formula?
Yes. Yamane’s simplified formula and Slovin’s formula are the same expression, n = N / (1 + N·e²), and give identical answers. Slovin’s version is usually credited to “Slovin (1960)”, but no original publication has been traced, so many supervisors prefer the citable Yamane (1967). Cochran’s formula reaches the same kind of answer but lets you choose the confidence level and the expected proportion; with z = 1.96 it gives slightly smaller samples.
| Yamane (simplified) | Slovin | Cochran | |
|---|---|---|---|
| Formula | n = N / (1 + N·e²) | n = N / (1 + N·e²) | n₀ = z²p(1 − p) / e², then n = n₀ / [1 + (n₀ − 1) / N] |
| Published source | Yamane (1967) textbook | Not traced | Cochran (1977) textbook |
| Confidence level | Fixed, about 95% | Fixed, about 95% | Any |
| N = 1,000, e = 5% | 286 | 286 | 278 |
| N = 10,000, e = 5% | 385 | 385 | 370 |
How to report Yamane’s formula in a thesis
State the formula, the inputs and what the formula assumes. A sentence you can adapt:
“The sample size was determined with Taro Yamane’s formula, n = N / (1 + N·e²) (Yamane, 1967), for a population of 2,500 households and a margin of error of 5%, giving n = 344.83, rounded up to 345. The formula assumes simple random sampling, about 95% confidence and p = 0.5.”
If you expect some people not to respond, divide by the expected response rate and invite that many: 345 completed responses at a 75% response rate means inviting 345 / 0.75 = 460 households.
How to calculate Yamane’s formula in Excel or Google Sheets
Put the population size in cell A2 and the margin of error as a decimal in B2 (0.05 for 5%), then enter =ROUNDUP(A2/(1+A2*B2^2),0). For N = 2,500 and e = 0.05 the cell shows 345. For the general form at 95% confidence with p in C2, use =ROUNDUP(A2*NORM.S.INV(0.975)^2*C2*(1-C2)/(A2*B2^2+NORM.S.INV(0.975)^2*C2*(1-C2)),0), which gives 333 for p = 0.5.
Common use cases
- Research proposals and theses that cite Yamane (1967) for the sample size of a survey.
- Household, school or employee surveys of a population with a known size.
- Sensitivity checks: see how the sample size changes between 90%, 95% and 99% confidence before committing to a budget.
- Reconciling methods: show that the Slovin, Yamane and Cochran approaches give nearly the same answer under the same assumptions.
Assumptions and limitations
- Both forms assume simple random sampling. Cluster or multistage designs need a larger sample (multiply by the design effect).
- They size the estimate of one proportion. For a mean, a comparison between groups or a hypothesis test, use a formula based on the standard deviation or a power analysis, as in the sample size calculator.
- The simplified form cannot express any confidence level other than about 95%. If a reviewer asks for 99% confidence, switch to the general form or to Cochran’s formula.
- Neither form allows for non-response. Divide the result by the expected response rate to get the number of people to contact.
Frequently asked questions
What is Yamane’s formula?
How do you calculate Yamane’s formula?
What is the sample size of a population of 200 using Yamane’s formula?
Is Yamane’s formula the same as Slovin’s formula?
What confidence level does Yamane’s simplified formula assume?
When should I use the general Yamane formula?
How do I calculate Yamane’s sample size for a population of 400?
Cite this page
Statculator. (2026, November 14). Yamane’s Formula Calculator. Retrieved November 14, 2026, from https://statculator.com/sample-size/yamanes-formula-calculator/