Mathematics

Lottery probability: where 1 in 50 million comes from

Every lottery ticket is a combinatorics problem dressed up as hope. The Mega-Sena’s "1 in 50 million" is not a rounded marketing figure: it is an exact combination, and you can reach it with pen and paper. Almost every honest decision follows from it, how much marking more numbers costs, what a "wheel" guarantees and what it does not, and why, over the long run, the math sits with the operator. This guide opens each of those calculations with the current figures. Compute the odds of any tier in the [Lottery Odds Calculator](tool:probabilidade-loteria), build wheeling systems in the [Lottery Wheel](tool:fechamento-loteria), and see the real cost of a pool in the [bet cost calculator](tool:calculadora-preco-aposta).

J-Kit13 min readIntermediate
  • Probability
  • Combinatorics
  • Lotteries
  • Expected value

Key takeaways

  • The jackpot chance, 1 in 50,063,860, is exactly C(60,6), a combination, because the order of the numbers does not matter.
  • Marking n numbers equals C(n,6) simple games; cost and chance grow by the same factor, so there is no probability discount.
  • A wheel gives a conditional guarantee ("if X of my numbers come out"), not a higher chance of hitting the jackpot.
  • By law, about 43.79% of revenue returns as prizes: the expected value is structurally negative, even in rollover jackpots.

Where 1 in 50,063,860 comes from

The Mega-Sena draws 6 numbers from a pool of 60. You hit the jackpot if your 6 numbers are exactly the 6 drawn, and here is the point that settles the whole calculation: order does not matter. 04-17-23-38-52-60 is the same winning ticket no matter the sequence in which the balls fall. When order does not count, the right mathematical object is the combination, not the permutation.

C(n, k) = n! / ( k! · (n − k)! )
C(n, k)
number of possible combinations
n
total numbers on the ticket (60 in the Mega-Sena)
k
numbers drawn (6 in the Mega-Sena)
!
factorial: 6! = 6×5×4×3×2×1 = 720
The number of ways to choose k items from a set of n, without repetition and regardless of order.

Substituting n = 60 and k = 6: C(60,6) = 60! / (6! · 54!). The giant factorials cancel, what remains is (60×59×58×57×56×55) divided by 720, which is 36,045,979,200 / 720 = 50,063,860. That is the number of distinct possible tickets. Since only one of them is drawn, the probability of a single bet hitting the jackpot is 1 in 50,063,860, roughly 0.000002%.

Combination
A selection where order does not matter. Lottery is a combination: {4, 17, 23} = {23, 4, 17}.
Arrangement (permutation)
A selection where order matters, like a digit PIN. It yields far larger counts; not the case here.

The lower tiers come from the same formula by counting "partial hits". For the quina (5 correct out of your 6 numbers): you need 5 of the 6 drawn to be on your ticket and 1 of the remaining 54 to complete the draw, C(6,5)×C(54,1) = 6×54 = 324 favorable combinations, or 1 in 154,518. For the quadra (4 correct): C(6,4)×C(54,2) = 15×1,431 = 21,465, or 1 in 2,332. This is the same reasoning the Lottery Odds Calculator applies automatically for any lottery and number count.

1 in 50,063,860jackpot, 6 hits, simple bet
1 in 154,518quina, 5 hits
1 in 2,332quadra, 4 hits

Why playing more numbers costs so much

Marking more numbers on the ticket is not "paying a little more": it is buying, all at once, every simple 6-number game that fits inside your chosen numbers. If you mark n numbers, the ticket equals C(n,6) simple bets. Since July 10, 2025 a Mega-Sena simple bet costs R$6.00 (a 20% increase over the previous R$5.00, see how to compute that kind of change in the percentage guide). The total price is simply C(n,6) × R$6.00, and it explodes because combinatorics is factorial, not linear.

Cost and coverage by number count in the Mega-Sena (simple bet = R$6.00).
NumbersGames = C(n,6)PriceJackpot chance
61R$6.001 in 50,063,860
77R$42.001 in 7,151,980
828R$168.001 in 1,787,995
984R$504.001 in 595,998
10210R$1,260.001 in 238,399
12924R$5,544.001 in 54,182
155,005R$30,030.001 in 10,003
2038,760R$232,560.001 in 1,292

