๐Ÿ”ข Random Number Generator

Generate a random number between any two values. Great for games, raffles and decisions.

About this generator

Whether you need a number for a game, a raffle, a classroom activity or a decision, this random number generator provides a fair result in a click. Set a minimum and a maximum, both of which are included in the range, and press the button. You can use any whole numbers, including negatives, and if you enter the values the wrong way round the tool swaps them for you.

The tool uses your browser's cryptographically secure random number generator and a method that avoids the small bias found in simple approaches, so each number in your range is equally likely. That makes it suitable for giveaways, picking a winner, choosing who goes first or settling friendly disputes fairly.

To pick a winner from a list, number the entries from one to the total and generate a number. For dice, set the range to 1 to 6, or 1 to 20 for a tabletop game. For lottery-style numbers, generate repeatedly and ignore any duplicates. Remember that for official draws or legally regulated competitions you should follow the relevant rules.

FAQ

Are both the minimum and maximum included?

Yes. Either end of your range can be returned.

Is it fair enough for a giveaway?

It's equally random across all numbers, so it's suitable for informal giveaways. For regulated competitions, follow the official rules.

Can I use negative numbers?

Yes. Enter any whole numbers, including negatives.

Can I generate more than one number?

Press the button again for each additional number.

More generators

Popular generators

Browse all generators