How This Generator Works
This tool uses JavaScript's built-in pseudorandom number generator to produce numbers uniformly distributed across your chosen range — suitable for games, raffles, sampling, and everyday randomization needs.
Pseudorandom vs. True Random
Like most software random number generators, this uses a pseudorandom algorithm — deterministic but designed to appear statistically random. For everyday purposes (games, drawings, sampling), this is indistinguishable from true randomness. For cryptographic or security purposes, a cryptographically secure random number generator is required instead.
Unique vs. Non-Unique Generation
With duplicates allowed, each number is drawn independently, so repeats are possible (like independent dice rolls). With uniqueness enforced, each number is removed from the pool once drawn, similar to drawing raffle tickets without replacement.