Skip to content
CalcVerse

Random Number Generator

Generate random numbers in any range: a single number, a list with or without repeats (for raffles and draws), or random decimals, using a cryptographically secure source.

Set a range and press Generate.

Uses your browser's cryptographically secure random generator.

How to use this calculator

  1. Enter the minimum and maximum (both included).
  2. Choose how many numbers and whether they must be unique.
  3. Choose integers or decimals, then press Generate.

Formula

Numbers come from the browser's cryptographically secure generator. Rejection sampling ensures every integer in the range is exactly equally likely, and unique draws use a Fisher–Yates shuffle.

P(any integer in [min, max]) = 1 / (max − min + 1)

Frequently asked questions

Are the numbers truly random?

They come from your operating system's cryptographic random source, which is suitable for security purposes and far better than typical pseudo-random functions.

How do I pick lottery numbers?

Set the range (e.g. 1 to 49), the count (e.g. 6) and keep 'no repeats' ticked. Every combination is equally likely.

Can I use this for a giveaway?

Yes. Number the entries and draw the needed number of unique winners. For transparency, record your screen or have a witness.