Random · Raffles, games & sampling

Random Number Generator

Truly random numbers in any range — one or many, with an optional no-duplicates mode for raffles and draws where a number can only win once.

Raffle-ready draws

Set min 1, max to your ticket count, turn on no-duplicates, and draw one number per prize. No ticket can win twice — the guarantee is structural, not luck.

Uniform distribution

Rejection sampling over the range means every number is exactly equally likely — no modulo bias sneaking in from the random source.

Sampling demos

Teachers: generate 1000 numbers in 1–10 and sort them — the roughly equal bucket sizes make a great live demonstration of uniform distribution.

How to use the random number generator

  1. Set the range

    Enter the minimum and maximum (inclusive). Order does not matter — min and max are auto-corrected.

  2. Choose how many

    Generate 1 to 1000 numbers at once. For a single pick, leave it at 1.

  3. Toggle no-duplicates

    For raffles and draws, enable it so each number can only appear once. The count caps itself to the range size.

  4. Generate and sort

    Hit Generate. Use "Sort ascending" to scan results quickly, or copy the draw order for raffles.

Cryptographic randomness, but this is a convenience tool — not certified for regulated lotteries or gambling.

Frequently asked questions

Related tools

Need a custom tool?

We build calculators and internal tools for businesses — get in touch.

Directory last updated 2 December 2026.

Disclaimer: for casual draws, games and teaching only — not certified for regulated lotteries, gambling, or cryptographic key generation.