This free MTG calculator, a Magic the Gathering calculator for deck odds, gives you the chance of drawing the cards you need and shows how many lands a deck should run. Enter the deck size, the copies (or lands) and the cards you have seen, in your opening hand or by a chosen turn, going first or second. You get the odds, a turn-by-turn table and a chart, and the Lands tab adds the keepable-hand chance and expected mulligans. It is the hypergeometric calculator MTG players ask for, so it works as an MTG probability calculator, an MTG land calculator and an MTG deck calculator in one tool.
Loading calculator…
How to use the MTG calculator
- Type the deck size, the number of cards in your library, or tap 40, 60, 80, 99 or 100. A Commander deck has 99 cards in the library plus the commander.
- On the “A card in my deck” tab, enter how many copies of the card you want (4 for a playset). Choose how many you want to see: at least 1 to 4, or exactly 0 to 4.
- Choose the cards seen: the opening hand of 7, a turn from 1 to 20 (going first or second), or a custom number if your deck draws extra cards.
- Press Calculate. You get the answer as a decimal and a percent, a table of the same chance for turns 1 to 10 on the play and on the draw, a bar chart, the working with real counts, and a table of copies from 1 to 12.
- For land questions, open the “Lands in my deck” tab. Enter the number of lands, the fewest and most lands you would keep in a seven-card hand (2 and 5 to start), and the lands you want by a turn. You get the keepable-hand chance, the mulligan chance, the expected number of mulligans and a land table around your land count.
The same tool works as an MTG hand calculator for opening-hand odds, an MTG card draw calculator for later turns and a draw probability calculator for any single card. It reports the MTG opening hand probability of both a copy of a spell and a keepable land count.
Counting cards seen by turn
The number of cards seen is the opening hand plus the cards you draw from the draw step on later turns. Whoever goes second also draws in the first turn, so that player has seen one card more than the player going first at every turn. The number of cards seen is the sample size n in the formulas below.
| Moment | On the play | On the draw |
|---|---|---|
| Opening hand | 7 | 7 |
| Turn 1 | 7 | 8 |
| Turn 3 | 9 | 10 |
| Turn 7 | 13 | 14 |
Extra draws from spells or abilities are not counted automatically. If your deck draws more, use “Custom number of cards” and enter the total you expect to see.
Chance of drawing a key card by turn
A single card is hard to find. With one copy in a 60-card deck, the chance of holding it in the opening seven is 7 in 60, or 11.7%. A full playset of four lifts it to 39.9%, so you open without it about 60% of the time. Here is the chance of holding a copy of a four-of in a 60-card deck, turn by turn:
| Turn | On the play | On the draw |
|---|---|---|
| 1 | 39.95% | 44.48% |
| 2 | 44.48% | 48.75% |
| 3 | 48.75% | 52.77% |
| 4 | 52.77% | 56.55% |
| 5 | 56.55% | 60.10% |
| 6 | 60.10% | 63.42% |
| 7 | 63.42% | 66.54% |
For a single card in a 99-card Commander library, the chance of seeing it by turn 7 on the play (13 cards) is 13.1%. Odds this low are why decks lean on card draw, tutors and repeated effects instead of one key piece. The results are exact odds from the formula, not a simulation estimate, and they hold for any deck size, from 40-card Limited decks to 60-card Standard, Pioneer, Modern and Pauper decks and 100-card Commander decks.
The at-least-one formula
A deck is a finite population, so every card you draw changes the odds for the next one, and that is why the binomial distribution does not fit. Finding the chance of success, that is at least one copy, is easiest by counting the hands with no copy and subtracting from 1: P = 1 − C(N − K, n) / C(N, n), where N is the deck size, K the copies and n the cards seen. For 4 copies in 60 cards and 7 cards seen that is 1 − C(56, 7) / C(60, 7) = 1 − 0.6005 = 0.3995. For exactly 2, at most 2 or a range of copies, and for the full hypergeometric formula, use the hypergeometric calculator.

