Sortio

Sortio / Numbers

Random number generator

Set the range, the amount and the rules. The draw is instant.

The result shows up here.

How to draw random numbers

Enter the lowest and highest number of the range (both can come up) and how many numbers you want. By default numbers do not repeat, like balls in a lottery drum: each number comes out at most once. Tick Allow repeated numbers for something like rolling a die many times, where the same value can come back.

In Exclude numbers list what must not come up, separated by commas, and use ranges if you like: 7, 13, 20-25. It helps when some numbers were already drawn, when a raffle has sold tickets, or when a number is unlucky for your group.

Examples

Limits and care

You can draw up to 10,000 numbers at once, from ranges up to a billion values wide. Without repeats the tool tells you if you asked for more numbers than exist in the range (after exclusions). If you draw something of value, show the screen live: the result link records the date and time, but only a live broadcast proves it was done on the spot.

The generator is the browser's crypto.getRandomValues, discarding values that would cause bias. That is what makes each number in the range equally likely.

Frequently asked questions

Can the minimum and maximum come up?

Yes. The range is inclusive: from 1 to 10 can return 1 and can return 10.

Can I draw negative numbers?

Yes. Use a negative minimum, such as -50 to 50.

Is the draw fair?

Yes, in the way that matters: every draw uses crypto.getRandomValues, the browser's secure random number generator, with an unbiased method (values that would favour some numbers are thrown away). Every option has exactly the same chance. Nothing is arranged beforehand and nothing is sent to a server.

How do I draw without repeating?

Leave the repeat option off. To draw again without the previous ones, put the numbers already drawn in Exclude numbers.