Random Number Generator
Generate repeatable or fresh integer sequences within an inclusive range, with duplicate and sort controls.
Random Number Inputs
A seed makes the sequence repeatable; leave blank for a fresh browser-generated sequence.
Results computed instantly — your data never leaves your device.
Random Number Results
Real-TimeGenerated values
1, 58, 26, 45, 66
Range
1 to 100
Count
5
Mode
Repeatable seed
How to Use the Random Number Generator
- 1
Set the inclusive minimum and maximum integers.
- 2
Choose how many values to generate and whether repeats are allowed.
- 3
Add a numeric seed for a repeatable sequence, or leave it blank for a fresh browser sequence.
- 4
Review the generated list, range, count, and ordering.
Formula & Mathematical Basis
Variable Key
xGenerated integer
min/maxInclusive range endpoints
uUniform pseudorandom unit value
📝 A seeded mode is repeatable but pseudorandom. It is not suitable for cryptographic secrets.
Step-by-Step Examples
Generate a repeatable integer list
Scenario: Use 1 to 100, five values, and seed 42.
- 1.Set the inclusive range.
- 2.Set the count to five.
- 3.Enter seed 42.
- 4.Run the generator and keep the resulting sequence for a reproducible test.
Practical Use Cases
- Create sample values for a classroom exercise.
- Reproduce a test case with a known seed.
- Draw unique integers when the selected range is large enough.
Common Pitfalls
- Treating a pseudorandom sequence as cryptographically secure.
- Forgetting that the endpoints are included.
- Requesting more unique values than the range can contain.
Frequently Asked Questions
Are the minimum and maximum included?
Yes. Integer generation uses an inclusive range.
Does a seed guarantee secure randomness?
No. It makes results repeatable and therefore predictable.
Can I generate unique values?
Yes, when the requested count does not exceed the number of integers in the range.
Math & Everyday Utility Calculators
Solve common math, conversion, time, construction, science, and practical planning problems in the browser.