How many copies do I need?
This is the table the MTG odds calculator builds for you: the chance of at least one copy in the opening seven cards of a 60-card deck, by number of copies.
| Copies in the deck | Chance of at least 1 in the opening 7 |
|---|---|
| 1 | 11.67% |
| 2 | 22.15% |
| 3 | 31.54% |
| 4 | 39.95% |
| 8 | 65.36% |
| 12 | 80.94% |
Eight cards that do the same job, such as two different one-mana removal spells at four copies each, find you one in the opening hand about 65% of the time. That is why many players count functional copies, not only the name on the card.
How many lands should a deck have?
Lands are the most common question this tool answers. Players look for a land calculator MTG decks can use, a mana calculator MTG players trust, or simply an MTG mana calculator or MTG lands calculator, and the part they all need is the land count. The answer is a trade-off, not one magic number. More lands make a keepable opening hand and a land drop on turn 3 more likely, but they also leave fewer spells in the deck. The tables below use the Lands tab with a keepable hand of 2 to 5 lands in seven cards and a goal of at least 3 lands by turn 3.
How many lands in a 60-card deck? A common starting point is 24, a land ratio of 40%, and the numbers show why. With 24 lands, 98% of opening hands have one or more lands, 85.7% have two or more, and 84.4% hold 2 to 5 lands. Each land you remove or add shifts the odds like this:
| Lands in a 60-card deck | Keepable hand (2 to 5 lands) | At least 3 lands by turn 3, on the play |
|---|---|---|
| 22 | 80.23% | 71.90% |
| 23 | 82.46% | 75.53% |
| 24 | 84.39% | 78.87% |
| 25 | 86.02% | 81.90% |
| 26 | 87.36% | 84.63% |
How many lands in a 40-card limited or draft deck? The common figure is 17. With 17 lands in 40 cards, 87.85% of opening hands hold 2 to 5 lands, and the chance of at least 3 lands by turn 3 on the draw is 90.36% (84.46% on the play). A draft deck with 16 lands has an 85.5% keepable chance, and one with 18 lands has 89.5%.
How many lands in a Commander deck? Commander decks run about 36 to 38 lands in 99 cards, often with extra mana from other cards. With 37 lands, 80.4% of opening hands hold 2 to 5 lands and 96.7% hold at least 1 land. The longer game and bigger deck lower the chance of 3 lands by turn 3 on the play to 72.7%.
| Lands in a 99-card deck | Keepable hand (2 to 5 lands) | At least 3 lands by turn 3, on the play |
|---|---|---|
| 35 | 77.46% | 68.11% |
| 36 | 78.97% | 70.44% |
| 37 | 80.38% | 72.68% |
| 38 | 81.68% | 74.82% |
The same totals answer how many lands in a standard deck (60 cards) and how many lands in a draft deck (40 cards). How many basic lands in a Commander deck depends on how many non-basic lands you play, and this tool counts all lands together. Treat these as the math of a plain land count. Cheap spells, mana creatures, card selection and the colors you need all move the right number up or down, and a land calculator that only counts cards cannot see them. This tool is a land count and draw-odds tool, not an MTG mana base calculator for color sources.

