Hypergeometric Calculator: Card Draw Odds for TCG Decks

Quick answer

A hypergeometric calculator gives the exact chance of drawing a set number of wanted cards from a deck without replacement. Enter deck size, copies in the deck, cards drawn and copies wanted. For a 60-card deck with 24 copies and 7 cards drawn, the chance of at least 3 copies is 58.79 percent.

Updated 2026-10-03Reviewed by Prof. Dr. Khalil Mudassar, PhD
Try
Exact card draw odds, sampling without replacement
A whole number from 1 to 1,000. Chips set common sizes: 40, 60, 99 and 100.
How many cards in the deck count as a success. 0 up to the deck size.
Opening hand plus draws. Cannot be more than the deck size.
The smallest number of group A cards you want to see. 0 or more.
A second card group, such as two-drops. Leave blank for one group.
Used only when group B is filled in.
Used for the turn table and mulligans. Magic starts with seven cards.
0 to 6. Applies to group A only. Each new hand is a fresh shuffle of the whole deck.
Used only for the turn table. Sets how many cards you have seen by each turn.

Chance of at least your wanted copies

--
Exactly that many copies--
At most that many copies--
No copies at all--
Average copies seen--
Groups A and B together--
Within your mulligans--

Calculations run in your browser. Inputs are not sent to our servers; anything you Save stays in this browser only.

Saved results (0)

How to Use the Hypergeometric Calculator

  1. Enter the deck size and the number of copies of the card or card type you want. Use a chip for a common deck size.
  2. Enter the cards drawn, which is your opening hand plus every draw so far, and the copies you want at least.
  3. Optionally fill in group B for a second need, add mulligans, and read the turn table below the result.

Here is what each result means:

ResultWhat it means
Chance of at least your wanted copiesThe odds you see k or more group A cards in the cards drawn.
Exactly that many copiesThe odds you see exactly k, no more and no less.
At most that many copiesThe odds you see k or fewer.
No copies at allThe odds you see none. It is the "miss" chance for a single wanted card.
Average copies seenCards drawn times copies divided by deck size. It is an average, not a promise.
Groups A and B togetherThe odds of meeting both needs at once in the same cards.
Within your mulligansThe odds that at least one of your opening hands meets the group A goal.

What Is the Hypergeometric Distribution?

The hypergeometric distribution gives the probability of a number of successes when you draw from a finite set without putting cards back. A shuffled deck is the standard example.

It differs from a coin flip because each card you draw changes what is left. Draw a land and the deck holds fewer lands, so the next card is a little less likely to be one.

Card players use it for opening hands, land counts and "do I draw my combo piece by turn four". Statistics classes use it for lots and quality sampling.

This tool covers one or two card groups. It does not know what a card does, so you decide which cards belong in each group.

How Does the Hypergeometric Calculator Work?

The calculator counts the hands that contain exactly i wanted cards, divides by all possible hands, and adds up the cases you care about.

Formula: P(X = i) = C(K, i) x C(N - K, n - i) / C(N, n)
P(X at least k) = P(X = k) + P(X = k + 1) + ... up to min(K, n)
Here N is the deck size, K is the copies in the deck, n is the cards drawn and C(a, b) counts the ways to choose b cards from a.
  1. Count the ways to pick i wanted cards from the K copies: C(K, i).
  2. Count the ways to fill the rest of the hand from the other N - K cards: C(N - K, n - i).
  3. Divide the product by every possible hand, C(N, n), to get P(X = i).
  4. Add P(X = i) for every i you accept. For "at least k", add from k up to the most you can hold.
  5. For two groups, sum over pairs (i, j) of C(K1, i) x C(K2, j) x C(rest, n - i - j) divided by C(N, n).

The math uses logarithms of factorials, so a deck of 1,000 cards does not overflow. Exact fractions in a reference script agree with the calculator.

Hypergeometric Calculator Example

Take a 60-card deck with 24 copies of a card type, such as lands. You look at 7 cards and want at least 3 of them.

Calculation: add the chances of exactly 3, 4, 5, 6 and 7 copies. Each chance is C(24, i) x C(36, 7 - i) / C(60, 7). The sum is 58.79%. The chance of exactly 3 is 30.87%, and the chance of 2 or fewer is 41.21%.

