Formula
x = min + ⌊U × (max − min + 1)⌋, U uniform on [0, 1) How it works
Each draw picks a whole number between the minimum and the maximum, both included, with every value equally likely. The page uses your browser’s cryptographic random source and rejects out-of-range values, so there is no bias toward small numbers.
With “No repeats” on, numbers are drawn without replacement, like pulling raffle tickets from a hat — useful for picking winners, assigning seats or choosing lottery-style numbers. Turn it off to simulate independent events such as dice rolls, where the same value can come up again.
Press regenerate for a fresh draw. Results are never stored or sent anywhere.
Frequently asked questions
How do I roll a die?
Set the minimum to 1, the maximum to 6 and turn “No repeats” off. Set “How many” to the number of dice.
Are the numbers truly random?
They come from the operating system’s cryptographically secure generator, which is unpredictable for all practical purposes, though not suitable for regulated lotteries that require certified hardware.