How to Use the Card Draw Simulator
- A shuffled deck is ready when the page opens. Choose the number of decks and whether to include jokers.
- Draw cards: set how many and click Draw, or use a quick deal button for poker, blackjack or bridge.
- Keep drawing: cards you've drawn are removed from the deck, so you'll never see the same card twice from a single deck until you shuffle.
- Watch the odds: the panel shows how many cards are left and the chance that the next card is an ace or a red card.
- Shuffle a new deck whenever you want to start again. Every draw is saved in the history.
A Standard Deck of Cards
A standard deck has 52 cards in four suits: spades ♠ and clubs ♣ (black), and hearts ♥ and diamonds ♦ (red). Each suit has 13 ranks: Ace, 2 to 10, Jack, Queen and King. Many decks also include two jokers, used as wild cards in some games. The shuffling uses a cryptographically secure Fisher–Yates shuffle, so every one of the 52! possible orders (about 8 × 1067, a number with 68 digits) is equally likely. That's so many that a properly shuffled deck is almost certainly in an order that has never existed before in history.
Card Probabilities
| Drawing one card from a full deck | Probability |
|---|---|
| A specific card (e.g. the Ace of Spades) | 1 in 52 (1.9%) |
| Any Ace | 4 in 52 = 1 in 13 (7.7%) |
| A heart | 13 in 52 = 1 in 4 (25%) |
| A red card | 26 in 52 = 1 in 2 (50%) |
| A face card (J, Q, K) | 12 in 52 (23.1%) |
| Blackjack in two cards (Ace + 10-value card) | about 4.8% |
When you draw without replacement, the odds change after every card. If the first card is an ace, only 3 aces remain among 51 cards, so the chance of another ace drops to 5.9%. This is the principle behind card counting in blackjack. With replacement ticked, each card goes back in the deck, and every draw has the same odds.
Poker Hand Rankings
When you draw exactly five cards (without jokers), the simulator tells you the poker hand. From best to worst, with the chance of being dealt each in five random cards:
| Hand | Example | Probability |
|---|---|---|
| Royal flush | A K Q J 10, same suit | 0.00015% |
| Straight flush | 9 8 7 6 5, same suit | 0.0014% |
| Four of a kind | Q Q Q Q 3 | 0.024% |
| Full house | 8 8 8 K K | 0.14% |
| Flush | Five of one suit | 0.20% |
| Straight | 7 6 5 4 3, mixed suits | 0.39% |
| Three of a kind | 5 5 5 J 2 | 2.1% |
| Two pair | 10 10 4 4 A | 4.8% |
| One pair | 9 9 K 6 2 | 42.3% |
| High card | None of the above | 50.1% |
Uses for a Virtual Deck
- Card games without cards: play solitaire-style games, war or snap when you've no deck to hand.
- Teaching probability: run experiments with and without replacement, and compare results with theory.
- Poker practice: deal random hands to practise recognising hands and odds.
- Magic and mentalism: practise predictions with a truly random card.
- Random decisions: assign meanings to suits or colours and draw a card.
Every card you draw is also recorded in the history panel, so you can review a whole game or experiment afterwards.
You can also combine up to eight decks, which is useful for simulating casino blackjack shoes and multi-deck card games.
Frequently Asked Questions
Is the shuffle truly random?
Yes. It uses a Fisher–Yates shuffle with your browser's secure random generator, so every order is equally likely.
What does "with replacement" mean?
Each drawn card is returned to the deck, so it can be drawn again and the odds never change.
Can I use more than one deck?
Yes, up to 8 decks shuffled together, like a casino blackjack shoe.
How many cards are in a deck with jokers?
54: the standard 52 plus 2 jokers.
What are the odds of a royal flush?
1 in 649,740 for five random cards, which is about 0.00015%.