Numerly

Random Number Generator

Set the range, click Generate, and you get a random integer. Use it for raffles, exercises, or just to break a tie.

How it works

We compute Math.floor(Math.random() × (max − min + 1)) + min. Both endpoints are included, and every integer in the range has the same probability.

Frequently asked

Is it cryptographically secure?
No. This uses Math.random(), which is fast and uniformly distributed but not safe for cryptography or gambling. For real money or secrets, use crypto.getRandomValues.
Are both endpoints inclusive?
Yes. If you set 1 to 100, both 1 and 100 can come up.
Can it pick decimals?
Currently integers only. We may add a decimal mode later.

Other decision tools

Popular generators

Popular calculators

Share

Popular converters