Saltar para o conteúdo
CalcVerse

Gerador de números aleatórios

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.

Defina um intervalo e clique em Gerar.

Usa o gerador aleatório criptograficamente seguro do seu navegador.

O guia abaixo ainda não está disponível em português e é apresentado em inglês. A calculadora está totalmente traduzida.

Como usar esta calculadora

  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.

Fórmula

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)

Perguntas frequentes

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.