Card draw probability calculator

Drawing 5 cards from a 52-card deck that holds 4 aces, the chance of exactly 1 ace is 29.95% and the chance of at least one is 34.12%.

Find the chance of drawing exactly k marked cards from a deck without replacement.

Privacy: runs in your browser

This tool processes your input in this browser. Inputs and results are excluded from analytics. Draft saving is optional and stays on this device; delete saved text with the draft controls. Loading text from a URL is optional and contacts that server; its URL and your IP address are visible to the server. When a button sends your result to another tool, it waits in this tab until that tool opens it, for up to a minute, and is then deleted.

Copy link includes the inputs you choose to share in the address. Anyone with that link can reopen them. Files and generated results are excluded. Password and key tools share settings only.

More options

Answer

…

More results
Compare with other numbers

Save the current answer, then change an input to compare. This clears when you leave.

Rounding and decimal places

Rounding changes how numbers are shown, not how they are calculated.

Automatic precision rounds answers for reading: up to six significant digits, with whole numbers kept in full. Thousands separators such as 1,000 are accepted; use a dot for decimals.

More
Quick calculator

Use +, −, ×, ÷, parentheses and %. This doesn’t change the tool above.

Keyboard shortcuts

Sharing and starting over

A copied link includes what you entered and your settings, so anyone with it can see them. Leave private text out. Files and results are not included; random draws are made again.

Start over puts the tool back to its starting values and closes any open file or device. Drafts you saved stay on this device until you delete them.

How it works

P(k) = C(marked,k) × C(unmarked,draws − k) ÷ C(total,draws). All cards are equally likely and draws are uniformly shuffled. No game strategy, replacement, pity counter or guaranteed pack distribution is assumed.

Next: Permutation and combination calculator

How the probability of exactly k matches changes with cards in deck

Other inputs keep their starting values: Matching cards in deck: 4; Cards drawn without replacement: 5; Matches wanted (k): 1. Examples only, not recommendations.

Cards in deckProbability of exactly k matches (%)
2644.481605
5229.947364
10417.055753
Cite this page

ToolOctopus. “Card draw probability calculator.” Updated . https://tooloctopus.com/card-draw-probability-calculator.

Add an access date if your instructions require one.

Citation formatting uses citeproc-js by Frank Bennett and Citation Style Language styles. License and source code.

Find a tool

Type a task, a unit pair, a sum or a time zone. ↓ to choose, Enter to open.