Everyday
Random Number Generator
Use this random number generator to pick whole numbers between any minimum and maximum, both ends included.
Draw one number for a quick decision or up to 1,000 at once, block repeats when every number must be different, and sort the results if you want them in order. Every draw comes from a seed number: keep the seed to reproduce or share a list, or change it for a fresh set.
Lowest possible number. It can appear in the results.
Highest possible number. It can appear in the results.
Generate between 1 and 1000 numbers per run.
Any whole number. The same seed with the same settings always gives the same numbers, so a draw can be shared or re-checked. To draw a fresh set, change the seed: 2, 3, 47, today's date.
Try an example
Result
Generated numbers
—
- Numbers generated
- —
- Smallest generated
- —
- Largest generated
- —
- Seed used
- —
Student quick launch
Grade planning, algebra checks, and formulas students reach for most.
Study path
Use this calculator with
Follow these when you want the formula behind the answer, a short lesson, or nearby tools in the same topic.
What the random number generator solves
Use this random number generator to pick whole numbers between any minimum and maximum, both ends included. Draw one number for a quick decision or up to 1,000 at once, block repeats when every number must be different, and sort the results if you want them in order. Every draw comes from a seed number: keep the seed to reproduce or share a list, or change it for a fresh set.
Formula
How to use it
- Enter the minimum and maximum whole numbers. Both ends are included in the possible results.
- Choose how many numbers to generate, from 1 to 1000.
- Pick whether repeats are allowed and whether to sort the results ascending.
- Change the seed any time you need a fresh set; keep it the same to reproduce or share an exact list.
How to read the answer
Every whole number from minimum to maximum has the same chance on each draw, so results spread out evenly over many draws, but any single run can look streaky or clustered, and that is normal randomness, not a bug. With duplicates allowed, each draw is independent, so the same number can appear twice even in a short list. The smallest and largest generated values show the spread of this particular run, not the limits of the range. The seed is the only source of randomness: the same seed and settings always reproduce the same list.
Common mistakes and edge cases
- Entering the larger number as the minimum: the range must run from low to high.
- Asking for more unique numbers than the range holds: from 1 to 10 only 10 distinct values exist, so 20 unique draws are impossible.
- Expecting no repeats when duplicates are allowed. Repeats show up fast; with just 23 draws from 1 to 365, a repeat is already more likely than not.
- Forgetting that both endpoints are included: 1 to 100 has 100 possible values, not 99.
- Recalculating with the same seed and expecting new numbers. The seed fixes the draw on purpose; change it to get a different set.
- Using these numbers for passwords, security codes, or real gambling. A seeded pseudo-random generator is predictable by design, not cryptographic.
Worked examples
Single number from 1 to 100
The classic pick-a-number setup with the default seed of 1. Each of the 100 values is equally likely; seed 1 happens to land on 63, and a different seed lands somewhere else.
Generated numbers
63
Ten unique picks from 1 to 59, sorted
Lottery-style draw: ten different whole numbers from 1 to 59 with no repeats, listed in ascending order. Seed 7 gives 1, 5, 20, 27, 31, 33, 37, 43, 46, 58.
Generated numbers
1, 5, 20, 27, 31, 33, 37, 43, 46, 58
Negative range with zero
Five numbers from -20 to 20. Negative values, zero, and positive values are all fair game; the range holds 41 possible values. Seed 3 gives 9, -19, -2, -17, 11 in draw order.
Generated numbers
9, -19, -2, -17, 11
Minimum equals maximum
When the range holds exactly one value, every draw returns it, whatever the seed. The only fully predictable case.
Generated numbers
7, 7, 7
Large range, unique draws
Six unique numbers from 1 to 1,000,000: the range is far bigger than the shuffle threshold, so the generator samples directly and rejects any repeat.
Generated numbers
152281, 221844, 308497, 455408, 618476, 661158
Impossible unique request
Ten unique numbers cannot come from a range with only five values, so the calculator explains the limit instead of guessing.
Generated numbers
Error
Frequently asked questions
Are these numbers truly random?+
They are pseudo-random. A computer algorithm (a seeded mulberry32 generator) produces sequences that look random and spread evenly, but the sequence is fully determined by the seed; no coin is actually being flipped. For picking teams, shuffling study questions, classroom demos, and sampling, that is exactly what you want.
How do I get a new set of numbers?+
Change the seed to any other whole number and recalculate. Seed 1 always produces one particular list, seed 2 another, and so on. Keeping the seed fixed is useful when you want to show a friend or a class the exact same draw.
Can I use this for passwords, lotteries, or gambling?+
No. A seeded generator is predictable by design: anyone who knows the seed can reproduce the numbers. Passwords and security codes need a cryptographic generator, and official lotteries use certified hardware. Treat this tool as fair-for-games random, not secure random.
Are the minimum and maximum included in the results?+
Yes. The range is inclusive on both ends: setting 1 to 100 can produce 1, can produce 100, and everything in between, 100 possible values in total.
Why can't I generate 20 unique numbers from 1 to 10?+
A range from 1 to 10 contains only 10 distinct whole numbers, so once each has been used there is nothing left to draw. To get 20 unique numbers, widen the range to at least 20 values or allow duplicates.
Can it generate negative numbers or zero?+
Yes. Set the minimum to a negative number, for example -50 to 50, and results can be negative, zero, or positive with equal chance for every value in the range.
Why did the same number appear twice?+
With duplicates allowed (the default), every draw is independent, so repeats are normal and become likely surprisingly fast; this is the birthday paradox. Switch to unique numbers only if every result must be different.
About this calculator
- Written by
- mathcheck editorial team
- Last reviewed
- September 4, 2026
Method
- Numbers come from a seeded mulberry32 pseudo-random generator, so the same seed and settings always reproduce the same list; suitable for games, picks, and sampling, not for security or gambling.
- Each value in the inclusive range is equally likely on every draw; unique draws use a partial Fisher-Yates shuffle for ranges up to 10,000 values and rejection sampling above that.
Related calculators
Probability Calculator
Calculate event probability, complement probability, odds, and repeated independent event probabilities.
Combination and Permutation Calculator
Calculate combinations and permutations for counting problems where order may or may not matter.
Expected Value Calculator
Calculate expected value from outcome and probability lists.
Average Calculator
Calculate arithmetic, weighted, geometric, or harmonic averages from a list of numbers with steps and summary statistics.
Dice Roller
Roll 1 to 100 virtual dice from d4 to d100 with a DnD-style modifier, and see every roll, the sum, the average, and the theoretical expected value in one place.
Fuel Economy Calculator
Calculate MPG, L/100 km, trip fuel used, and trip fuel cost from distance, fuel, and price.
Last updated: September 4, 2026