Hypergeometric Distribution Calculator

Enter population size, number of success states, and sample size to compute hypergeometric PMF, CDF, mean, and variance instantly.

Parameters

Total number of items in the population.

Number of success states in the population (0 ≤ K ≤ N).

Number of draws without replacement (1 ≤ n ≤ N).

Number of successes observed in the sample.

Distribution Statistics

Mean (Expected value)
Variance
Standard Deviation
Valid k range

Results for k = 2

PMF — P(X = k)
Probability of exactly k successes
CDF — P(X ≤ k)
Probability of at most k successes
P(X ≥ k)
Probability of at least k successes
p = K / N
Population success proportion

Probability Table

All valid k values
k P(X = k) P(X ≤ k)

Summary

Enter population size, number of success states, and sample size to compute hypergeometric PMF, CDF, mean, and variance instantly.

How it works

  1. Enter the population size N (total items in the group).
  2. Enter K, the number of success states in the population.
  3. Enter the sample size n (number of items drawn without replacement).
  4. Enter k, the number of observed successes you want to evaluate.
  5. The calculator instantly shows P(X = k), P(X ≤ k), P(X ≥ k), and distribution statistics.
  6. The probability table lists all possible values of k with their PMF and CDF.

Use cases

Frequently Asked Questions

Related tools

Last updated: 2026-05-23 · Reviewed by Nham Vu