Deck of Cards: Shuffle, Draw and Deal Online

A virtual deck of 52 playing cards: shuffle, draw a random card or several, or deal hands to up to 10 players. Add two jokers and see what's left in the deck.

A fresh 52-card deck. It's shuffled when you draw or deal.

This is a standard 52-card deck with four suits (spades, hearts, diamonds and clubs) of 13 ranks from ace to king, plus two optional jokers. Draw one or more cards at random, and they stay out of the deck until you shuffle them back, just like a real pack, so the count of cards left is always right. Or switch to Deal hands to shuffle and deal a number of cards to each player, round-robin from the top, as a dealer would. The shuffle is a Fisher–Yates shuffle driven by your browser's cryptographic random generator, so every one of the deck's possible orders is equally likely. There are about 8 × 10^67 of those orders, so a properly shuffled deck is almost certainly in an order no deck has ever been in before. Use it to pick a random card, teach probability, or play a card game when nobody has a pack.

Common use cases

  • Draw a random playing card for a game, trick or prompt
  • Deal hands for a card game when you don't have a pack
  • Teach card probability with a deck that tracks what's been drawn
  • Pick a card for each person in a group without repeats

How to use

  1. Choose Draw cards or Deal hands, and whether to include two jokers.
  2. To draw, enter how many cards and press Draw. The newest card shows first.
  3. To deal, enter the number of players and cards each, then press Shuffle and deal.
  4. Press Shuffle all back in to start again with a full deck.

FAQ

How many cards are in a deck?

A standard deck has 52 cards: 4 suits of 13 cards each (ace, 2 to 10, jack, queen and king). Hearts and diamonds are red, spades and clubs are black. Many decks also include two jokers, which you can add here.

What are the odds of drawing a particular card?

From a full 52-card deck, any one card is a 1 in 52 chance (about 1.9%). Any ace is 4 in 52, or 1 in 13. Any heart is 13 in 52, or 1 in 4. The odds change as cards are drawn, which is why this deck keeps drawn cards out until you shuffle.

How many times should you shuffle a real deck?

Mathematicians Dave Bayer and Persi Diaconis showed that about seven riffle shuffles are needed to mix a 52-card deck well. Fewer leave noticeable patterns. This virtual deck is fully shuffled every time.