The expected number of copies in 7 cards is 7 x 24 / 60 = 2.8. So you see fewer than 3 copies about 41.21% of the time, even with this many.

If you allow a mulligan, each new seven-card hand is a fresh shuffle. The chance that at least one of two hands has 3 or more copies is 1 - (1 - 0.5879)^2 = 83.02%, and for three hands it is 93.00%.

For two groups at once, take 24 lands and 8 two-drops in 60 cards after 9 cards. The chance of at least 2 lands and at least 1 two-drop together is 70.11%.

Factors That Change Your Draw Odds

Five inputs decide the answer. Small changes move it more than most players expect.

Deck Size

A bigger deck dilutes every card. Keeping 24 copies but moving from 60 to 100 cards cuts the expected count in seven cards from 2.80 to 1.68.

Copies in the Deck

Each added copy helps less than the one before it. Going from 4 to 8 copies matters more than going from 20 to 24.

Cards Seen

Every extra card seen adds to the chance. This is why the turn table matters: turn 3 on the play is 9 cards seen, and turn 3 on the draw is 10.

How Many Copies You Need

Asking for 3 copies is much harder than asking for 1. Use "at least" for goals and "exactly" only for rare questions.

Mulligans and Card Selection

A mulligan reshuffles the deck, so each new hand is a separate trial. Cards that dig deeper, such as card draw spells, raise cards seen and are not modelled one by one.

Hypergeometric vs Binomial: Why Card Draws Differ

Many calculators use the binomial model, which treats every draw as independent with the same chance. That model is wrong for a deck because cards are not replaced.

Question (60 cards, 4 copies)Hypergeometric (exact)Binomial (wrong model)
At least 1 copy in 7 cards39.95%38.30%
At least 1 copy in 10 cards52.77%49.84%

The binomial figure is lower here because it allows the same copy to show up twice. The gap grows when the deck is small or when you draw many cards. The values in the table were computed with the same code as the tool.

Common Deck Sizes and Where They Come From

The chips use sizes that appear in published rules. Other games and house rules differ, so check your own rulebook.

Deck sizeWhere the size comes from
40Minimum for Magic limited decks (Comprehensive Rules 100.2b).
60Minimum for Magic constructed decks (100.2a). The Pokemon TCG tournament handbook requires exactly 60 for Constructed.
99Magic Commander library after the commander goes to the command zone (903.5a and 903.6).
100Magic Commander deck including its commander (903.5a).

The table lists sizes from the Magic Comprehensive Rules effective 25 September 2026 and the Pokemon TCG tournament handbook revised 1 September 2026. Both were read on 2026-10-03. Rules and formats change, so confirm the current text before an event.

When to Use a Hypergeometric Calculator

Choosing a Land or Energy Count

Set group A to your land or energy count and ask for a number you need by a turn. Compare 22, 24 and 26 and watch how the odds move.

Checking a Key Card

Set copies to 1, 2, 3 or 4 and read the turn table. It shows the turn by which you can expect to have found it at a given confidence.

Planning Two Needs at Once

Use group B to ask for lands and early plays together. The joint chance is always lower than either one alone.

Comparing Dice and Card Odds

Dice rolls are independent. Cards are not. For repeated independent tries, such as a loot drop, read understanding loot drop odds.

Common Hypergeometric Mistakes

1. Counting the Opening Hand Wrong

Cards drawn means every card you have seen. On the play you skip the first draw, so turn 3 is the opening hand plus 2 draws.

2. Using the Binomial Model

It overstates or understates results because it ignores that cards leave the deck.

3. Mixing Up at Least and Exactly

"Exactly 3 lands" is not the same as "3 or more lands". Most goals are "at least".

4. Forgetting Overlapping Groups

A card in both groups counts twice. Group A and group B in this tool must not overlap, and their total cannot be more than the deck size.

5. Treating Odds as a Promise

A 90 percent chance still fails one time in ten. Keep a plan for the bad draw.

Accuracy and Limitations

The math is exact for a fully shuffled deck, and the answer is only as good as your inputs.

What it calculates accurately

  • Exact, at least and at most odds for one card group
  • The joint odds of two separate groups in the same cards
  • A turn-by-turn table for the play or the draw

