Random Number Generator

Pick a random number between any two numbers — or generate a whole list at once.

–

Recent results

    How to use it

    Enter the lowest and highest numbers you want (both are included), choose how many numbers to generate, and press Generate. Untick "allow duplicates" to get unique numbers only — useful for lottery-style draws, raffle tickets or random sampling.

    How random is it?

    Numbers come from your browser's cryptographically secure random number generator (crypto.getRandomValues), the same source used for encryption keys. We also use "rejection sampling", which removes the small bias that simpler generators have, so every number in your range is exactly equally likely.

    Popular ranges

    Common uses

    Frequently asked questions

    Are the min and max included?

    Yes. A range of 1 to 10 can return 1, 10 or anything in between.

    Can I generate numbers without repeats?

    Yes, untick "allow duplicates". You can generate up to 1,000 unique numbers at a time.

    Can I use negative numbers?

    Yes, for example a min of -50 and max of 50.

    Related tools