Random number generator
Draw whole or decimal numbers from a range you choose.
Presets
Both bounds are inclusive when available at the selected precision. Decimal places set the sampling step. Bounds are limited to −1,000,000,000 through 1,000,000,000.
Result
Lottery number generator
A random draw only: every combination is equally likely, and no tool can predict or improve your chances. Check the rules and number ranges with the official operator before you play. Not affiliated with any lottery operator.
Set up your draw
- Enter minimum and maximum values in the random number generator, or start with a dice, two dice, coin, 1–10, 1–100 or 6-of-49 preset; several numbers also show their sum and average.
- Choose zero decimal places for integers, or up to six for a decimal sampling grid.
- Request 1–1000 numbers per set and 1–20 sets; enable no repeats if each set needs distinct values.
- Choose the original draw order, ascending order or descending order, then generate the results.
- Copy your numbers as a comma-separated list, one value per line or quoted CSV cells.
- In the lottery section pick a game, for example Powerball, Mega Millions, EuroMillions or UK Lotto, and press Draw numbers: you get the main numbers sorted and without repeats, plus any bonus balls such as the Powerball.
Practical uses for number draws
- Roll a six-sided die for an informal tabletop activity.
- Pick numbered exercises for a practice session.
- Create multiple random numbers for spreadsheet examples.
- Build separate sets of distinct identifiers from a numbered list.
- Explore a random decimal grid for a classroom probability exercise.
Ranges, repeats and randomness
Can the minimum or maximum be drawn?
Both ends are included when they lie on the selected grid. With two decimals, 0.10 through 0.12 offers 0.10, 0.11 and 0.12. Values between grid steps cannot be drawn.
Are negative numbers and zero allowed?
Yes: a range from −2 to 2 with zero decimals contains five values. Bounds are limited to ±1,000,000,000. Reversed bounds are swapped, and adjustments are reported.
Does uniqueness apply across all sets?
Distinct values are enforced separately within each set. The same number may appear in another set. Requesting more unique values than the selected grid contains produces an error.
Does sorting change the draw?
Sorting only rearranges the selected numbers after generation. Ascending order makes a set easier to scan; leaving sorting off preserves the order in which values were drawn.
Where does the randomness come from?
The tool uses Web Crypto and rejection sampling to avoid modulo bias. If the browser's cryptographic generator is unavailable or fails, an error appears instead of using a weaker fallback.
Can the lotto preset or lottery mode predict a winning combination?
No. It only draws distinct numbers from the published ranges of the chosen game, for example 6 from 1 to 49. Every combination is equally likely, a local draw cannot predict another draw, and it is not a certified lottery process. Check the rules with the official operator before you play.