What it does not account for

  • Card draw, search effects and shuffling tricks that change the deck mid-game
  • Cards put on the bottom after a mulligan, which can remove a copy you wanted
  • Three or more groups at once, or overlapping groups
  • Imperfect shuffling, which real decks can have

The mulligan result treats each new hand as an independent shuffle. It tells you whether a hand meets the goal, not what you keep.

How We Calculate Draw Odds

Method
Exact hypergeometric probabilities from log-factorials. At least and at most are sums of exact terms. Two groups use a double sum.
Inputs used
Deck size, copies, cards drawn, copies wanted, optional group B, opening hand size, mulligans and play or draw order.
Assumptions
The deck is shuffled at random, cards are not replaced and no card effect changes the deck. Mulligan hands are independent.
Rounding
Percentages to two decimals. Tiny values show as under 0.01 percent and near-certain values as over 99.99 percent.
Edge cases
Cards drawn above the deck size, copies above the deck size and group totals above the deck size are blocked. Deck size is limited to 1,000.
Checks
The tool was compared with exact fractions from a reference script on many inputs, and the results agree to many decimals.
Last reviewed
2026-10-03.

To see the idea behind "chance versus odds", read probability vs odds. For counting hands directly, read combinations vs permutations, and for averages read expected value explained.

Hypergeometric Calculator FAQ

How do you calculate the chance of drawing a card?

Use the hypergeometric formula: choose the wanted cards, choose the rest of the hand from the other cards, and divide by all possible hands. For one 4-of in a 60-card deck, the chance of at least 1 copy in 7 cards is 39.95 percent.

What is the chance of at least 3 lands in an opening hand?

With 24 lands in a 60-card deck, it is 58.79 percent in 7 cards. With 17 lands in a 40-card deck it is 64.93 percent. Enter your own deck for your numbers.

What is the difference between hypergeometric and binomial?

The hypergeometric model removes each drawn card from the deck, so odds change with every draw. The binomial model keeps the chance fixed, which suits dice but not decks.

What deck size should I use?

Use your real deck size. Common sizes are 40, 60, 99 and 100, and the chips set them. Magic constructed needs at least 60, limited at least 40, and Commander uses 100 including the commander.

Should I use 99 or 100 for Commander?

Use 99 when the commander is already in the command zone and you draw from the library. Use 100 only if you want to treat the commander as part of the random deck, which does not happen in play.

How do I count cards drawn on the play versus the draw?

On the play you skip the first draw, so turn 1 is your opening hand. On the draw you take one card on turn 1. The turn table follows that rule for you.

How do mulligans change the odds?

Each new hand is a fresh shuffle, so the chance that at least one of several hands works is 1 - (1 - p)^hands. With p of 58.79 percent, two hands give 83.02 percent.

Can I calculate two card types at once?

Yes. Fill in group B for a second type. The tool then shows the chance of meeting both goals in the same cards, which is always lower than either alone.

Why does the average differ from the chance?

The average is cards drawn times copies divided by deck size, such as 2.8 lands in 7 cards. You cannot see 2.8 cards, so the chance of reaching 3 is a separate number.

Does this work for games other than Magic or Pokemon?

Yes, for any game that draws from a shuffled deck without replacement. Enter that deck size and copies. Check your game rules for deck limits, because this page only cites Magic and the Pokemon TCG.

Sources

Related Calculators

Looking for more hobby and game tools?

Explore all hobby calculators

This calculator is for general information and games of chance only. It gives exact odds for a random shuffle and never predicts one draw. Deck sizes shown are common sizes from published rules, so check your own format. Magic: The Gathering is a trademark of Wizards of the Coast. Pokemon is a trademark of Nintendo, Creatures Inc. and GAME FREAK. This tool is not affiliated with or endorsed by any game publisher. Spotted an error? Let us know.

Author

shakeel-Muzaffar
Founder & Editor-in-Chief at  ~ Web ~  More Posts

Shakeel Muzaffar is the Founder and Editor-in-Chief of MultiCalculators.com, bringing over 15 years of experience in digital publishing, product strategy, and online tool development. He leads the platform's editorial vision, ensuring every calculator meets strict standards for accuracy, usability, and real-world value. Shakeel personally oversees content quality, formula verification workflows, and the platform's commitment to publishing tools that are genuinely useful for students, professionals, and everyday users worldwide.