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.

Wooden solids, ruler and a notebook with geometric shapes and a solved equation.
Illustrative image

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

See the relationship

Your draw within the range

Fixed illustration for this guide, not a live random draw.

  1. 1.2
  2. 2.5
  3. 3.1
✓ Distinct drawn values
3 / 5
Distinct values not yet drawn
2

Without repetition: each marked value was removed after selection. A new calculation starts with the full range.

Minimum, included1
Maximum, included5
Number of draws3
RepetitionWithout repetition
Output orderDraw order
Distinct numbers not drawn2 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

Sensitivity check · only one input changedNumber of draws → Distinct numbers not drawn

Direct comparison

Data points for the two calculated scenarios: Number of draws and Distinct numbers not drawn
ScenarioNumber of drawsDistinct numbers not drawn
Scenario 132 numbers
Scenario 250 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

When choosing different participants

Number the list and draw without repetition. Each selected number identifies one entry.

When simulating repeated dice throws

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

Excluding the upper endpoint

The maximum can also be drawn. 1 through 5 does not contain only four values.

Requesting more distinct values than exist

Five available values permit at most five selections without repetition.

Predicting from earlier results

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.
Open the matching calculator

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.

1
Count the range

Define the complete range including both endpoints.

2
Remove selected values

For each selection, draw from the values still available.

3
Read what remains

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.

Transparency

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.

Continue calculating

Related tools

Explore the mean and spread of your drawn numbers. Common factors and multiples answer different questions about integers.

Editorial method

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.