Random Number Generator
Pick a random whole number in a range.
Generate a random whole number between any two values — for raffles, games, decisions and sampling. Hit Regenerate to draw again. It runs locally using your browser’s random generator.
Formula / method
Examples
e.g. 47
e.g. 4
A number in your range
Set a minimum and a maximum, and the tool returns a whole number somewhere between them, with both ends included. Every value in the range has an equal chance of coming up, so a range of 1 to 6 behaves like a fair die and 1 to 100 like a raffle draw. Press regenerate to get a fresh pick whenever you want another result.
The number is generated the moment you ask for it, on your own device, so nothing is sent to a server and no two visitors share a sequence.
Fairness and good uses
It is well suited to picking a giveaway winner, choosing a random order, settling a decision, or seeding a game. Make sure your minimum is not larger than your maximum, or the range is empty. While the generator draws from your browser's built-in randomness, treat it as good for everyday and casual use rather than for generating security keys. For strong passwords or tokens, the dedicated Password Generator is the safer choice, and for tabletop rolls try the Dice Roller.
Where it's used
- Picking a winner for a giveaway or raffle
- Choosing a random sample or test case from a range
- Generating a lucky number, lottery pick, or bingo call
- Assigning random teams, turn order, or seat numbers
- Settling a quick decision when a coin or die isn't handy
Real-world examples
- A streamer draws a random number from 1 to 850 to pick a giveaway winner from the entrants.
- A teacher generates a number from 1 to 30 to cold-call a student fairly.
- A tester grabs a random value between 1000 and 9999 to use as a sample order number.
Did you know?
Numbers from software tools like this are technically pseudo-random: a deterministic formula seeded by a starting value produces a sequence that looks random but repeats exactly if you know the seed — fine for games and picks, though cryptography uses a separate hardware entropy source instead.
FAQ
Is it truly random?
It uses your browser’s cryptographic random generator, which is high quality. Each draw is independent, so previous results don’t affect the next.