---
title: "Random Number Generator — Integers, Decimals, No Duplicates"
description: "Free random number generator using cryptographically secure randomness. Generate integers or decimals within any range, with optional no-duplicates mode. Up to 1,000 numbers at once."
url: "https://worldcalculators.org/calculators/random-number/"
canonical: "https://worldcalculators.org/calculators/random-number/"
---

# Random Number Generator

Free random number generator using cryptographically secure randomness. Generate integers or decimals within any range, with optional no-duplicates mode. Up to 1,000 numbers at once.

## Quick answer

Lottery quick-pick: Powerball — 5 numbers from 1–69 (no duplicates) + 1 from 1–26. EuroMillions — 5 from 1–50 + 2 from 1–12. Oz Lotto — 7 from 1–47. This generator supports all of these with the no-duplicates option.

## Why crypto.getRandomValues() is Better Than Math.random()

JavaScript's built-in Math.random() uses a deterministic algorithm — the same seed produces the same sequence. It's fine for simple games but not for security or fair draws. The Web Crypto API's crypto.getRandomValues() seeds from OS-level hardware entropy and is certified as a CSPRNG, the same standard used in encryption.

## Frequently Asked Questions

Yes — use Integer mode with min=1 and max set to your lottery range (e.g. 1–49 for UK National Lottery), enable unique picks, and set count to 6. This gives a statistically fair selection.
Enter all names separated by commas, enable unique picks, and generate the required number for each group. This is equivalent to drawing names from a hat.

Source: https://worldcalculators.org/calculators/random-number/
Markdown mirror of the HTML page. Prefer this URL for RAG; the interactive calculator still lives on the HTML page.
