Free Online Calculator

Random Number Generator

Generate secure random numbers or pick random items from a list.

Last updated: Free, no sign-up Private — runs in your browser

Quick answer: a random number between 1 and 100

Set the range and how many numbers you need — for example between 1 and 100 — and press Generate.

Overview of the Random Number Generator

This generator draws random integers or decimals between any minimum and maximum, up to 1,000 at a time. Choose whether repeats are allowed, how many decimal places to use and whether to sort the list. A second tool picks winners or shuffles a list of names, one per line. Uses your browser's cryptographic random source, so every value in the range is equally likely.

Use it for raffles, sampling, games, lottery picks and dice (range 1–6). For sampling decisions see the Sample Size Calculator; to understand the results use the Statistics Calculator and Average Calculator.

How We Calculate

The calculator applies the standard method step by step.

  1. Set the minimum, maximum and how many numbers.
  2. Each number is drawn from crypto.getRandomValues using rejection sampling, which removes modulo bias.
  3. For decimals, the range is scaled by 10ⁿ, drawn as integers and scaled back.
  4. With 'no repeats', drawing continues until the required number of distinct values is found.
  5. List picking uses a Fisher–Yates shuffle with the same secure source.
each value equally likely: probability 1 ÷ (max − min + 1)
Worked example — random number generator
ItemValue
Count5
Smallest25
Largest66
Sum225
Average45
Possible values in the range100
Range and count (numbers differ each time)
SettingGenerated
1–100, 5 numbers49, 16, 93, 20, 65
1–6 (dice), 3 rolls5, 5, 4
1–10, 10 unique7, 6, 1, 2, 3, 5, 8, 10, 9, 4
0–1, 3 decimals0.106, 0.326, 0.223
1–1000, 5 numbers298, 714, 211, 381, 284

Random Number Generator — Frequently Asked Questions

Is this random number generator truly random?

It uses your browser's cryptographically secure random source, which is suitable for raffles, sampling and games. It is far stronger than Math.random().

How do I generate a random number between 1 and 10?

Set the minimum to 1 and the maximum to 10 and press Generate.

How do I get numbers with no repeats?

Tick 'No repeats'. You can ask for no more numbers than the range contains.

Can I roll a dice with this?

Yes — minimum 1, maximum 6, and as many rolls as you like.

How do I pick a random winner from a list?

Use the second tool: paste the names, one per line, choose how many winners and press Generate.

Is the generator biased?

No. Rejection sampling ensures every value in the range has exactly the same chance, and no data is stored or sent.

How is the random number generator calculated?

It uses the standard method: each value equally likely: probability 1 ÷ (max − min + 1) The full working and a worked example are shown on this page.

How accurate is this calculator?

Decimal results use standard double-precision arithmetic (about 15–16 significant digits). Tools that work with whole numbers — big numbers, factors, bases, combinations — use exact integer arithmetic, so no digits are lost.

Can I use it for homework or exams?

Yes for checking your work and learning the method. The steps and formula are shown so you can understand the answer, but follow your teacher's rules about calculators in exams.

Is my data stored?

No. Everything is calculated in your browser and nothing you enter is uploaded or saved.

More Free Calculators You May Need

Need a custom calculator or tool on your website?

Our team designs and develops fast, SEO-ready websites and web tools. Tell us what you need.

Call Us WhatsApp

Get a Free Quote

Tell us a bit about your project — we'll get back to you shortly.

3 + 9 =
Call WhatsApp