Quantitative Sample Size Calculator UX

Calcula el tamaño de muestra necesario para tu estudio de investigación UX

1. Select methodology

Elige la metodología de investigación que vas a utilizar

Cochran's Formula: Finite Population

Cochran's formula is the statistical standard for calculating sample size when you know the exact size of your population. It includes a finite population correction factor (FPC) that reduces the required sample, optimizing resources without losing precision.

Cochran's formula with finite correctionn = (N × Z² × p × q) / ((N−1) × E² + Z² × p × q)

When to use this formula?

  • You know the exact size of your population (employees, registered users, clients)
  • The population is less than 100,000 individuals
  • Your sample represents more than 5% of the total population (5% rule)
  • You need statistical rigor for publications or critical decisions

Parameters

N
Total population size
Z
Z-value for confidence level (1.96 for 95%)
p
Expected proportion (0.5 if unknown)
q
1 − p (complement of the proportion)
E
Acceptable margin of error (e.g., 0.05 for ±5%)

Practical example

You have 2,000 registered users and want to survey them with 95% confidence and ±5% margin of error.

With Cochran's formula: n = (2,000 × 3.84 × 0.25) / (1,999 × 0.0025 + 3.84 × 0.25) = 323 participants. Without the finite correction you'd need 385.

Simplified Formula: Infinite Population

When the population is unknown or exceeds 100,000 individuals, the finite correction factor has less than 1% impact. In these cases, the simplified formula is used, which does not require knowing the population size.

Simplified formula for infinite populationn = (Z² × p × q) / E²

When to use this formula?

  • You don't know the exact size of your population
  • The population exceeds 100,000 individuals
  • Your sample represents less than 5% of the total population
  • Market research with broad or public audiences

Parameters

Z
Z-value for confidence level (1.96 for 95%)
p
Expected proportion (0.5 if unknown)
q
1 − p (complement of the proportion)
E
Acceptable margin of error (e.g., 0.05 for ±5%)

Practical example

You want to survey users of an app with millions of downloads, with 95% confidence and ±5% margin.

With the simplified formula: n = (3.84 × 0.25) / 0.0025 = 385 participants. This result is independent of the population size.

When to use each formula?

The choice between finite and infinite formula depends on two factors: whether you know your population size and what proportion of it your sample will represent.

  1. Do you know the exact size of your population? If not → use the infinite formula.
  2. Does the population exceed 100,000? If yes → use the infinite formula (the result is practically identical).
  3. Will your sample be more than 5% of the population? If yes → use the finite formula (Cochran) to optimize resources.
  4. When in doubt → use the infinite formula. It always gives an equal or larger sample, which is more conservative.

Quick comparison

CriterionFinite (Cochran)Infinite
Known populationYes, requiredNot necessary
Population size< 100,000> 100,000 or unknown
Sample vs population> 5% of population< 5% of population
Correction factorYes (reduces sample)Not applicable
Typical resultSmaller sample (optimized)Conservative sample
Use caseCompanies, closed communitiesGeneral market, mass apps