Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Math & Numbers

Hypergeometric Distribution Calculator

· Last updated:2026-05-02

Calculate exact and cumulative probabilities for sampling without replacement

Details

What this tool helps you do

Calculate hypergeometric probabilities when drawing without replacement from a finite population with a known number of successes.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team
Math502

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Math & Numbers
Input types
number, select
Output type
json
Sample coverage
4
API ready
Yes

Overview

The Hypergeometric Distribution Calculator computes the probability of obtaining a specific number of successes in a sequence of draws from a finite population without replacement. It is ideal for statistical analysis in quality control, inventory auditing, and probability modeling where each draw changes the odds of subsequent outcomes.

When to use

  • When calculating probabilities for card games or lotteries where drawn items are not returned to the pool.
  • During quality control inspections to determine the likelihood of finding defective items in a sample batch.
  • In ecological or demographic studies involving capture-recapture methods from a finite population.

How it works

  1. 1Enter the total Population Size and the number of Population Successes (e.g., total items and total target items).
  2. 2Specify the number of Draws (sample size) and the target Observed Successes.
  3. 3Select the Probability Mode to calculate exact, at-most, or at-least probabilities.
  4. 4Adjust the decimal places to generate the precise probability result in JSON format.

Use cases

  • Quality assurance teams testing a random sample of manufactured goods for defects without returning tested items to the batch.
  • Data analysts calculating the exact odds of drawing specific card combinations in poker or trading card games.
  • Auditors reviewing a subset of financial records to estimate the probability of compliance errors in a finite ledger.

Examples

1. Calculating Poker Hand Probabilities

Game Designer

Background

A game designer needs to verify the exact odds of drawing exactly 2 hearts in a standard 5-card poker hand.

Problem

Calculating the exact probability of drawing 2 items from a specific subset of 13 without replacement.

How to use

Set Population Size to 52, Population Successes to 13, Draws to 5, and Observed Successes to 2. Select 'Exactly k Successes'.

{
  "populationSize": 52,
  "populationSuccesses": 13,
  "draws": 5,
  "observedSuccesses": 2,
  "probabilityMode": "exact",
  "decimalPlaces": 4
}

Outcome

The calculator returns an exact probability of 0.2743 (or 27.43%).

2. Batch Defect Inspection

Quality Assurance Manager

Background

A factory produces a batch of 100 widgets, knowing 8 of them are defective. The QA manager tests a random sample of 10 widgets.

Problem

Finding the probability of discovering at least 1 defective widget in the sample.

How to use

Input 100 for Population Size, 8 for Population Successes, 10 for Draws, and 1 for Observed Successes. Change Probability Mode to 'At Least k Successes'.

FAQ

What is the difference between hypergeometric and binomial distributions?

Hypergeometric distribution models sampling without replacement, meaning probabilities change after each draw. Binomial distribution assumes sampling with replacement where probabilities remain constant.

What does 'Population Successes' mean?

It refers to the total number of items in the entire population that match the characteristic you are looking for, such as the total number of winning tickets or defective parts.

Can I calculate cumulative probabilities?

Yes, use the Probability Mode dropdown to select 'At Most k Successes' or 'At Least k Successes' for cumulative results.

What are the limits for population size and draws?

The calculator supports population sizes, successes, draws, and observed successes up to 10,000.

Why must the observed successes be less than or equal to the draws?

You cannot draw more successful items than the total number of items you are drawing from the population.

Home
Tools3212
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

Rust

Web Image Processing Rust Samples

Web Rust image processing examples including image read/save, scaling, and format conversion

Math & Numbers

Antilog Calculator

Calculate antilogarithms for any valid base and optionally verify the result by applying the logarithm again

Math & Numbers

Bayes Theorem Calculator

Calculate posterior probability P(A given B) using prior, likelihood, and false-positive rate

Math & Numbers

Binomial Distribution Calculator

Calculate exact, cumulative, and upper-tail binomial probabilities for independent Bernoulli trials

Math & Numbers

Break-Even Calculator

Calculate the break-even point for a product or business based on fixed costs, variable costs, and price

{
  "populationSize": 100,
  "populationSuccesses": 8,
  "draws": 10,
  "observedSuccesses": 1,
  "probabilityMode": "at-least",
  "decimalPlaces": 4
}

Outcome

The tool calculates the cumulative probability of finding 1 or more defects in the 10-widget sample.