Generate random games for Mega-Sena, Quina, Lotofácil and more — with the real odds shown.
This tool draws lottery games at random, the way the "surpresinha" option does at the counter. It has presets for the main Brazilian lotteries — Mega-Sena (6 of 60), Quina (5 of 80), Lotofácil (15 of 25), Lotomania (50 of 100), Dupla Sena (6 of 50), Timemania (10 of 80) and Dia de Sorte (7 of 31, plus a lucky month) — and a custom mode where you pick any X out of Y. Each game is drawn with a partial Fisher-Yates shuffle over the pool of numbers, using crypto.getRandomValues with rejection sampling, so the numbers within a game are always distinct and no number is favoured.
The important part of this page is not the numbers, it is the line that shows your real odds. It computes the exact combination C(Y, X) — the number of different games that exist — using arbitrary-precision arithmetic, because the values overflow ordinary floating point. For the Mega-Sena that is C(60,6) = 50,063,860: one game in fifty million. Playing a "random" game does not improve that number by a fraction of a percent. Every combination, including 1-2-3-4-5-6, has exactly the same probability, and no generator, no statistical study of past draws and no lucky number system can change it, because each draw is independent of every draw before it.
So use this for what it is worth: a quick, unbiased way to fill a ticket when you would rather not think about which numbers to pick, and a concrete way to see how large the odds against you actually are. Play only with money you can afford to lose, only if you are 18 or older, and treat it as entertainment rather than as a plan. If betting stops feeling like entertainment, seek help. Everything runs in your browser — the games you generate are never sent anywhere or stored.
The number of possible games when picking X numbers out of Y is the combination C(Y, X) = Y! / (X! × (Y − X)!). One game therefore has a 1 in C(Y, X) chance of matching all the numbers. For the Mega-Sena, C(60,6) = 50,063,860; for the Quina, C(80,5) = 24,040,016; for the Lotofácil, C(25,15) = 3,268,760.
No. Every combination has exactly the same probability, whether it comes from a generator, from a birthday or from a sequence. Nothing you do when choosing numbers changes the odds.
One in 50,063,860 for a single six-number game — that is C(60,6), the total number of different games that exist. The tool shows the exact figure for whichever lottery or custom setup you select.
No. Each draw is independent, so the balls have no memory of previous results. A number that has not appeared in years is exactly as likely as any other on the next draw.
Yes, up to 20 games per click. Each one is drawn independently, so two of them may coincide in some numbers — which is expected and does not affect anything.
No. The draw runs 100% in JavaScript on your device. No game is sent to a server, logged or stored anywhere.
No. This tool has no connection with Caixa or any lottery operator, does not place bets and does not check results. It only generates random numbers and shows the mathematical odds.
Vai.la turns any URL into a short link with click statistics, QR Code and your own biolink.
Vai.la is not responsible for how the tools are used or for decisions made based on their results.