RandomWiz

Random Number Generator

This random number generator gives you a number between any two values, a list without repeats, a raffle or bingo draw, or lottery picks. Every number has exactly the same chance.

More options
Numbers

Result

?

History

    Your results will appear here.

    How to generate a random number

    1. Enter the smallest and largest number you want, or tap a preset like 1–10 or 1–100. Both ends are included.
    2. Choose how many numbers you need and whether repeats are allowed.
    3. Open More options for decimals, odd or even numbers only, or numbers to exclude.
    4. Press Generate, then copy or download your numbers.

    Three generators in one

    Range

    A random number between 1 and 10, 1 and 100 or any two numbers up to one billion. Make lists of up to 10,000 numbers, with or without repeats, and see the sum and average.

    Draw

    Call raffle tickets or bingo balls one by one. Numbers never repeat, the board shows what has been drawn, and you can undo a mistake.

    Lottery

    Quick picks for Powerball, Mega Millions, EuroMillions, UK Lotto and 6/49, or set up your own game with bonus balls.

    Try these free tools next

    Tap a range to get a number instantly. Both ends are included, so a random number between 1 and 10 can be 1, 10 or anything in between.

    Random number generator with no repeats

    To get a list of random numbers without duplicates, set How many and leave Allow repeats off. You can create up to 10,000 unique numbers in one go, as long as the range holds enough numbers. It works like drawing from a hat without putting anything back, which statisticians call sampling without replacement.

    Use it to shuffle the numbers from 1 to 30, assign random IDs, or pick a survey sample.

    Lottery number generator

    The Lottery mode makes quick picks that follow the rules of each game, including the bonus ball. Choose Powerball, Mega Millions, EuroMillions, UK Lotto or 6/49, or build a custom game with any pick 3, pick 4 or other format.

    Be careful with any site that promises numbers based on past results or frequency. Lottery draws are independent, so past results can't predict the next draw. Every combination has the same chance, and no generator can improve your odds. Please play responsibly.

    Bingo number generator and raffle draw

    The Draw mode calls numbers one at a time and never repeats one, just like a bingo cage. A board shows every number already called, and you can undo a mistake. Use 1 to 75 for American bingo and 1 to 90 for UK-style bingo (housie or tambola).

    For a raffle, enter the first and last ticket number and press Draw for each prize. It is a simple and fair way to pick a raffle winner at a school fair, office party or charity event.

    Decimals, exclusions, odd and even numbers

    Open More options for a more advanced random number picker:

    • Decimals: generate numbers with up to six decimal places.
    • Exclude numbers: leave out numbers and ranges, such as 13, 20-25.
    • Odd or even only: restrict the result to odd or even numbers.
    • Negative numbers: use any range from -1,000,000,000 to 1,000,000,000.
    • Sorting and export: sort your list, choose a separator, then copy or download it.

    How does a random number generator work?

    A random number generator (RNG) produces numbers with no predictable pattern. There are two main kinds. A true random number generator measures something physical, such as electrical noise. A pseudo-random number generator uses a formula that starts from a seed value. It is fast, but anyone who knows the seed can repeat the sequence.

    This tool uses the Web Crypto API built into your browser. It is a cryptographically secure generator, seeded with unpredictable data collected by your device. We also use rejection sampling, which removes the small bias that simple methods introduce, so every number in your range is equally likely. The numbers are made on your device and never sent to us.

    Random numbers in Excel, Google Sheets and code

    Need a random number in a spreadsheet or a program? These lines each give a whole number from 1 to 100:

    WhereFormula or code
    Excel and Google Sheets=RANDBETWEEN(1,100)
    Excel, unique list of 10=TAKE(SORTBY(SEQUENCE(100),RANDARRAY(100)),10)
    Pythonrandom.randint(1, 100)
    JavaScriptMath.floor(Math.random() * 100) + 1

    Frequently asked questions

    Are the numbers truly random?

    They come from your browser's cryptographically secure random generator (Web Crypto) with rejection sampling, so every number in the range has exactly the same chance and there is no bias towards any value.

    How do I get random numbers without repeats?

    Turn off Allow repeats. Each number in the list will then be different. To draw numbers one at a time without ever repeating, for a raffle or bingo, use Draw mode.

    How do I pick a random number between 1 and 100?

    Tap the 1–100 preset, or type 1 as the minimum and 100 as the maximum, then press Generate. Both ends are included.

    Can I exclude certain numbers?

    Yes. Type them into Exclude, separated by commas. Ranges work too, for example 13, 20-25.

    Do lottery picks improve my chances?

    No. Every combination has the same chance of winning. The lottery mode is a fair quick pick that saves you choosing numbers yourself.

    What is a random number between 1 and 10?

    Press the Random number 1–10 link above for a fresh, fair answer. Each of the ten numbers has a 10% chance.

    What does RNG mean?

    RNG stands for random number generator. In games, people use it to describe outcomes decided by chance.

    Can a random number generator be predicted?

    Simple pseudo-random generators can be predicted if the seed is known. This tool uses your browser's cryptographically secure generator, which is designed to be unpredictable.

    How do I pick random numbers for a raffle?

    Open Draw mode, enter your first and last ticket numbers and press Draw next number for each prize. Numbers never repeat.

    Can it generate multiple sets of lottery numbers?

    Yes. In Lottery mode, choose how many lines you want, from 1 to 10, and press Quick pick.

    Can I use this for an official draw?

    It is fine for casual and community draws. Official prize draws may have legal rules, so check what applies where you live.

    Picking names instead of numbers?

    Use the Random Name Picker wheel, or find new names with the Random Name Generator.