Number Range Generator

Generate multiple random whole numbers from a range, with or without duplicates.

  • Free to use
  • Accurate results
  • No registration required
  • Works on all devices
Enter a range, count, and duplicate preference to generate multiple random numbers at once.

Your result

5, 43, 8, 2, 49, 35

Generated numbers

AI explanation

Formula

Without duplicates: a random sample from the range (Fisher-Yates shuffle). With duplicates: each number drawn independently.

Worked example

6 unique numbers from 1-49 (like a lottery draw)

Worked example: 6 unique numbers from 1-49 (like a lottery draw)
FieldValue
Minimum1
Maximum49
How many numbers6
Allow duplicatesfalse
Generated numbers7, 15, 23, 31, 38, 44

Assumptions

  • Without duplicates, the count cannot exceed the number of integers in the range.

Frequently asked questions

How do I generate lottery-style numbers?

Set the range to match your lottery's numbers (e.g. 1-49), the count to how many numbers are drawn, and leave "Allow duplicates" unchecked.

What happens if I allow duplicates?

Each number is drawn independently, so the same number can appear more than once in the result.

How do I get a fresh set of numbers?

Change any field or click Reset — either one draws a fresh set.

Related calculators

Report a calculation issue