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.
Frequently Asked Questions
Sources and References
- Math.random() - JavaScriptMDN Web Docs
- Fisher-Yates shuffleWikipedia
- Random.org - True Random Number ServiceRandom.org
Calculations are based on the listed reference sources. Links open in a new tab.
Related Tools
Flip a virtual coin for heads or tails, run quick series of 5, 10, or 100 flips, and track live heads/tails statistics and recent history.
Roll virtual dice online: d4, d6, d8, d10, d12, d20, and d100 with 1-10 dice, a modifier, roll notation, totals, and recent history.
Generate a strong random password in your browser with length, character set, strength estimate, and one-click copy.
Generate UUID v4 and GUID-style identifiers in bulk, with uppercase, no-dash, and brace formatting options.