How it works
Enter the smallest and largest values you want; every whole number between them, both included, has an equal chance. The draw uses your browser's cryptographic random source, the same quality used for security keys, not a simple arithmetic formula. Change an input or reload for a new draw.
Formula
1 ÷ (maximum − minimum + 1).
With 1 to 100 that is 1 in 100 for every value.
Example
Example in plain words. A number between 1 and 100.
There are 100 possible values, each equally likely.
One draw might give 57; the next draw is fully independent.
Frequently asked questions
Is it really random?
It uses the crypto-grade random source built into the browser, which passes the standard statistical tests and is unpredictable, unlike the common Math.random.
Can I draw decimal numbers?
This generator draws whole numbers. For decimals, draw a large integer and divide, for example by 100 for two decimals.