Random Number Generator
Generate one or many random integers between any two numbers. Useful for drawing lottery-style picks, picking winners, creating practice problems or making fair decisions. Unique mode prevents repeats within the range.
What each field means
Every input below changes the result in a specific way. This is what each one expects, what it starts at, and the range it accepts.
- Minimum
A plain number. Enter digits only, with no symbols or separators.
Starts at: A plain number. Enter digits only, with no symbols or separators.
Accepted range: -1000000000 to 1000000000
- Maximum
A plain number. Enter digits only, with no symbols or separators.
Starts at: A plain number. Enter digits only, with no symbols or separators.
Accepted range: -1000000000 to 1000000000
- How many
A plain number. Enter digits only, with no symbols or separators.
Starts at: A plain number. Enter digits only, with no symbols or separators.
Accepted range: 1 to 1000
- Unique numbers
Choose one of the following: Yes, No.
Starts at: No
How to read your result
The calculator reports the figures below. The headline figure answers the question in the title; the rows underneath break it down so you can see what drives it.
- Random numbers
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Range
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Count
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Smallest result
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Largest result
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
- Sum
- This figure updates as you change the inputs above. It is a direct output of the formula, not an estimate of future market or lender outcomes.
What this means
A random integer from a range means every value in that range has an equal chance. Crypto-based randomness ensures the result cannot be predicted or influenced.
How we calculate it
Formula
Each value v satisfies min ≤ v ≤ max, drawn uniformly via crypto.getRandomValues.Worked example
Pick 5 unique numbers between 1 and 60:
- 1Set min to 1 and max to 60.
- 2Choose count 5 and enable unique.
- 3Generate to get 5 distinct numbers.
Important assumptions
- Unique mode caps the count at the range size.
Frequently asked questions
Are the numbers truly random?
Yes. They come from the browser's cryptographic random generator, designed for unbiased unpredictable values.
What if my min and max are negative?
Negative ranges work the same way. For example, -10 to 10 with count 1 gives any integer in between.
Guide
Password Generator Guide: Length, Entropy and Security
The strongest passwords are long and random. Here is why length matters more than complexity.
Related tools
Password Generator
Create strong, random passwords with adjustable length and character sets.
Random Name Generator
Generate random realistic names for characters, brands and tests.
Team Splitter
Split a list of names into balanced random teams.
Wheel Spinner
Spin a customizable wheel to make a fair random decision.
QR Code Generator
Create a downloadable QR code for any URL or text, with colors and size.
Lorem Ipsum Generator
Generate placeholder paragraphs, sentences or words for mockups.