Beginner

Card Probability Calculator

Compute the probability of drawing a given number of favorable cards from a deck when sampling without replacement.
Total cards in the deck
Cards that count as a success
Cards drawn without replacement
Exact favorable cards wanted
Probability of at least one favorable card
34.116%

Chance of drawing one or more favorable cards

4

favorable

Favorable cards

7.7%

Other cards

92.3%

P(exactly k)
29.947%
P(at least one)
34.116%
P(none)
65.884%
Expected favorable drawn
0.385
Total possible hands
2,598,960
Step by step
  1. 1

    Total possible hands C(N, n)

    C(52, 5) = 2,598,960
  2. 2

    Hands with no favorable card C(N−K, n)

    C(48, 5) = 1,712,304
  3. 3

    P(none) = C(N−K, n) ÷ C(N, n)

    1,712,304 ÷ 2,598,960 = 0.658842
  4. 4

    P(at least one) = 1 − P(none), as %

    (1 − 0.658842) × 100 = 34.116
    Complement rule: P(at least one) = 1 − P(none of the favorable cards are drawn).
Results are estimates for general information only and are not professional advice — always verify important results independently before relying on them. Read the full disclaimer.
Quick answer

How does this calculator work?

For a deck of N cards with K favorable ones, drawing n without replacement, the chance of exactly k favorable cards is C(K,k)·C(N−K,n−k)/C(N,n), and the chance of at least one is 1−C(N−K,n)/C(N,n). Enter your deck size, favorable count, draws, and desired number to get both odds instantly.

Formula
P(exactly k) = C(K,k)·C(N−K,n−k) / C(N,n); P(at least one) = 1 − C(N−K,n) / C(N,n)
How this is calculated

You describe a deck of N cards containing K favorable (success) cards, then draw n cards without replacement and ask about getting exactly k of the favorable cards. This is the hypergeometric distribution. The probability of exactly k successes is C(K,k)·C(N−K,n−k)/C(N,n): choose which k favorable cards appear, choose the remaining n−k from the N−K non-favorable cards, and divide by the total ways to choose n cards from N.

The probability of at least one favorable card is found via the complement: P(at least one) = 1 − P(none) = 1 − C(N−K,n)/C(N,n), since "none" means all n draws come from the N−K non-favorable cards. The expected number of favorable cards drawn equals n·(K/N). Binomial coefficients are evaluated through a log-gamma (Lanczos) approximation so large decks like a 52-card deck stay numerically stable.

All inputs are rounded to whole cards. The calculator requires N ≥ 1 with 0 ≤ K ≤ N and 0 ≤ n ≤ N; impossible requests (for example k greater than K, or needing more non-favorable cards than exist) yield a probability of zero. Probabilities are clamped to the [0, 1] range to absorb tiny floating-point error.

Frequently asked questions

Each card drawn is kept out of the deck, so later draws have fewer cards. This is the standard model for dealing a hand and uses the hypergeometric distribution rather than the binomial.

Set N = 52, K = 4 (the aces), n = 5, and read the "P(at least one)" value, which is about 34.1%.

It is zero whenever the request is impossible — for instance asking for more successes than there are favorable cards, or needing more non-favorable cards than the deck contains.

Also known as

card probability
card draw probability
deck of cards odds
poker probability
drawing without replacement
52 card odds
playing card probability
hand probability

APA

TG we-Calculate Editorial Team. (2026). Card Probability Calculator [Online calculator]. TG we-Calculate. https://we-calculate.com/calculator/card-probability-calculator

Chicago

TG we-Calculate Editorial Team. "Card Probability Calculator." TG we-Calculate. 2026. https://we-calculate.com/calculator/card-probability-calculator.

IEEE

TG we-Calculate Editorial Team, "Card Probability Calculator," TG we-Calculate, 2026. [Online]. Available: https://we-calculate.com/calculator/card-probability-calculator

BibTeX

@misc{wecalculate_card_probability_calculator, title = {Card Probability Calculator}, author = {{TG we-Calculate Editorial Team}}, howpublished = {\url{https://we-calculate.com/calculator/card-probability-calculator}}, year = {2026}, note = {TG we-Calculate} }

Did this calculator help you?