How the numbers are generated
Each value is produced by scaling a random fraction between 0 and 1 across the full size of your range, then shifting it so the lowest possible result is your minimum. Because both bounds are inclusive, every whole number from the minimum up to and including the maximum has an equal chance of appearing.
The draws are independent. Generating several numbers at once does not change the odds of any individual value, so the same number can legitimately appear more than once unless you specifically need unique results.
Choosing your range and count
Set the minimum and maximum to bracket the outcomes you want, and the count to decide how many numbers to draw in a single batch. Larger ranges spread the results more thinly, while a small range concentrates them.
- Use min 1 and max 6 to simulate a die roll
- Use min 1 and max 100 for a quick percentage-style pick
- Increase the count to build a sample or a list of picks at once
- Keep min less than or equal to max, or the range is invalid
Practical uses
A random number generator is handy any time you want an impartial, repeatable-on-demand choice. Common cases include picking giveaway winners, assigning people or items to groups, sampling rows from a dataset, and creating test inputs for software.
What to keep in mind
This tool produces pseudo-random numbers suitable for games, sampling and everyday fairness, but it is not designed for cryptographic security such as generating passwords or secret keys. For those purposes use a dedicated secure generator.
If you need every result to be distinct, remember that repeats are possible here; draw a few extra and discard duplicates, or pick a range much larger than your count to make collisions unlikely.
Formula
value = min + floor(random · (max − min + 1))
