Advanced Hypergeometric Probability Calculator

Solve exact, cumulative, and interval probabilities with confidence quickly. Compare expected outcomes and dispersion instantly. Generate charts, exports, and practical sampling insights for decisions.

Calculator Inputs

Reset

Use whole numbers only. Hypergeometric models require a finite population and sampling without replacement.

Plotly Probability Graph

The graph shows the probability mass for every feasible number of observed successes.

Example Data Table

Scenario N K n x Mode Interpretation
Defective items in inspection 50 12 8 3 Exact Probability of finding exactly 3 defectives in 8 checked items.
Survey support responses 120 44 15 6 At least Probability of observing 6 or more supporters in a sample.
Marked cards in a draw 52 4 5 1 At most Probability of drawing no more than 1 marked card.
Qualified applicants screened 80 25 10 2 to 4 Between Probability of selecting between 2 and 4 qualified applicants.

Formula Used

The hypergeometric distribution models the count of successes when you draw from a finite population without replacement.

P(X = x) = [C(K, x) × C(N - K, n - x)] / C(N, n)

Cumulative modes add the exact probabilities across the relevant feasible values of x.

How to Use This Calculator

  1. Enter the total population size.
  2. Enter how many population members count as successes.
  3. Enter the sample size drawn without replacement.
  4. Choose the target number of observed successes.
  5. Select exact, at least, at most, or between mode.
  6. Provide lower and upper limits when using between mode.
  7. Press the calculate button to show results above the form.
  8. Use the CSV or PDF buttons to export your work.

Frequently Asked Questions

1. When should I use a hypergeometric calculator?

Use it when sampling comes from a finite group without replacement. Each draw changes the remaining composition, so probabilities differ from independent binomial trials.

2. What is the difference between hypergeometric and binomial models?

The binomial model assumes independent trials with constant success probability. The hypergeometric model updates the odds after each draw because sampled items are not replaced.

3. Why must the inputs be whole numbers?

Population counts, successes, draws, and observed successes represent actual items. Because combinations use discrete counts, the model works only with nonnegative integers.

4. What does exact probability mean here?

Exact probability returns the chance of observing one specific success count, such as exactly 3 defectives in a sample of 8 inspected items.

5. What do at least and at most options calculate?

At least sums probabilities from the chosen x upward. At most sums probabilities from the minimum feasible value through the chosen x.

6. What does the feasible x range show?

It shows the lowest and highest success counts that can occur with your inputs. Values outside that range always have zero probability.

7. Why are mean and variance useful?

The mean estimates the expected number of successes. The variance and standard deviation describe how much the observed count tends to vary around that expectation.

8. Can I export my calculated results?

Yes. The page includes CSV export for numeric summaries and PDF export for a portable report of the visible results section.

Related Calculators

Markov Chain One-Step Transition CalculatorExpected Value and Variance Calculatorfind z given the sample proportion and sample size calculatorroulette probability calculatorblackjack probability calculatorempirical probability calculatorpoker hand probabilitydiscrete probability calculatortheoretical probability calculatorbayesian probability calculator

Important Note: All the Calculators listed in this site are for educational purpose only and we do not guarentee the accuracy of results. Please do consult with other sources as well.