Random number generator

This random number generator picks fair random numbers in any range: set the lowest and highest numbers, choose how many, and press Generate.

Quick picks:

?

History newest first, kept in this browser

    How to use the number generator

    1. Type the lowest number in From and the highest in To. Both numbers can come up.
    2. Choose how many numbers you want.
    3. Tick "No repeats" if each number should appear only once, and "Sort" to list them from low to high.
    4. Press Generate. Your numbers appear at once, and each set is kept in the History list.

    The quick picks fill in common settings for you: 1 to 10, 1 to 100, 1 to 1000, or six different numbers from 1 to 49.

    What it does that a basic box does not

    A search engine’s own box gives you one number at a time. This generator makes a whole list in one press, with or without repeats, and sorts it if you like. It handles decimals, negative numbers and very large ranges, keeps a history of your results in your browser, and gives you a link that opens with the same settings. That makes it useful for real jobs, not just a quick pick.

    Ideas for random numbers

    • Raffles and draws: pick winning ticket numbers, with no repeats.
    • Classrooms: choose a question number, a page or a student number.
    • Games: decide who goes first, or invent your own dice.
    • Sampling: pick random rows from a numbered list or survey.
    • Practice: make random sums for times tables or mental maths.

    How the picks stay fair

    Each number comes from your browser’s built-in cryptographic random numbers. A simple method can make some numbers a little more likely than others; this one throws those values away and draws again, so every number in the range has exactly the same chance. Decimals are picked the same way, on a fixed grid of steps, so 0.25 is as likely as 0.26. Past results never change future ones, so the same number can come up twice in a row unless you tick "No repeats".

    Big ranges, negative numbers and decimals

    The range can be as small as 1 to 2 or as large as a quadrillion, and it can include negative numbers, such as -50 to 50. If you type the bigger number in From by mistake, the generator swaps them for you. For decimals, choose how many places you want. With one place, from 1 to 2 gives numbers like 1.4 and 1.9, and both 1.0 and 2.0 can come up. If you ask for more different numbers than the range holds, such as 20 different numbers from 1 to 10, the page tells you instead of quietly repeating any.

    Prefer to watch it spin?

    For a class or a group, a number you can watch arrive feels more exciting. The number wheel spins for a number from 1 to 10 or any range, and the dice roller rolls up to 20 dice at once.

    Questions people ask

    Is this random number generator truly random?

    It uses your browser’s cryptographic random number generator, the kind used for security, and throws away any value that would make low numbers more likely. Every number in the range has the same chance.

    How do I get numbers with no repeats?

    Tick "No repeats" before you press Generate. Each number then appears at most once in the list, like drawing numbered balls from a bag.

    Can it pick decimals?

    Yes. Choose 1, 2 or 3 decimal places under Numbers. For example, from 0 to 1 with 2 places gives numbers like 0.37.

    How many numbers can I make at once?

    Up to 1,000 in one go. Press Copy numbers to paste them into a spreadsheet or a document.

    What does the "6 from 1 to 49" button do?

    It picks six different numbers from 1 to 49 and sorts them, the way many number-draw games do. It is just for fun; it cannot make any draw more likely to come up.

    Can I share my settings?

    Yes. Press Copy link to these settings. Anyone who opens the link gets the same range and options, but their own fresh random numbers.

    More wheels and generators