Lottery Number Generator
Generate 6 random unique lottery numbers between 1 and 49. New lucky numbers every time!
How to use this tool
- Enter how many numbers and maximum number in the fields above.
- Results update instantly as you type — or click Calculate.
- Read your lucky numbers and the full breakdown beneath it.
Generate your lucky lottery numbers in one click. All numbers are unique and randomly selected.
How it works
The Lottery Number Generator produces a set of unique random numbers within a range you specify. By default it generates 6 numbers between 1 and 49, matching the most common lottery format, but you can adjust both the count and the maximum to match any lottery game.
Each generated set is unique within a single draw — no number appears twice. Click the generate button again to get a fresh set instantly.
The tool is useful for filling in lottery slips quickly, running lottery simulations, or generating random seeds for games and experiments.
Worked examples
Generate numbers for a 6/49 lottery
- Leave How many numbers set to 6 and Maximum number set to 49.
- Click Generate.
- Six unique numbers between 1 and 49 appear in sorted order.
- Write them on your lottery slip or click Generate again for a new set.
A valid set of 6 unique numbers ready to play, e.g. 4, 17, 23, 35, 41, 48.
Generate numbers for a 5/50 game
- Set How many numbers to 5 and Maximum number to 50.
- Click Generate.
- Five unique numbers between 1 and 50 appear.
Numbers suitable for EuroMillions main draw or similar 5/50 lotteries.
Common mistakes to avoid
- Forgetting to change the Maximum to match your specific lottery — a 5/90 game requires a maximum of 90, not 49.
- Assuming the same set cannot appear twice — in theory, any set can be generated again on a subsequent click.
- Using the default 6/49 settings for a lottery with a different format, resulting in out-of-range numbers.
Key terms
- Unique numbers
- Each number in the set appears only once; the generator does not repeat a number within the same draw.
- Maximum number
- The highest possible value a generated number can take; set this to match your lottery pool size.
Frequently asked questions
- Are the lottery numbers truly random?
- The numbers are generated using JavaScript's Math.random() which is a pseudo-random number generator. They are not cryptographically secure but perfectly fine for picking lottery numbers.