Guide
Random numbers: drawing with and without repetition
Selecting ticket numbers, preparing a game or sampling numbered entries first requires a decision about repetition. The display separates output order from which distinct numbers were actually selected. These are different aspects of the same draw.

Quick answer
What the result tells you
Without repetition, each number can appear only once within a draw. With repetition, every number stays available. A new calculation starts with the complete range in both cases.
What matters
Equal chances do not imply a balanced short sequence
With repetition, a number can appear several times in a row while another is absent for a long time. That alone does not establish a fault. Conversely, a neatly balanced short sequence does not prove a better generator. This tool uses the browser’s secure random source; it does not certify external competitions or lotteries.
Distinguish drawn and remaining numbers
Number cards show the actual output. For small ranges, a grid marks every drawn value. For larger ranges, a labeled scale shows their positions; the remaining count refers to distinct values not yet drawn.
Examples and comparisons
Selecting three of five numbers
Load this example’s inputs in the calculator. Review them, calculate the result, then adapt the values to your own case.
The range and draw rules are transferred. A fresh draw produces new numbers, so they may differ from the fixed illustration in this guide.
Change one input
Drawing the full range leaves no values behind
Direct comparison
| Scenario | Number of draws | Distinct numbers not drawn |
|---|---|---|
| Scenario 1 | 3 | 2 numbers |
| Scenario 2 | 5 | 0 numbers |
| Change from scenario 1 to scenario 2 | -2 numbers · -100% relative | |
Also verify before making a decisionThis does not predict lotteries or other random events. Previous draws do not influence a new calculation. It is not a password or key generator. If the secure random source is unavailable, no substitute draw is produced.
Assess your case
Choose the appropriate approach
Number the list and draw without repetition. Each selected number identifies one entry.
Allow repetition. A previous result is not excluded from the next roll.
Checklist
Before using the answer
- Both endpoints are included.
- The repetition rule fits the task.
- A distinct draw does not exceed the available range.
Common mistakes
Common mistakes
The maximum can also be drawn. 1 through 5 does not contain only four values.
Five available values permit at most five selections without repetition.
A new calculation is independent. A previously rare number is not therefore due next.
Drawing the full range leaves no values behind
The range remains 1 through 5 with no repetition. After three selections, exactly two other values remain, regardless of which numbers were drawn. Drawing five leaves zero. The illustration 2, 5, 1 is fixed and does not predict any future draw.
- How many distinct integers are in the range when both endpoints are included?
- Why can a draw without repetition never contain more numbers than that?
- Why does the display of this draw not predict a new independent draw?
Calculator for this guide
Choose repetition deliberately
Use no repetition when selecting different ticket numbers. To simulate repeated dice throws, allow repetition and choose a range of 1 through 6.How the calculation works
Calculation
Calculation method and model limits
Both minimum and maximum belong to the range. Without repetition, a drawn number is removed for the rest of that draw. With repetition, it remains available immediately.
Define the complete range including both endpoints.
For each selection, draw from the values still available.
Count distinct selected values and subtract that count from the range size.
Illustration, not a current draw: from 1 through 5, a draw without repetition selects 2, 5 and 1. Three distinct numbers are chosen, leaving 3 and 4.
Simplified formula
Available values = maximum − minimum + 1. Each currently available integer has the same chance on the next selection. The browser’s secure random source is mapped to this range without modulo bias.
Scope and assumptions
The calculation itself is country-independent. Language and display choices do not change its mathematical logic.
- Calculation
- Country-independent calculation
- Applies to
- International
- Currency
- No monetary calculation
- Units
- No unit conversion needed
Questions about number ranges and repetition
Are both endpoints included?
Yes. The range 1 through 6 contains six possible integers. A range containing just one integer is also allowed.
Can the same number appear in the next calculation?
Yes. No repetition applies within one draw. A new calculation starts with the full range again.
Does ascending order make the result less random?
No. It only rearranges values after the draw. The selected numbers remain unchanged.
We test the worked example automatically with the same logic used by the calculator. Sources, inputs, rounding and model limits are listed separately. This does not replace case-specific professional advice.
Responsible editor: Jens Marx
Formulas, examples, input limits and displayed comparisons are checked internally. No external professional review has been carried out.