Random Number Generator
Generate random whole or decimal numbers within any range.
What is the Random Number Generator?
This tool produces random numbers between a minimum and maximum value you choose, either as whole numbers or with two decimal places, one at a time or many at once. It uses your browser's cryptographically secure random source and a bias-free selection method, so every number in the range has an equal chance of being picked, even near the edges of the range.
How to use it
- Enter your minimum and maximum values, and how many numbers you want.
- Turn on decimals if you need non-whole numbers, or "no duplicates" if you're drawing unique values, such as raffle tickets or lottery-style picks.
- Click Generate to see your results.
Common uses include picking a random winner from a numbered list, generating sample or test data for a spreadsheet, rolling dice-style values for games, or making an unbiased selection when a decision needs to be left to chance. The "no duplicates" option is only available when the range is large enough to supply the requested count — the tool will let you know if you've asked for more unique numbers than the range can provide. As with the other generators on this site, all randomness is produced locally in your browser, with nothing recorded or transmitted.