Generate secure random numbers or pick random items from a list.
Set the range and how many numbers you need — for example between 1 and 100 — and press Generate.
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.
The calculator applies the standard method step by step.
| Item | Value |
|---|---|
| Count | 5 |
| Smallest | 25 |
| Largest | 66 |
| Sum | 225 |
| Average | 45 |
| Possible values in the range | 100 |
| Setting | Generated |
|---|---|
| 1–100, 5 numbers | 49, 16, 93, 20, 65 |
| 1–6 (dice), 3 rolls | 5, 5, 4 |
| 1–10, 10 unique | 7, 6, 1, 2, 3, 5, 8, 10, 9, 4 |
| 0–1, 3 decimals | 0.106, 0.326, 0.223 |
| 1–1000, 5 numbers | 298, 714, 211, 381, 284 |
It uses your browser's cryptographically secure random source, which is suitable for raffles, sampling and games. It is far stronger than Math.random().
Set the minimum to 1 and the maximum to 10 and press Generate.
Tick 'No repeats'. You can ask for no more numbers than the range contains.
Yes — minimum 1, maximum 6, and as many rolls as you like.
Use the second tool: paste the names, one per line, choose how many winners and press Generate.
No. Rejection sampling ensures every value in the range has exactly the same chance, and no data is stored or sent.
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.
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.
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.
No. Everything is calculated in your browser and nothing you enter is uploaded or saved.