Card Drawing Probability Calculator

Card Drawing Probability Calculator

Growing AI Skill PRO

Enter Calculation

Formula

P=(Favorablek)(52−Favorablen−k)(52n)P = \frac{\dbinom{\text{Favorable}}{\text{k}} \dbinom{52 - \text{Favorable}}{\text{n} - \text{k}}}{\dbinom{52}{\text{n}}}
Usage stats

Advertisement

Results

Probability
29.9474%
chance of exactly that many successes
Probability (decimal) 0.299474
Odds 1 in 3.34

Report an error on this page

What This Calculator Does

The Card Drawing Probability Calculator finds the chance of drawing exactly a chosen number of specific cards when you deal a hand from a standard 52-card deck. It uses the hypergeometric distribution, the correct model for drawing without replacement, where each card removed changes the composition of the remaining deck. This is the right tool for poker hands, magic and trading card games, and classic probability homework.

How to Use It

Enter three values: the number of favorable cards in the deck (for example, 4 aces or 13 hearts), the number of cards drawn (your hand size, n), and the number of desired successes (k, how many of the favorable cards you want in that hand). The calculator returns the probability as a percentage, as a decimal, and as odds expressed as "1 in X".

The Formula Explained

The hypergeometric probability is $$P = \frac{\dbinom{F}{k} \times \dbinom{52-F}{n-k}}{\dbinom{52}{n}}$$ The numerator counts the favorable hands: choose k of the F favorable cards and fill the remaining n−k slots from the 52−F non-favorable cards. The denominator \(\dbinom{52}{n}\) counts every possible hand of size n. Dividing gives the fraction of hands that contain exactly k successes.

Advertisement
Diagram showing a deck split into favorable and non-favorable cards, with a smaller hand drawn from it
The hypergeometric setup: F favorable cards in a 52-card deck, drawing n cards and getting k favorable ones.

Worked Example

What is the chance of drawing exactly one ace in a 5-card hand? Here F = 4 aces, n = 5, k = 1. The numerator is \(\dbinom{4}{1} \times \dbinom{48}{4} = 4 \times 194{,}580 = 778{,}320\). The denominator is \(\dbinom{52}{5} = 2{,}598{,}960\). So $$P = \frac{778{,}320}{2{,}598{,}960} = 0.29947$$ or about 29.95% — roughly 1 in 3.34.

Interpreting Your Result

The calculator gives the probability of drawing exactly k favorable cards in n draws, not "k or more". A result of 29.95% for exactly 1 ace in 5 cards excludes hands with 0, 2, 3, or 4 aces.

  • At least k: add the exact probabilities for k, k+1, … up to min(F, n). Example: at least 2 aces in 5 cards = P(2) + P(3) + P(4) ≈ 3.993% + 0.174% + 0.002% ≈ 4.17%.
  • At least one: use the complement. \(P(\text{at least 1}) = 1 - P(0)\). For aces in a 5-card hand, \(1 - 0.6588 \approx 0.3412\), or about 34.12%.
  • 1-in-X form: \(X = 1/P\). A probability of 0.2995 is about 1 in 3.34. A 5-card hand of exactly 5 hearts has \(P = 1287/2{,}598{,}960\), about 1 in 2,019.
  • All outcomes sum to 1: the probabilities for every k from 0 to min(F, n) cover all possibilities. For aces in 5 cards, the counts 1,712,304 + 778,320 + 103,776 + 4,512 + 48 equal 2,598,960 hands, so the probabilities sum to exactly 100%.
  • Draws are not independent: the cards are drawn without replacement, so each card removed changes the composition of the remaining deck. After drawing one non-ace, the chance the next card is an ace rises from 4/52 to 4/51. This dependence is why the hypergeometric distribution is used instead of simple repeated-trial multiplication.

These figures describe the mathematics of a well-shuffled standard deck. They do not predict any individual draw.

Advertisement

Definitions and Terms

  • Favorable cards (F): how many cards in the 52-card deck count as a "success", such as 4 aces, 13 hearts, or 12 face cards.
  • Hand size (n): the number of cards drawn (the number of draws).
  • Successes (k): the exact number of favorable cards you want to appear among the n drawn cards.
  • Combination \(C(n,r)\): the number of ways to choose r items from n when order does not matter: $$\binom{n}{r} = \frac{n!}{r!\,(n-r)!}$$ For example, \(\binom{52}{5} = 2{,}598{,}960\).
  • Without replacement: drawn cards are not returned to the deck, so the deck changes after every draw.
  • Hypergeometric vs binomial distribution: the hypergeometric distribution models draws without replacement from a finite population, as with a deck of cards. The binomial distribution models independent trials with a constant success probability, which corresponds to drawing with replacement. The two are close only when the deck is large compared with the number of draws.
  • Odds vs probability: probability is favorable outcomes divided by all outcomes (a value from 0 to 1, or 0% to 100%). Odds compare favorable to unfavorable outcomes. A probability of 0.25 corresponds to odds of 1 to 3, or 1:3.
  • Valid input constraints: \(0 \le F \le 52\); \(0 \le k \le \min(F, n)\); and \(n - k \le 52 - F\), because you cannot draw more non-favorable cards than the deck contains. Also \(0 \le n \le 52\). Inputs outside these limits give a probability of 0.

FAQ

Does this assume cards are not replaced? Yes. Cards are drawn without replacement, which is why the hypergeometric distribution applies rather than the binomial.

What does "exactly" mean here? The result is the probability of getting precisely k successes — not at least k. For "at least" probabilities, sum the results for k, k+1, up to n.

Can I use this for 13 hearts or 12 face cards? Absolutely. Set the favorable cards to any group you define, as long as it is between 0 and 52.

Last updated:

Most popular in Math and Statistics

View all Math and Statistics calculators