Keepable hands and mulligans
Most players keep a seven-card hand with 2 to 5 lands and mulligan the rest. Set your own limits on the Lands tab, and the tool adds up the chance that a hand falls inside them. With 24 lands in 60 cards and a limit of 2 to 5, a hand is keepable 84.39% of the time and a mulligan is needed 15.61% of the time.
Keepable hand and mulligan formulas
Let q be the chance that a seven-card hand holds between your fewest and most lands. The chance of a mulligan is 1 − q. Under the London mulligan you draw seven new cards each time, so the number of mulligans before a keepable hand averages (1 − q) / q. For 24 lands in 60 cards, q = 0.8439 and the average is 0.1561 / 0.8439 = 0.185 mulligans. Used this way, the Lands tab works as a mulligan calculator for the London mulligan. The tool applies the land rule only. The choice of which card goes to the bottom of the library is not modeled.
Check the numbers in Excel, R and Python
The tool shows the matching commands for your own numbers. For 4 copies in a 60-card deck, 7 cards seen and at least 1 copy, these all give 0.3995:
| Tool | Command |
|---|---|
| Excel | =1-HYPGEOM.DIST(0, 7, 4, 60, TRUE) |
| R | phyper(0, 4, 56, 7, lower.tail = FALSE) |
| Python (SciPy) | hypergeom.sf(0, 60, 4, 7) |
| TI-84 | 1-sum(seq((4 nCr X)*(56 nCr (7-X))/(60 nCr 7),X,0,0)) |
Excel, SciPy and R take the same four facts in different orders, so check the order before you type. Every number on this page was checked against R.
Yu-Gi-Oh!, Pokémon TCG and other card games
The same math works for any game where you draw from a shuffled deck without putting cards back. For a Yugioh calculator, such as a yugioh hand calculator or yugioh probability calculator, set the deck to 40 cards and choose a custom number of cards seen. With 3 copies of a card in 40 cards, a five-card hand holds at least one copy 33.8% of the time, and six cards seen raises that to 39.4%. For Pokémon TCG, Lorcana and other games, set the deck size, the copies and the cards you have seen, and read the same table. The tool does not know the rules of those games, so enter the cards seen yourself. A shuffled 40-card deck can be in 40! different orders, a number with 48 digits that the factorial calculator shows in full.
What this MTG calculator does not do
It handles one kind of card (or lands) at a time. It does not simulate games, model the bottom-of-library choice after a mulligan, find combos that need two or more different cards at once, or work out colors and mana symbols. For exactly, at most or between-a-range questions, the full hypergeometric formula and the comparison with the binomial distribution, use the hypergeometric tool. For one-off events and repeated tries without a deck, try the probability tool, and for the chance of one event given another, the conditional probability calculator. The full set is on the probability and distribution calculators page. Magic: The Gathering is a trademark of Wizards of the Coast. This site is not affiliated with it or with any game company.
MTG calculator FAQs
What is an MTG calculator?
It is a tool that works out the chance of drawing cards from a Magic: The Gathering deck. It uses the hypergeometric distribution, which fits drawing without replacement, so it is also called an MTG hypergeometric calculator or an MTG probability calculator.
How do I calculate the odds of drawing a card in MTG?
Count the deck size, the copies you run and the cards you have seen, then find the chance of at least one copy as 1 − C(N − K, n) / C(N, n). The calculator does this for you and shows the counts it used.
What are the odds of drawing a land in my opening hand?
With 24 lands in a 60-card deck, the chance of one or more lands in the opening seven is 97.84% and the chance of two or more is 85.73%.
How many lands should I play in a 60-card deck?
24 is a common starting point. At 24 lands, 84.39% of opening hands hold 2 to 5 lands. Your spells, colors and card draw can move the right number up or down.
How many lands in a Commander deck?
Most Commander decks play about 36 to 38 lands in the 99-card library. At 37 lands, 80.38% of opening hands hold 2 to 5 lands.
How many lands in a 40-card draft deck?
17 is the usual count. At 17 lands, 87.85% of opening hands hold 2 to 5 lands.
What is a keepable hand?
In this tool it is a seven-card hand whose land count falls between the limits you set, 2 to 5 by default. You can change both limits.
Do the odds change when you go first or second?
Yes. The second player sees one extra card at every turn, so a card is easier to find. For a four-of in 60 cards by turn 3 the chance is 48.75% going first and 52.77% going second.
Does the calculator include mulligans?
It gives the chance of a mulligan and the expected number of mulligans for your land limits. The choice of which card goes to the bottom of the library is not modeled.
Can I use it for Yu-Gi-Oh! or Pokémon?
Yes. Enter the deck size, the copies and a custom number of cards seen. The tool does not know the rules of those games.
Easy Stat Calc · Results checked against Python and R · Last updated November 26, 2026 · Methodology