The Draw
Set it, draw itDuplicates, Ranges, And Luck
How it worksTwo settings decide almost everything about a draw.
No duplicates = a lottery
Each number is removed once drawn, so six from 1–45 behaves like a lottery ticket.
1–45, pick 6 = 8,145,060 combos
Duplicates = dice
Every draw goes back into the pot, so each pick is independent. Two sixes in a row is not a bug.
Each pick = 1/6, always
The range sets the odds
Odds for any one number are simply one over the size of the range, inclusive of both ends.
1–45 → 2.22% each
You cannot ask for more than exist
With duplicates off, asking for more numbers than the range holds is impossible — widen the range instead.
Count ≤ range size
Questions
03Can I use negative numbers?
Yes. Any two integers work, and the smaller one is treated as the floor.
How random is it?
It uses the browser Math.random generator. Good enough for lotteries and games, not for cryptography.
Are the numbers sorted?
They are shown in the order they were drawn, with a sorted line underneath.