Sortalea
English ▾

Sortalea › Random number generator

Random number generator

Get one or several random numbers between two values – for draws, games, raffles or sampling.

—

How to use the generator

  1. Enter the minimum and maximum – both are included in the draw.
  2. Choose how many numbers you want.
  3. Tick No repeats if each number may only come out once (a raffle, a lottery-style draw).
  4. Click Generate. Click again for a new draw.

How the numbers are chosen

Each number comes from your browser’s cryptographic random generator. A common shortcut (taking a random value and using the remainder of a division) slightly favors some numbers; this tool discards those values, so every number in the range has exactly the same probability.

With a range from 1 to 100, each number has a 1% chance on every draw. With “No repeats”, numbers already drawn are skipped, like balls taken out of a bag.

Chance that a given number is drawn

Drawing without repeats, the chance that one specific number comes out is the number of draws divided by the size of the range.

Range 1 number 5 numbers 10 numbers
1–10 10% 50% 100%
1–20 5% 25% 50%
1–50 2% 10% 20%
1–100 1% 5% 10%
1–1000 0.1% 0.5% 1%

Ideas

  • Draw raffle or tombola winners from ticket numbers.
  • Pick a random page, question or exercise number.
  • Choose a random sample of rows from a numbered list.

Prefer names on a wheel? Try the spinning wheel. Playing a board game? Use the dice roller.

Frequently asked questions

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

Set the minimum to 1 and the maximum to 10, then click Generate. Both ends are included, so each number from 1 to 10 has a 1 in 10 chance.

Can I generate numbers without duplicates?

Yes. Tick “No repeats” to draw unique numbers, like a raffle where each ticket can only win once.

Is this random number generator fair?

Yes. It uses your browser's cryptographic random generator and avoids the bias of simpler methods, so every number in the range is equally likely.

How many numbers can I generate at once?

Up to 1,000 numbers in one click, which is enough for most raffles and samples.

More calculators