Random Number Generator
Random integers in any range, with or without repeats.
Enter your values
Enter the minimum you are working with.
Enter the maximum you are working with.
Enter the how many numbers you are working with.
Choose one of: No — unique numbers, Yes — repeats allowed.
Results update instantly as you type — no submit needed. Your values are remembered on this device, and the shareable link reopens the calculator with exactly these numbers.
- Numbers
- 3, 83, 41, 82, 34, 6
- Sorted
- 3, 6, 34, 41, 82, 83
- Range
- 1 to 100 (100 possible)
- Sum
- 249
Quick answer
A random integer between min and max inclusive is floor(random × (max − min + 1)) + min.
At a glance
| What it does | Random integers in any range, with or without repeats. |
|---|---|
| Category | Math |
| Inputs needed | Minimum, Maximum, How many numbers, Allow repeats |
| Main output | Numbers |
| Cost | Free — no sign-up, no download |
How to use the Random Number Generator
- 1Set the minimum and maximum.
- 2Choose how many numbers you want.
- 3Decide whether repeats are allowed.
Inputs explained
- Minimum
- Enter the minimum you are working with.
- Maximum
- Enter the maximum you are working with.
- How many numbers
- Enter the how many numbers you are working with.
- Allow repeats
- Choose one of: No — unique numbers, Yes — repeats allowed.
Worked example
Using the values the calculator loads with:
Inputs
- Minimum1
- Maximum100
- How many numbers6
- Allow repeatsNo — unique numbers
Results
- Numbers75, 3, 98, 59, 42, 31
- Sorted3, 31, 42, 59, 75, 98
- Range1 to 100 (100 possible)
- Sum308
Frequently asked questions
Is this truly random?
It uses the browser's pseudo-random generator — fine for games and draws, but not for cryptography or regulated lotteries.
Can I use it for a raffle?
Yes, for informal draws. Use unique numbers so no ticket is picked twice.
What do I need to enter into the Random Number Generator?
Just 4 values: minimum, maximum, how many numbers, allow repeats. Every field starts with a realistic example, so you can change one number at a time and watch the result update instantly.
How does the Random Number Generator work out the answer?
A random integer between min and max inclusive is floor(random × (max − min + 1)) + min. The working is shown step by step so you can verify the result by hand.
Is the Random Number Generator free, and do I need an account?
It is completely free with no sign-up, no download and no usage limit. Everything is calculated in your browser, so the numbers you type never leave your device.
Results are estimates for general information. For medical, legal, structural or financial decisions, confirm with a qualified professional.