CARD PROBABILITY
The chance of drawing an ace, a face card or a suit from a standard deck, and of every poker hand: the math and what happened in a million dealt hands.
With cards, probability is a simple sum: the cards you want divided by the cards there are. What makes it tricky is knowing how many there are of each kind and whether cards go back in the deck. Here are the answers to the most searched questions, with a standard 52-card deck, next to what happened when we drew over a million cards and dealt a million hands with the random card tool.
One card from a 52-card deck
A standard deck has 52 cards: 4 suits (spades, hearts, diamonds and clubs) of 13 cards each, from ace to king. Drawing one card at random:
| Drawing… | Probability | Measured |
|---|---|---|
| An ace | 1/13 · 7.69% | 7.72% |
| A face card (J, Q or K) | 3/13 · 23.08% | 23.11% |
| A given suit (e.g. spades) | 1/4 · 25.00% | 25.04% |
| A red card | 1/2 · 50.00% | 49.97% |
| An ace or a spade | 4/13 · 30.77% | 30.83% |
| An ace or a king | 2/13 · 15.38% | 15.46% |
| One specific card (the ace of spades) | 1/52 · 1.92% | 1.93% |
For “an ace or a spade” you don't add 4 + 13 = 17: the ace of spades is in both groups and only counts once, so it's 16 cards. The “Measured” column is what came up in 1,040,000 random cards. With the two jokers (54 cards), an ace drops to 4/54, 7.41%.
Several cards in a row, without replacement
If cards don't go back in the deck, there are fewer left each time and the sum changes. The chance of two things in a row is the chance of the first times the chance of the second with what's left:
- Two aces in a row: 4/52 × 3/51 = 1/221, 0.452% (measured on the first two cards of a million hands: 0.452%).
- At least one ace in 5 cards: 1 minus the chance of none, 1 − (48·47·46·45·44)/(52·51·50·49·48) = 34.12% (measured: 34.11%).
- All four aces in a 5-card hand: 48 hands out of 2,598,960, 0.0018%: 1 in 54,145.
With replacement (the card goes back and is shuffled in) every draw is independent: two aces in a row would be (4/52)² = 1/169. The random card tool does both with its “no repeats” option.
Poker hand probabilities
With 5 cards from 52 there are 2,598,960 possible hands. This is the probability of each hand when dealing 5 cards (no draws), next to what came up in a million hands dealt the way the tool does it:
| Hand | Combinations | Probability | 1 in… | Measured |
|---|---|---|---|---|
| Royal flush | 4 | 0.0002% | 649,740 | 0.0000% |
| Straight flush | 36 | 0.0014% | 72,193 | 0.0016% |
| Four of a kind | 624 | 0.0240% | 4,165 | 0.0244% |
| Full house | 3,744 | 0.144% | 694 | 0.145% |
| Flush | 5,108 | 0.197% | 509 | 0.191% |
| Straight | 10,200 | 0.39% | 255 | 0.40% |
| Three of a kind | 54,912 | 2.11% | 47 | 2.08% |
| Two pair | 123,552 | 4.75% | 21 | 4.76% |
| One pair | 1,098,240 | 42.26% | 2.4 | 42.31% |
| High card (nothing) | 1,302,540 | 50.12% | 2.0 | 50.09% |
More than half of all hands have nothing and almost 4 in 10 are one pair. A royal flush comes up once every 649,740 hands: in our million there wasn't one, which is normal (1.5 were expected).
The experiment
The “measured” figures come from 1,040,000 cards drawn one at a time (with replacement) and a million 5-card hands dealt without replacement, each card picked at random from those left, as in the tool. All with the browser's cryptographic generator. The chi-square test gives p-values of 0.803 and 0.332: the differences from theory are ordinary randomness. The full data is in this file; the test of every tool is in is the wheel really random?; and the dice tables are in dice probability.
Frequently asked questions
What is the probability of drawing an ace from a 52-card deck?
It is 4/52 = 1/13, or 7.69%. With two jokers (54 cards) it is 4/54, or 7.41%.
What is the probability of drawing two aces in a row?
Without replacing the first card, 4/52 × 3/51 = 1/221, or 0.452%. If the first card goes back, (4/52)² = 1/169, or 0.592%.
What is the probability of drawing an ace or a spade?
It is 16/52, or 30.77%: the 13 spades plus the other 3 aces (the ace of spades only counts once).
What are the odds of four of a kind in poker?
With 5 cards, 624 of the 2,598,960 possible hands: 0.0240%, 1 in 4,165 hands.
What is the rarest poker hand?
The royal flush: there are only 4 out of 2,598,960 hands, 1 in 649,740.
Are online random cards fair?
This site's cards use the browser's cryptographic generator. Over 1,040,000 cards, aces came up 7.72% of the time against an expected 7.69%.
Keep reading
- Dice probability — 2d6 and 3d6 charts, rolling a 6, doubles, the 7 and the d20 with advantage, with an experiment of a million rolls.
- Is the wheel really random? — We tested it with millions of spins, draws and rolls: how the winner is picked and what the statistics say.