Random Number Generator

Generate one or more random numbers between any minimum and maximum you choose, with an option to keep them unique.

Reviewed by the WorldCalcs team · Methodology · Last reviewed: June 2026

Result

20

What is a random number generator?

A random number generator picks a number with no pattern or bias, so every value in your chosen range has an equal chance of coming up. People use one for raffles and giveaways, picking lottery-style numbers, choosing a winner, deciding turn order in games, or sampling data — any time you need an impartial choice.

How it works

You set the lowest and highest numbers, and the tool returns whole numbers anywhere in that range, endpoints included. Each click generates a fresh set. With the “unique” option on, no number repeats — useful for drawing names or raffle tickets; with it off, the same number can appear more than once, like rolling dice.

Example

To pick a winner from 250 entries, set the range from 1 to 250 and generate one number. To draw five unique raffle numbers between 1 and 100, set the range 1 to 100, ask for five numbers and turn on “unique.”

All calculations happen in your browser. Nothing is sent, stored, or tracked.

Results are estimates and may contain errors — for general information only, not professional advice. Always verify before relying on them. Disclaimer

How to use

Set the lowest and highest numbers, choose how many to generate, and turn on “unique” if you don't want repeats. Click Generate as often as you like for a new draw.

Both the minimum and maximum are included in the possible results. Negative numbers are supported.

Frequently asked questions

Are the numbers truly random?+

They use your browser's built-in random function, which is excellent for everyday uses like raffles, games and picking winners. It is not intended for cryptography or security.

Can I get the same number twice?+

Yes, unless you turn on the "unique" option. With duplicates allowed, each number is independent — like rolling a die repeatedly.

Does the range include the minimum and maximum?+

Yes. Both the lowest and highest numbers you enter are possible results.

How many numbers can I generate at once?+

As many as you like. If you ask for unique numbers, the count can't exceed how many numbers are in the range.

Can it pick negative numbers?+

Yes. Enter a negative minimum (for example −10 to 10) and the generator will include negatives.