Notice what the table really says. Jumping from 6 to 20 numbers multiplies the cost by 38,760 and multiplies the chance by 38,760, the exact same factor. The probability per real spent is constant: each real always buys the same slice, 1/(50,063,860×6), of chance, whether in one huge bet or in dozens of simple games. There is no volume discount on luck. The only record a 20-number ticket sets is its price: R$232,560. And covering all 50,063,860 combinations, the only way to guarantee the jackpot, would cost about R$300 million, almost always more than the prize itself.

Switch the lottery and the number count and watch the exact odds of each tier recompute live.Open the tool full page

Mega, Quina and Lotofácil: orders of magnitude

Each lottery has its own sample space, the number of distinct possible tickets with the minimum bet, which is exactly the denominator of the top prize’s "1 in X". Comparing those sizes is the most honest way to measure "which is hardest". The Mega-Sena has the largest space; Lotofácil the smallest, because marking 15 of 25 leaves relatively few combinations out.

Lotofácil (15 of 25)3.27 mi
Quina (5 of 80)24.04 mi
Mega-Sena (6 of 60)50.06 mi
Possible combinations with the minimum bet (in millions). The taller the bar, the harder the top prize: the value is the denominator of the top tier’s "1 in X".
View the data
CategoryValue
Lotofácil (15 of 25)3.27 mi
Quina (5 of 80)24.04 mi
Mega-Sena (6 of 60)50.06 mi

Lotofácil neatly shows why "easier prize" is not "better bet". Hitting all 15 is 1 in 3,268,760, fifteen times likelier than the Mega jackpot, but the top prize is also far smaller, and most of the prize money dilutes into the 11-to-14-hit tiers that land often and pay little. Quina sits in between (C(80,5) = 24,040,016). In all of them the trade-off holds: more accessible prizes carry smaller values, and the share of revenue that returns is the same fraction fixed in law, whatever the game.

Mega-Sena

  • 6 of 60; minimum bet R$6.00.
  • Jackpot: 1 in 50,063,860.
  • Largest space, biggest rollovers.

Quina

  • 5 of 80; minimum bet R$3.00.
  • Top prize: 1 in 24,040,016.
  • Daily draws, tiers from 2 to 5.

Lotofácil

  • 15 of 25; minimum bet R$3.50.
  • All 15: 1 in 3,268,760.
  • Smaller prize, frequent tiers.

What a wheel really guarantees

A wheel (wheeling system, or desdobramento) is a scheme that takes a set of numbers you choose, say 10, and generates a reduced number of games, fewer than the full C(10,6) = 210 combinations, picked to offer a mathematical guarantee. The key phrase is "conditional guarantee". A typical wheel promises something like: "with these 10 numbers across 20 games, if 5 of my 10 are among the 6 drawn, I guarantee at least a quadra". It is a covering theorem, not a luck charm.

  1. Read the whole guaranteeEvery wheel guarantee has the form "IF k of my N numbers come out, THEN I secure tier X". Without the "IF", there is no promise.
  2. Check the costA wheel generates several games; multiply by the simple bet. The bet cost calculator closes the math before you print.
  3. Test against real drawsRun your numbers through the lottery simulator to see, across many draws, what the guarantee delivers, and what it does not.

Where a wheel is honestly useful: when you have already decided to bet on many numbers and want to secure a smaller prize if a good share of them come out, spending less than full coverage. Where it misleads: when sold as a way to "increase your chance of winning the lottery". The chance of hitting the jackpot stays tied to how many numbers you cover, nothing in the arrangement of games changes that. Build and inspect yours in the Lottery Wheel and read the guarantee as coldly as you would read a contract.

The gambler’s fallacy and "overdue" numbers

Each Mega-Sena draw is an independent event: the balls have no memory. The probability that number 13 comes up in the next draw is the same whether it appeared yesterday or has been "overdue" for 200 draws. Statistically, independence means exactly this: the past result does not change the distribution of the next one at all. Spreadsheets of "hot", "cold" and "overdue" numbers describe the past precisely and predict the future with precisely zero accuracy.

The gambler’s fallacy is believing that independent events "correct themselves". A coin that came up heads five times in a row still has a 50% chance of heads on the sixth, it does not "owe" anyone a tail.

Two cognitive traps feed the illusion. The first is mistaking patterns seen in the rear-view mirror for predictive power, the same error the correlation is not causation guide dismantles across all kinds of data. The second is our poor intuition for extremely rare events: the mind does not tell 1 in 50 million apart from 1 in 5 million, so "I almost got it" feels like progress when it is none. It is worth contrasting with games that build in a luck ceiling, the "pity" systems, the math of gacha pity shows a design where the chance genuinely rises with each try. The lottery has no pity: no bet brings you closer to the next one.

  • "Overdue" numbers are not more likely, draws are independent.
  • Sequences like 1-2-3-4-5-6 have exactly the same chance as any other combination.
  • Avoiding "popular" numbers (dates, patterns) does not change your chance of winning, only your chance of splitting the prize.
  • No system, lucky number or history "guarantees" the jackpot; the probability is fixed and known.

