Random Number Generator

Generate one or more random numbers within a range you set.

Last updated

Numbers will appear here.
Copied

How to generate random numbers

  1. Enter the minimum and maximum; both can come up.
  2. Choose how many numbers, whether duplicates are allowed, and whole numbers or decimals.
  3. Click Generate, then Copy result.

About this tool

Both endpoints are inclusive — a range of 1 to 100 can produce either 1 or 100. "Allow duplicates" off draws without replacement (like pulling numbered balls from a bag, each value can appear at most once), which naturally caps how many numbers you can request to the size of the range; with decimals allowed, "no duplicates" is turned off automatically, since real numbers in a range are effectively never exactly equal.

Nothing generated here is sent to a server — the entire tool runs as JavaScript in your browser tab.

Questions about random numbers

How do I pick a random number between 1 and 10?

Set the minimum to 1 and the maximum to 10 and click Generate. Both 1 and 10 can be chosen.

How do I pick lottery numbers?

Set the range (for example 1 to 59), how many numbers you need, and untick Allow duplicates so no number appears twice. Tick Sort results to list them in order.

Can I generate decimals?

Yes. Untick Whole numbers only. Duplicates are then always allowed, as two random decimals are practically never equal.

Is it fair?

Yes. Every number in the range is equally likely, every time.

☕ Support toolcrate