How to use this tool
- Enter minimum, maximum.
- Select Generate for a fresh value.
- Check the method and assumptions below before using the result.
Input reference and sample values
Use the units and choices shown for each field. Sample values are provided for practice, not as recommendations.
| Input | Format and units | Sample |
|---|---|---|
| Minimum | Numeric value. | 1 |
| Maximum | Numeric value. | 100 |
The method, explained
A cryptographic 32-bit random value is sampled. Rejection sampling removes modulo bias before mapping it to the inclusive integer range.
With a minimum of 1 and a maximum of 6, each click produces a value from 1 to 6, like a six-sided die.
What to keep in mind
Repeated values are possible and expected. This tool generates one independent value at a time; it is not a lottery prediction system.
Common questions
Can the result equal the maximum?
Yes. Both endpoints are included.
Why did I get the same number twice?
Independent random draws can repeat. A repeat does not mean the generator failed.
Methodology maintained by ClarityKit. How these tools are built and checked.