card probability calculator

Interactive Card Probability Calculator

Calculate draw odds without replacement using the hypergeometric distribution.

Enter your values and click Calculate Probability.

What This Card Probability Calculator Does

This calculator gives you the probability of drawing a certain number of “target” cards from a deck when cards are drawn without replacement. That means once a card is drawn, it is not put back before the next draw. This is the most common setup for poker hands, trading card game opening hands, and many board game mechanics.

You provide:

  • N: total deck size
  • K: number of desired cards in that deck
  • n: cards drawn
  • k: target number of desired cards in your draw

How the Math Works (Hypergeometric Distribution)

The calculator uses the hypergeometric formula:

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

Here, C(a, b) is a combination (“a choose b”). Intuitively, it counts how many ways to choose cards that fit your condition, divided by all possible hands of size n.

Exactly, At Least, and At Most

  • Exactly k: only one outcome (X = k)
  • At least k: sum of outcomes from k to max possible
  • At most k: sum of outcomes from min possible to k

Quick Usage Guide

Example 1: 5-Card Poker, Hearts

If you want the probability of drawing exactly 2 hearts in a 5-card hand:

  • N = 52
  • K = 13 (hearts)
  • n = 5
  • Mode = Exactly
  • k = 2

Example 2: Trading Card Game “Starter” Odds

Suppose your deck has 40 cards, with 9 starter cards, and you draw 5 cards. To find the chance of opening at least 1 starter:

  • N = 40
  • K = 9
  • n = 5
  • Mode = At least
  • k = 1

How to Interpret Results

The output includes both decimal and percentage probability, plus expected successes:

  • Probability: your direct chance for the selected condition
  • Expected successes: average count over many repeated draws
  • Valid success range: mathematically possible values for k

A key reminder: expected value is a long-run average, not a guarantee for a single draw.

Common Strategy Applications

Deck Building

Increase consistency by adjusting the count of key cards (K) or by increasing draw power (n). Small changes can significantly improve “at least one” probabilities.

Risk Management in Games

Use “at most” settings to estimate brick risk (too few useful cards) and “at least” settings to estimate combo access.

Learning Probability Intuition

This calculator is also a practical way to build intuition for sampling without replacement, a core idea in statistics, quality control, and decision science.

Final Tip

If you optimize deck choices, don’t look at one metric alone. Combine: opening-hand probability, mid-game draw odds, and mulligan rules. The best strategy is usually the one that performs reliably across many turns—not just in one ideal hand.

🔗 Related Calculators