Home › Random Number Generator

Random Number Generator

Need random numbers for a draw, a game, sampling or picking a winner? Set the range and how many numbers you want, choose whether repeats are allowed, and generate.

Numbers are drawn with your browser's cryptographic random source (crypto.getRandomValues), the same quality of randomness used for security tokens — nothing is sent to a server.

Want the full explanation? Read the guide: Random Number Generator Guide — How Random Numbers and Odds Work — how cryptographic randomness works, duplicates on or off, and real odds worked out (a specific number from 1–100 is a 1% chance; two dice total 7 at 16.67%; a 6-from-49 lottery has 13,983,816 combinations).

Last reviewed: November 2026 · Formulas and methods are documented in the guide and tested against worked examples.

Rate this calculator

Frequently asked questions

How does the random number generator work? It uses your browser's built-in random function to pick a number uniformly between the minimum and maximum you set — every value in the range is equally likely, and nothing is sent to a server.

Can it pick more than one number or avoid repeats? Generate as many times as you need. For lottery-style draws without repeats, generate and note each number, narrowing the range or re-rolling duplicates — every draw is independent.

Is the result truly random? It is pseudorandom — generated by a well-tested algorithm in your browser that is unpredictable for games, draws, raffles and decisions. It is not intended for cryptographic security; use the Password Generator for secrets.

Spotted a mistake in this calculator? Report it on the Contact page — every report is checked against the official source.

More Free Calculators