Philippines · Maths & Statistics

Slovin's Formula Calculator

The total number of people in the group you are studying.
5% is the usual default. 3% gives a much larger sample; 10% a much smaller one.
Sample size—

Enter your population and margin of error. The calculator returns the sample size with every step of the substitution written out, plus what the figure would be at other margins — which is the question panels ask next.

How do you compute sample size using Slovin's formula?

Slovin's formula is n = N ÷ (1 + N e²), where N is the population size and e is the margin of error as a decimal. For a population of 1,000 at a 5% margin of error, n = 1000 ÷ (1 + 1000 × 0.0025) = 1000 ÷ 3.5 = 285.7, which rounds up to 286 respondents.

How to use this calculator

  1. Define the population preciselyN is the total number of individuals in the group you are studying, not the population of the city. If your study is of Grade 11 students in one school, N is the number of Grade 11 students in that school.
  2. Pick a margin of error you can justify5% is conventional in undergraduate and master's research. 3% produces a substantially larger sample and 10% a much smaller one, and either can be defended if you say why.
  3. Read the substitutionThe working shows each step with your numbers in place. That is what goes into the methodology chapter, not just the final figure.
  4. Look at the sensitivity rowsThe breakdown shows what the sample size would be at other common margins. Panels ask this, and having the answer ready is worth more than the number itself.

How the formula works

Slovin's formula answers one question: given a population of known size, how many responses do I need for a specified margin of error?

The structure tells you a lot. The population appears in both the numerator and the denominator, which is why the sample size does not grow proportionally with the population. Doubling N from 1,000 to 2,000 at a 5% margin takes the sample from 286 to 333 — a 17% increase for a 100% larger population.

Push that further and the reason becomes clear. At 10,000 the sample is 385; at 100,000 it is 398; at a million it is 400. The formula converges. Beyond roughly 20,000 the population size stops mattering almost entirely, which is the single most counter-intuitive and most useful thing about sampling.

The margin of error does the opposite. Because e is squared, halving it from 5% to 2.5% roughly quadruples the sample. That asymmetry — population barely matters, precision matters enormously — is the point worth making in a methodology defence.

Formulan = N ÷ (1 + N e²)

Worked example: a school survey

A study covers all 1,200 senior high school students in one school, at a 5% margin of error.

e² is 0.05², which is 0.0025. N e² is 1,200 × 0.0025 = 3. So n = 1,200 ÷ (1 + 3) = 1,200 ÷ 4 = 300.

Exactly 300 respondents. Had the margin been 3%, e² becomes 0.0009, N e² becomes 1.08, and n = 1,200 ÷ 2.08 = 577 — nearly double the sample for a two-point improvement in precision.

Always round up. A calculation giving 285.7 becomes 286, not 285. Rounding down puts you marginally outside the margin of error you have just told the panel you are working to, which is an easy question to be caught by.

Sample size at a 5% margin

Population (N)Sample (n)Sampling fraction
1008080.0%
50022244.4%
1,00028628.6%
5,0003707.4%
10,0003853.9%
50,0003970.8%
1,000,0004000.04%

The sampling fraction collapses as the population grows while the sample barely moves. This is why national surveys of very different countries use samples of similar size, and why the common intuition that a bigger population needs a proportionally bigger sample is wrong.

When Slovin's formula is the wrong tool

Slovin's is popular in Philippine academic work because it is simple and needs only two inputs. That simplicity is also its limitation, and it is worth knowing where it stops.

It does not incorporate a confidence level explicitly. Most treatments assume 95%, but the formula itself has no term for it, so you cannot use Slovin's to compute a sample at 99% confidence. If your methodology states a confidence level other than 95%, Cochran's formula is the appropriate choice.

It also takes no account of the expected proportion or the variability in the population. Cochran's includes a p(1−p) term precisely for that reason, and it handles unknown or effectively infinite populations, which Slovin's cannot.

And it says nothing about how the sample is drawn. A sample of 300 selected by convenience is not equivalent to 300 selected at random, regardless of what any formula says. The formula gives you a target number; the sampling technique determines whether that number means anything.

For stratified designs, apply the formula to get the total and then allocate proportionally across strata rather than computing each stratum separately.

The origin of the formula is genuinely obscure — it is widely cited in textbooks and rarely traced to a primary statistical source. That is not a reason to avoid it in coursework where it is the expected method, but it is worth knowing if a panel member raises it.

Assumptions and limitations

  • Assumes a 95% confidence level implicitly — there is no term to change it
  • Takes no account of expected proportion or population variability
  • Requires a known, finite population; it cannot handle an unknown or effectively infinite one
  • Assumes simple random sampling — it does not validate a convenience or purposive sample
  • Does not adjust for anticipated non-response, which should be added on top
  • For stratified designs, use it for the overall total and allocate across strata separately

Questions people ask about this in Philippines

How do you compute sample size using Slovin's formula?

Use n = N ÷ (1 + N e²), where N is the population and e is the margin of error as a decimal. For 1,000 people at a 5% margin: e² is 0.0025, N e² is 2.5, so n = 1000 ÷ 3.5 = 285.7, rounded up to 286.

Always round up — rounding down leaves you outside the margin of error you stated.

What margin of error should I use for a thesis?

5% is the conventional default for undergraduate and master's research and is rarely questioned. 3% is appropriate where precision genuinely matters, at the cost of a much larger sample. 10% is defensible for exploratory work if you say so explicitly and justify it.

Why doesn't sample size grow with population?

Because the population appears in both the numerator and the denominator, so the formula converges. At a 5% margin, a population of 10,000 needs 385 and a population of a million needs 400. Beyond about 20,000 the population size stops mattering almost entirely.

What is the difference between Slovin's and Cochran's formula?

Slovin's needs only the population and margin of error, and implicitly assumes 95% confidence. Cochran's adds an explicit confidence level and an expected proportion, and can handle unknown or very large populations. Use Cochran's when your methodology states a confidence level other than 95%.

Should I round the sample size up or down?

Up, always. A result of 285.7 becomes 286. Rounding down gives you fewer respondents than the margin of error requires, which puts your actual precision outside what you have stated in your methodology.

Does Slovin's formula work for stratified sampling?

Use it to determine the overall sample size, then allocate that total across strata proportionally to their share of the population. Applying the formula separately within each stratum overstates the total substantially, because each small stratum pulls a disproportionately large sample.

Method, source and review date

How it is worked out
Slovin's formula for sample size from a finite population
Formula used
n = N ÷ (1 + N e²)
Basis
Standard sample size formula, Slovin method
Last reviewed
Confidence
High

Spotted a figure that has moved, or a formula you can show is wrong? Tell us — send a correction. Fixes to rates and formulas are treated as urgent.

Disclaimer

Grade and score calculations follow the published rules as we understand them, but institutions apply their own variations and change them between intakes. Confirm anything that affects an application with the school, university or examination body itself.