Apps by Jerry

Random Number Generator

Pick a random number, or a whole set of them, between any two numbers.

?

Space or Enter: generate

    More tools

    Quick answer

    How do I generate a random number?

    Enter the lowest and highest number, choose how many numbers you need, and press Generate (or Space). Keep No repeats on for unique numbers, turn on Sort to order them, and press Copy to paste the results anywhere. Every number in the range is equally likely.

    How to use the random number generator

    1. Enter the lowest and highest number you want.
    2. Choose how many numbers to pick. Keep No repeats on to get different numbers every time.
    3. Press Generate or Space. Press Copy to copy the results.

    What people use it for

    Is it truly random?

    Numbers come from your browser's cryptographic random number generator, and the range is sampled without bias, so every number in the range has exactly the same chance. Nothing is sent to a server.

    How this generator stays fair

    Many simple generators use a fast formula that only looks random. This one uses your browser's cryptographic random number generator (crypto.getRandomValues), the same kind used for security keys. It also avoids modulo bias, a common mistake that makes some numbers slightly more likely, by throwing away values that would not divide evenly into your range. We tested it with millions of draws and the counts matched what pure chance predicts.

    How to pick a giveaway winner fairly

    1. Number your entries in a list, from 1 to the total.
    2. Set Min to 1 and Max to the number of entries.
    3. Set How many to the number of winners, and keep No repeats on.
    4. Press Generate, then take a screenshot or record your screen to show it was fair.
    5. Match the numbers to your list.

    Odds for common ranges

    DrawOdds
    One number from 1 to 101 in 10
    One number from 1 to 1001 in 100
    6 numbers from 1 to 49, no repeats1 in 13,983,816 to match all six
    5 numbers from 1 to 50, no repeats1 in 2,118,760 to match all five

    Guess-the-number game

    Generate a secret number from 1 to 100 and let a friend guess, answering only “higher” or “lower”. With the best strategy (always guess the middle), anyone can find it in at most 7 guesses, because 27 = 128 is more than 100.

    Frequently asked questions

    What is the difference between true random and pseudo-random?

    True random numbers come from physical noise. Pseudo-random numbers come from an algorithm. Cryptographic generators like the one used here are seeded from system noise and are unpredictable in practice.

    Can I pick numbers for a lottery?

    Yes. For example, set 1 to 49, How many to 6 and keep No repeats on. Every combination is equally likely, so no pick improves your odds.

    Can I copy the results?

    Yes. Press Copy to copy all the numbers, separated by commas.

    Can I generate numbers without repeats?

    Yes. Keep No repeats checked and every number in the result will be different.

    How many numbers can I generate at once?

    Up to 1,000 per click.

    Can I use negative numbers?

    Yes. Any whole numbers work, including negatives.

    Is it fair for giveaways?

    Yes. Every number in the range has an equal chance. For transparency, share your screen or record the draw.