Random Number Generator
Generate one or more random numbers within a chosen range. The form lets you set Minimum, Maximum, How many, Decimal places, and an optional No duplicates switch for distinct whole numbers.
How to use this calculator
- Enter the lower and upper range values.
- Choose how many results to generate, up to 1000.
- Set decimal places from 0 through 10.
- Turn on No duplicates when you need distinct integers.
- Use Generate for a new draw or Copy to copy the current results.
The output also summarizes count, smallest value, largest value, sum, and average when multiple numbers are shown. For deeper analysis of generated samples, use the statistics calculator.
How it works
For regular draws, the calculator selects values across the range and rounds them to the requested decimal places. In No duplicates mode, it builds the available whole-number pool, shuffles it, and returns as many distinct integers as possible.
Example
To pick 5 raffle winners from tickets 1 through 100, enter minimum 1, maximum 100, count 5, decimal places 0, and turn on No duplicates. To simulate 20 six-sided die rolls, use 1 and 6, count 20, decimals 0, and allow duplicates.
Common uses and cautions
Random draws are useful for classroom examples, games, sampling, and quick decisions. If the numbers represent a target or progress amount, the percent to goal calculator may help summarize results. Do not rerun repeatedly until a preferred number appears, and do not use this tool for passwords.