About Random Number
Random Number generates whole numbers within a range you define, one per line. Both ends of the range are included, so a request from one to a hundred can return one or a hundred and not just the values between them — the detail that matters most when someone needs a number in a stated inclusive range.
If the two bounds are entered the wrong way round, they are swapped rather than rejected, so a reversed pair still produces a sensible result instead of an error. Decimal bounds are rounded down to whole numbers, which keeps the output consistent with an integer draw.
Each value is drawn independently, so a batch can contain repeats and does not need to use up the range before returning to a value. Where you need distinct values — a set of lottery numbers, a sample without replacement — the picker and shuffle tools are built for that instead.
How to use Random Number
- 1 Enter the lower and upper bounds of the range.
- 2 Set how many numbers you want.
- 3 Read the results, one per line, with both bounds included in the possible values.
Frequently asked questions
Are the bounds included in the possible results?
Yes, both of them. A range from one to ten can return one and can return ten, which is the inclusive convention people normally mean when they say a number between one and ten.
What if I enter the maximum below the minimum?
The two values are swapped, so you still get numbers in the intended range rather than an error or an empty result. It is a convenience rather than a validation, so check the output if the numbers look surprising.
Can I get unique numbers?
Not from this tool, which draws each number independently and can repeat a value. For a set without repeats, use the picker or the list shuffler, both of which remove an item once it has been chosen.
How even is the distribution?
Each integer in the range has the same probability, so the distribution is uniform rather than clustered. A small sample can still look uneven, which is normal and not an indication of bias.
Free, online, and private
Free to use
Random Number is completely free. There is no account to create, no login, and no hidden charge or usage limit.
Runs online in your browser
It is a free online tool that runs entirely in your browser. Nothing to download or install — open the page and start using it right away.
Your data stays private
All processing happens locally on your device. Your input is never uploaded, stored, or tracked, so it never leaves your browser.
How Random Number behaves in detail
These are the specifics of this implementation — the exact ranges, defaults and fixed settings you are working with.
| Parameter | Value |
|---|---|
| Bounds handling | both ends inclusive; fractional bounds are floored before use |
| Reversed bounds | min and max are swapped rather than rejected — no error is shown |
| Draw algorithm | floor(Math.random() × (max − min + 1)) + min, repeated per line |
| Batch output | 1 to 100 values, default 10; defaults are min 1, max 100 |
Compiled from the implementation of this tool and checked against it by itoolnet.
What Random Number does not do
Knowing the edges of a tool saves more time than another list of its features. These are the cases where it will not do what you might expect.
- Only integers come out. A decimal typed into either bound is floored, so 1.9 to 5.1 is silently treated as 1 to 5, and there is no step setting for even values, odd values or multiples.
- Each draw is independent, so a batch can repeat a value and a narrow range can return the same number several times in a row; there is no draw-without-replacement option and no uniqueness guarantee.
- No statistics are reported. The output is a bare list — no sum, no mean, no smallest and largest of what was actually drawn, and no frequency table to check the distribution against.
Tested and documented by itoolnet, the team that builds and maintains this site.