Ultimate Calculator
Everyday

Random Number Generator

Generate one or more random whole numbers in any range, with or without repeats.

Your random number

48

Chance of any one value
1 in 100

The formula

each whole number in the range is equally likely

Each number in your range has an equal chance of being picked. The generator uses your browser’s cryptographic random source. Turn repeats off to draw without replacement, like pulling numbered balls from a bag.

How to use this calculator

  1. Enter from.
  2. Enter to.
  3. Enter how many.
  4. Choose repeats.
  5. Read the answer on the right. It updates as you type, and the numbered steps underneath show how it was worked out.

Common questions

Are the numbers truly random?

They come from your browser’s cryptographically secure generator, which is unpredictable for all practical purposes.

How do I simulate a dice roll?

Set the range from 1 to 6. For two dice, generate 2 numbers with repeats allowed.