Random Number Range Calculator
Find out how many integers exist within a given range and the total count of possible values.
Enter your values and click Calculate
How It Works
The total count of integers within the range is calculated as max โ min + 1, because both endpoints are included โ for example, 1 to 6 contains 6 values: 1, 2, 3, 4, 5, and 6. The spread is simply max โ min, representing the distance from one endpoint to the other. The midpoint is (min + max) / 2, which is the arithmetic center of the range; it will be a whole number only when the count is odd, and a half-integer when the count is even. The probability that a uniformly randomly chosen integer lands on any specific value is 1 รท count ร 100. This assumes a discrete uniform distribution where every integer in the range is equally likely โ the assumption behind a fair dice roll, lottery draw, or random number generator with integer output.