Calculator and Converter

Random number generator

Choose a Minimum, a Maximum and How many numbers you want, pick whole numbers or decimals, and decide whether repeats are allowed.

Results

Enter your values to see the result.

About this tool

The calculator then draws a fresh set each time you run it. It suits picking raffle entries, sampling rows from a list, or generating practice data for a classroom exercise.

How it is calculated
each number = minimum + random × (maximum − minimum); whole numbers include both ends
Worked example
With Minimum: 1; Maximum: 100; How many numbers: 5; Type: Whole numbers; Repeats: Allow repeats, the result is: Random numbers: 51, 51, 51, 51, 51.
Good to know
Whole numbers include both ends of the range. Decimals are rounded to four places. With No repeats, you cannot ask for more numbers than the range contains. Numbers come from a standard browser generator, not a secure one.

Frequently asked questions

Can I draw numbers without repeats?

Yes, set Repeats to No repeats with the Type set to Whole numbers. You cannot request more numbers than exist in the range, so 10 unique picks need a range of at least 10 whole numbers.

Are the minimum and maximum included?

For whole numbers, both ends can be drawn. If you enter decimal limits, whole numbers come from the integers inside them. Decimal draws fall between the two limits and are rounded to four places.

Is this suitable for lotteries or passwords?

It is fine for games, classroom picks and informal draws. It is not designed for security-sensitive uses such as passwords or cryptographic keys, which need a generator built for that purpose.

Related calculators