Simulator

Lotteries

The lottery does not feel like gambling: people play rarely, calmly and often as a family tradition. But it is by far the most expensive game. Work out your odds and simulate what would happen if you played for a lifetime.

Read in

Plain mode explains the ideas without jargon. Technical mode adds formulas, methods and code.

€1.00 per ticket · 3 draws a week

Chance of winning the top prize with one ticket

1 in 13,983,816

Playing one ticket in every draw, it would take you 89,640 years on average to win it.

All prize tiers
MatchesProbability
61 in 13,983,8167.151e-8
5+C1 in 2,330,6364.291e-7
51 in 55,4911.802e-5
41 in 1,0329.686e-4
31 in 571.765e-2

Play for a lifetime

We simulate you playing one ticket in every draw for as many years as you choose, with real random draws.

Draws played
6,240
You would have spent
€6,240
Of which, paid back in prizes on average
€3,432
Times you win the top prize
0

Your matches

  • 6none
  • 5+Cnone
  • 5none
  • 45
  • 3114

The simulation counts how often you hit each tier. The money paid back is the average set by the rules, since real prizes depend on how many people win in each draw.

Numbers the brain cannot picture

Matching all six numbers in La Primitiva has a probability of 1 in 13,983,816. It is so small that we have no intuition for it: it just feels “hard”, the same way something a thousand times more likely would. That is why it helps to translate it into time. Playing in every draw, it would take tens of thousands of years on average to win once.

Technical Exact probabilities (hypergeometric distribution)

For a 6/49 game, the probability of matching k numbers is:

P(k) = C(6, k) · C(43, 6 − k) / C(49, 6)

With C(49, 6) = 13,983,816. EuroMillions multiplies two independent draws, 5 of 50 numbers and 2 of 12 stars: P(5+2) = 1 / (C(50, 5) · C(12, 2)) = 1 / 139,838,160. The 5 + bonus tier needs the number you missed to match the bonus ball, drawn from the remaining 43: P(5) · 1/43. The project’s tests check these figures.

Half the money never comes back

At roulette the house keeps less than 3 cents of every euro. With the lottery it keeps far more: EuroMillions pays out 50% of sales in prizes, La Primitiva and Bonoloto 55%, and the National Lottery 70%. In other words, out of every €10 spent on tickets, between €3 and €5 never comes back to players. The simulation above shows it: after a lifetime of playing, the usual outcome is never winning a big prize and getting back only part of what you spent.

Sources for prize shares: La Primitiva, EuroMillones, Lotería Nacional.

“Somebody has to win”

True: in almost every draw somebody wins. But somebody winning says nothing about your chances. When millions of people play, it is almost certain that one of them hits, and that person is on the news. The millions who do not win never are. Seeing only the winners makes the prize feel far closer than it is.

Questions this page answers

All questions →