Skip to content
CasinoPlayAtlas
Practice & probability

Card Probability Calculator

Independent information · Virtual play, no deposits

The card probability calculator answers a specific question: how many target cards might appear in a random draw without replacement? Enter the deck size, the number of target cards, and the cards drawn. Define the target before calculating. The result concerns card counts, not a complete poker or blackjack outcome.

Card probability calculator: define four inputs

N is the number of cards available before drawing. K is how many of those cards meet your target definition. n is the number drawn. k is the exact number of target cards requested. For a standard deck with no jokers, N is 52. If your targets are aces, K is 4. If they are hearts, K is 13.

The deck must be well mixed for each equally sized selection to have the same chance. A known removed card changes the available population. Count the remaining cards rather than using the original 52 automatically. The model assumes no replacement during the draw. Putting each card back would require a different calculation.

Read the formula

For exactly k targets, the hypergeometric probability is C(K,k) × C(N-K,n-k) / C(N,n). C(a,b) counts how many ways b items can be selected from a items. The numerator counts target selections together with non-target selections. The denominator counts all possible selections of the requested size.

For at least one target, use the complement: 1 minus C(N-K,n)/C(N,n). Counting zero targets is often simpler than adding every possible positive count. If the draw is larger than the supply of non-target cards, zero targets is impossible and at least one has probability one.

Impossible exact counts have probability zero. For example, drawing five aces from a deck with only four aces cannot occur. A sample cannot contain more target cards than its total size.

Two worked examples

QuestionInputsResult
Exactly one ace in five cardsN=52, K=4, n=5, k=1About 29.95%
At least one ace in five cardsN=52, K=4, n=5About 34.12%
Two hearts in two cardsN=52, K=13, n=2, k=2About 5.88%
One named card in one drawN=52, K=1, n=1, k=1About 1.92%

The two-heart result can also be calculated in order: 13/52 × 12/51 = 1/17. The second draw has a different probability because the first heart was removed. Using 13/52 twice would describe replacement and would give the wrong answer here.

Exactly one ace excludes two, three, and four aces. At least one includes those extra cases, which explains why its percentage is larger. Read the requested event carefully before using a result.

Handle known cards and overlapping targets

If one ace is known to be out of the deck, the remaining population is 51 cards with 3 aces. If the removed card is not an ace, there are 51 cards with 4 aces. Those are different questions. A face-up card is not part of an unknown random sample if it is already known.

For a target such as heart or ace, do not add 13 hearts and 4 aces blindly. The ace of hearts belongs to both categories, so the union contains 16 cards. This tool can count that union when you enter K=16, but it does not separately track multiple categories.

The model does not evaluate card order, a flush versus a full house, dealer behavior, or strategic choices. Use it for a single defined target class and use a specialized model for more detailed hand events. Percentages show uncertainty even when the formula is exact.

Common questions

Does the calculator replace each drawn card?

No. It uses a draw without replacement.

Can I use multiple decks?

Yes. Enter the full available card count and matching target count, provided the sampling assumptions still hold.

Is at least one the same as exactly one?

No. At least one also includes every feasible count above one.

Sources and further reading