Expected value: why the house always wins

Expected value (EV) is the average return of a bet if it were repeated infinitely many times. Sum, over all tiers, the probability of each prize times its value, and subtract the cost. If the result is negative, you lose money over the long run, and in the lottery it is structurally negative, not by bad luck, but by legal design.

EV = ( Σ pᵢ · prêmioᵢ ) − custo
EV
expected value (positive = average profit; negative = average loss)
pᵢ
probability of winning the tier i prize
prêmioᵢ
amount paid in tier i
Σ
sum over all prize tiers
The expected value of a bet: the average return minus what it cost.

You do not need to know each prize to know the sign of the EV. Law 13.756/2018, article 16, fixes how much of the revenue becomes prize money: for the numerical-prediction lotteries (Mega-Sena, Quina, Lotofácil), about 43.79% of the total wagered goes to paying prizes, and that slice already includes the income tax withheld on winnings. The rest goes to taxes, social funds, social security, sports and operating costs. This means that, summing every bet, at most about R$0.44 of each R$1.00 returns as a prize. The average return to the bettor is, by construction, less than half of what came in.

And the giant rollover jackpots, don’t they pay off?

A rollover carries the unwon jackpot slice into the next draw, so that draw’s top prize can exceed 43.79% of that day’s revenue. In theory this can push a ticket’s EV toward zero or even above. In practice, three forces pull it back: the total slice is still capped by law; prizes are subject to income-tax withholding; and, above all, when the prize gets huge, far more people bet, which spikes the probability of more than one winner splitting the same pot. A positive-EV ticket, for an ordinary bettor, almost never materializes.

≈ 43.79%of revenue becomes prize money (Law 13,756/2018)
≈ R$0.44average return per R$1.00 wagered
> 56%house edge over the long run

Frequently asked questions

What are the odds of winning the Mega-Sena with a simple bet?
It is 1 in 50,063,860, the value of C(60,6), the number of ways to choose 6 numbers from 60 regardless of order. That is roughly a 0.000002% chance per six-number bet.
Does betting on more numbers greatly increase the chance?
It rises in the same proportion as the cost. Marking n numbers equals C(n,6) simple games: 7 numbers are 7 games (R$42.00) and the chance goes up 7-fold; 20 numbers are 38,760 games (R$232,560.00). Because cost and chance grow by the same factor, the probability per real spent is always the same.
Does a wheel (desdobramento) increase the chance of winning?
It does not increase the chance of hitting the jackpot, that depends only on how many numbers you cover. A wheel offers a conditional guarantee of a smaller prize: "if X of my numbers come out, I secure at least a quadra", for example. It is a way to cover secondary tiers while spending less than full coverage, not a trick to beat the odds.
Do overdue numbers have a better chance of coming up?
No. Each draw is independent: the balls have no memory, so a number that has not appeared for many draws has exactly the same probability as the others. Believing it "owes" a result is the gambler’s fallacy.
If the jackpot is huge, is it worth betting?
Even with a rollover, the expected value tends to stay negative. By law, about 43.79% of revenue returns as prizes; prizes are still taxed; and when the prize is huge, far more people play, raising the chance of splitting the pot. Treat the bet as entertainment, not as an investment.

The lottery is honest combinatorics: 1 in 50,063,860 is C(60,6), and betting more numbers multiplies cost and chance by the same factor, with no discount. A wheel only secures secondary prizes under a condition, it does not bring the jackpot closer. Since about 43.79% of revenue returns as prizes, the expected value is negative even in giant rollovers. Bet, if you bet, knowing exactly what you are buying: entertainment, not an investment.

Sources & references

  1. Law 13,756/2018, article 16, distribution of lottery revenue (Planalto)
  2. Caixa Lotteries, Mega-Sena (rules and odds)
  3. Caixa Lotteries, Lotofácil (rules and odds)
  4. CAIXA News, Caixa Lotteries with new bet prices (Jul 2025)
  5. Wolfram MathWorld, Combination
  6. CVV, Centro de Valorização da Vida (emotional support, 188)