How to use the random number generator
Set the range, press the button and read the result.
- Enter a Minimum and a Maximum. They start at 1 and 100, and both ends can be drawn. If you enter them the wrong way round, the tool swaps them.
- Set How many, from 1 to 1,000.
- Use Decimal places for fractional values, from 0 for whole numbers up to 10.
- Tick No duplicates for draws where a number may appear only once, and Sort results to list them from lowest to highest.
- Click Generate number. Up to 12 numbers are shown one per line, and longer lists are shown as one comma separated line.
Minimum and maximum may be anywhere from -1,000,000,000 to 1,000,000,000.
Two quick examples. Minimum 0, Maximum 1, Decimal places 2 and How many 5 gives five values such as 0.37, 0.82 and 0.04, each between 0 and 1. If you type a fractional limit with Decimal places at 0, such as 2.5 to 7.5, the tool rounds the minimum up and the maximum down, so only the whole numbers 3 to 7 can appear. Negative ranges work too, which suits temperature or score sample data.