Calculator guide
Generate an integer between your minimum and maximum, including both endpoints. Decimal bounds are rounded inward: the minimum rounds up and the maximum rounds down.
Formula or method
Select a random integer between the entered lower and upper bounds. The result is a draw, not a prediction or ranking.
How to use this calculator
- Enter the lower and upper bounds.
- Generate a new value; check the inclusive bounds and do not treat it as cryptographic randomness.
Worked example
With bounds 1 and 6, a result must be one of 1, 2, 3, 4, 5, or 6. Repeated results are possible.
Understanding the result
The displayed integer is a draw from the integer range, not an estimate of a measured quantity. Consecutive results may repeat. If rounding leaves no available integer, adjust your bounds.
Limitations and assumptions
- Small samples need not look evenly distributed. Do not use a casual random tool for audited lotteries or security keys.
- The worked example demonstrates the stated assumptions, not a recommendation about your personal circumstances.
Frequently asked questions
Are the minimum and maximum included?
Yes, after the minimum is rounded up and the maximum is rounded down to integers.
Why can the same number appear twice?
Each action generates a new draw without excluding previous results. Repeats are possible.
Can I use this for security or an official drawing?
No. This tool uses Math.random, which is not a cryptographically secure or audited randomness source.
Sources
Educational and planning information only. Sources are attributed background or formula references, not endorsements. Verify consequential decisions with an appropriate qualified professional.