Random Number Generator
Pick numbers between any two values. Change the seed to draw again - the same seed always gives the same numbers, so a shared link shows the same draw.
How the math works
Each number is drawn from a small deterministic generator started from your seed, then scaled into your range. Whole numbers use floor(lo + r x (hi - lo + 1)), which gives every value in the range an equal chance including both ends. Because the seed decides everything, the same seed always produces the same draw. That is what lets a result link show the same numbers to everyone who opens it.
Common questions
- Is this truly random?
- No, and it says so on purpose. It is a seeded pseudorandom generator, which means the seed decides the numbers. For a game, a raffle or picking a winner that is exactly what you want, because you can show anyone the seed and they can check the draw. For cryptography or anything with money at stake, use a source designed for that.
- How do I get different numbers?
- Change the seed. Any change at all gives a completely different draw. Adding one each time is the simplest way.
- How do I pick lottery numbers?
- Set the range to the game, the count to how many balls are drawn, and choose no repeats. For a 6 from 49 game, that is 1 to 49, six numbers, no repeats.
- Are both end numbers included?
- Yes for whole numbers. Enter 1 and 100 and both 1 and 100 can come up.
- Can I use this to pick a winner fairly?
- Yes, and the seed is what makes it defensible. Announce the seed in advance - a date works well - then run the draw in front of people. Anyone can reproduce it afterwards.