Random Number Generator

    Generate random integers, decimals, list picks, coin flips, or d6 rolls with custom ranges, count controls, and no-repeat mode for integers and lists.

    Generate random numbers in a range

    Use this random number generator to create one result or a batch of results inside a custom minimum and maximum range. Integer mode includes both endpoints; decimal mode formats each value to the selected number of decimal places.

    • Choose integers for whole-number draws, raffles, classroom examples, and test data.
    • Choose decimals when you need values such as 0.25, 17.8, or 99.99.
    • Set the count to generate several values at once.
    • Turn on no repeats for unique integers or unique list picks.

    No-repeat mode and limits

    No-repeat mode is available for integers and list picks. If the requested count is larger than the available range or list, the tool returns the available unique values and shows a warning.

    N_unique is the returned unique count, N_requested is the requested count, and R is the integer range size or item count.

    For decimals, uniqueness is not enforced because rounding can make independently generated values look identical.

    Randomness source

    The browser implementation uses Math.random, which is suitable for casual decisions, classroom probability examples, games, mock data, and non-official draws.

    Do not use this generator for passwords, cryptographic keys, regulated gambling, official lotteries, cash prize drawings, or any process that needs an audit trail or certified randomness.

    Frequently Asked Questions

    Sources and References

    Calculations are based on the listed reference sources. Links open in a new tab.

    Updated:

    Related Tools