Random number generator

Draw whole numbers from a range, with or without duplicates.

Calculation inputs

Integers in range

6
QR code

How the calculation works

Both range endpoints are inclusive. The browser draws uniformly distributed integers after you press Generate. Without duplicates, each drawn number is removed from the remaining choices. A draw can contain up to 100 numbers.

Example

From 1 to 6 there are six possible values. Two draws without replacement are always distinct.

Random values in the browser — W3C

Method checked