Skip to content
OddsockLocal
Local
Source text
Minimum (inclusive)1
Maximum (inclusive)100
How many1
Unique numbersno
Orderdraw order
ReadyRuns in this browser. Nothing is uploaded.

How to use

  1. Set the inclusive minimum and maximum.
  2. Set how many, and unique if repeats are forbidden.
  3. Choose draw order, ascending, or descending.
  4. Read the list.

What is Random number?

A random integer people write themselves is often Math.random() truncated, which makes the high end slightly less likely. This page draws with rejection sampling so every integer from the minimum through the maximum is equally likely. The range opens at 1 through 100. A single draw in that range is one number, such as 93, and the next draw is unrelated.

Read more

How many can go to 1000. Unique refuses the run when the range is smaller than the count, instead of repeating. Order can stay in draw order or be sorted ascending or descending. Sorting does not change which numbers you got. It only changes the reading order. Decimals are not produced. The minimum and maximum are inclusive.

Dice are a separate page with faces and a total. A PIN of fixed length, with leading zeros possible, is the PIN generator, not this range.

Use cases

  • A raffle draws one integer from 1 to 100.
  • A teacher draws 5 unique numbers from 1 to 30 and sorts them.
  • A test needs 20 values across a wide range in draw order.
  • A game master wants 2 through 12 without pretending two dice were rolled.
  • Someone checks that asking for 101 unique values from 1 to 100 is rejected.

One number from 1 to 100

Minimum 1. Maximum 100. How many 1. Unique no. Order draw order.

A single integer in that range. 93 is one possible result. Run it again for another.

Why use Oddsock

Oddsock runs this in your browser. It is free, it does not upload the work, and it does not ask for an account.

Related tools

Using this tool

Yes. Minimum 1 and maximum 100 can produce 1 and can produce 100.