Random number generator

Pick a number from any practical range.

Start with 1–100, or enter your own integer range. Generate one result instantly, or reveal quantity and repeat controls only when you need them.

Quick ranges
Advanced options

Result

Choose Generate or press Enter.

How the number generator works

BeanNest uses the browser Web Crypto API and rejection sampling so the supported integers in your range have equal mapping probability. With repeats turned off, the generator keeps drawing until it has the requested number of distinct integer values.

Range limits

Minimum and maximum must be safe integers. One range can contain up to 4,294,967,296 integer values and one action can generate up to 1,000 results.