1. Home
  2. Productivity tools
  3. Lottery Number Generator

Lottery Number Generator

Choose the format of your game and how many lines you want. The numbers are random, and the page tells you the true odds.

Free, no sign-up. Runs in your browser: nothing is uploaded.

Free workspace included. Docs, spreadsheets, notes and tasks that save on your device. No sign-up.Take a look

How to use Lottery Number Generator

  1. Open the page and choose your settings.
  2. Press Start and follow what happens on the screen.
  3. Read your result; your best score is remembered in this browser.

Features

  • Any format: numbers to pick, pool size and optional bonus numbers
  • Presets such as 6 of 49, keno and a 5-plus-1 bonus game
  • Up to 20 lines, copyable
  • Exact jackpot odds from the number of combinations
  • Cryptographic random numbers

Supported formats

Input

  • Typed game format

You get

  • Random lines
  • Odds

Private by design

Everything you enter is processed by your browser on this device. Nothing is sent to openWorkstand or anyone else, so the Lottery Number Generator is safe for private and work data. After you have used it once while online, it also works without an internet connection. How local processing works

Good to know

  • It cannot improve your chances: every combination is equally likely.
  • It is not connected to any lottery, cannot check results and cannot place a bet.
  • Odds ignore smaller prizes and any extra rules of a particular game.

Guide

Random lottery numbers and the true odds: what a generator can and cannot do

Most lottery tickets are bought as quick picks or from a habit of numbers, and the part people want most from a generator is the quick pick without a trip to the shop. This page does that for any format, and does something more useful too: it shows the real odds of the game you are playing, calculated from the number of combinations, so that the price of a ticket can be set against its chances.

Choosing a game

Five presets cover common formats: 6 of 49, 5 of 50 plus 2 of 12, 5 of 69 plus 1 of 26, keno with 10 chosen from 80 and 20 drawn, and a small 4 of 20. For anything else, set the numbers to pick, from 1 to 30, the pool they come from, from 2 to 100, the number of bonus numbers, up to 5, and the bonus pool. The lines box sets how many sets of numbers to make, up to 20, and Generate draws them.

How the numbers are drawn

Each line is a set of different numbers from the pool, shuffled with the browser’s cryptographic random generator and shown in ascending order, padded with zeros to a common width. A bonus number is drawn from its own pool. Nothing is remembered between presses, and the numbers are neither stored nor sent anywhere, so every press is independent of the last.

Calculating the odds

For an ordinary lottery the jackpot needs all your numbers to match all those drawn, and the number of possible sets is the combination of the pool taken the number to pick at a time. For 6 from 49 it is 49 times 48 and so on down to 44, divided by 6 factorial, which is 13,983,816. A bonus pool multiplies it by the combinations of the bonus numbers: 5 of 69 gives 11,238,513 and 26 bonus balls multiply it to 292,201,338, and 5 of 50 gives 2,118,760 times 66 pairs from 12, which is 139,838,160. In keno you pick some numbers and more are drawn, so the chance that all of yours are among those drawn is the combinations of the drawn numbers divided by the combinations of the pool: for 10 chosen from 80 with 20 drawn, about 1 in 8,911,711.

A worked example

Press the 6 of 49 preset, keep five lines and press Generate. Five rows of six different numbers between 01 and 49 appear, in order, and the odds panel reads 1 in 13,983,816 for the jackpot and about 1 in 54,200 for matching exactly five of the six. Press the 5 of 69 plus 1 of 26 preset and the panel reads 1 in 292,201,338. Press the keno preset and it reads 1 in 8,911,711 (about) for matching all ten.

Lucky numbers and systems

Every set of numbers is exactly as likely as any other, including 1, 2, 3, 4, 5, 6. Numbers that have not come up for a while are not due, and numbers that have are not hot, because the draw has no memory. No system, wheel or pattern changes the chance that one ticket wins; buying more tickets raises your chance only in proportion to the number of tickets. A generator merely saves you the choice, and the honest message of the odds is that the jackpot is extremely unlikely.

Playing responsibly

Treat a ticket as an entertainment expense, not an investment, and spend only what you can afford to lose. If gambling stops being fun, or you find yourself chasing losses, talk to someone or contact a support organisation in your country.

Limits

This page is not connected to any lottery, cannot check a result or place a bet, and covers the jackpot and the match-all-but-one chance only. Formats with several prize tiers, extra balls and refunds are not modelled.

Random Number Generator picks numbers in any range. Raffle Ticket Maker prints tickets for a draw you run yourself. Dice Roller rolls dice, and Card Deck Shuffler and Dealer deals cards.

Checked against the current version of the Lottery Number Generator on .

Frequently asked questions

Is it better to choose numbers that other people do not pick?

It does not change your chance of winning, but in a game where the prize is shared it can change how much you would win. Numbers based on birthdays are chosen often, which is why some players avoid dates; the odds themselves stay the same.

Why does the page ask how many numbers are drawn?

For games like keno, where more numbers are drawn than you pick. The odds of matching all your picks depend on both, so the page needs the two figures; for an ordinary lottery leave it at zero and the number drawn equals the number you pick.

Do the odds include smaller prizes?

Only the jackpot, and for 6 of 49 the chance of matching all but one number. Smaller prizes and any extra rules of your own game are not included, so check the operator’s published odds.

Do some numbers win more often?

No. Every combination is exactly as likely as any other, including 1-2-3-4-5-6. No number is due and no system improves the odds; a generator only saves you choosing.

Can it buy a ticket or check a result?

No. It is not connected to any lottery. It only makes random numbers and calculates odds.

Keep working with the result

openWorkstand also includes a free workspace with documents, spreadsheets, tasks, projects and a calendar that save to a folder on your computer.