Pick random numbers in any range. Set your minimum and maximum, choose how many numbers you need, and get your results instantly.
Random Number Generator
Generate cryptographically unbiased random integers within any minimum and maximum range — single picks or up to 100 numbers at once, with or without duplicates.
Range & draw settings
Both Minimum and Maximum bounds are inclusive.
Your result will appear here
Enter your values above, then press Generate Random Numbers — or press Enter in any field.TinyExe · RNG Result
Cryptographically uniform random draw
—
BMI Prime — · Healthy range for your height: —
Name
—
Range
—
Quantity
—
Mean / Sum
—
How this was calculated
What to do next
TinyExe PDF & PNG exports carry the TinyExe logo and tinyexe.com header & footer.
Draws use window.crypto.getRandomValues() when supported by your browser for hardware-seeded entropy.
Common random draw configurations
Typical ranges and uniqueness settings for games, raffles, and sampling.
| Use Case | Range | Duplicates Setting |
|---|---|---|
| Percentile Roll | 1 to 100 | Single draw (1 number) |
| Raffle Ticket Winner | 1 to Total Tickets | No duplicates (Unique) |
| 6-Number Lottery Pick | 1 to 49 (Count: 6) | No duplicates (Unique) |
| Coin Flip Equivalent | 1 to 2 | Allow duplicates |
The formula
Discrete uniform distribution over [a, b].
Uniform Probability
Every integer between Minimum and Maximum inclusive has an identical probability of being drawn.
Expected Mean of Range
Over many independent draws on [1, 100], the average converges to (1 + 100) ÷ 2 = 50.5.
Worked examples
Example random number setups.
Example 1 · Single Pick
1 to 100 (1 Number)
Each integer has a 1% chance.
| Calculation | Steps |
|---|---|
| Span = 100 integers | P(each) = 1/100 = 1.0%. |
| Expected mean = 50.5 | Cryptographic draw. |
1% per number
Example 2 · Unique Set
1 to 50 (Pick 5 Unique)
Drawing 5 distinct raffle winners.
| Calculation | Steps |
|---|---|
| Sampling without replacement | No number can appear twice. |
| Recorded on Tape | Timestamped for auditability. |
5 Unique Winners
Example 3 · Simulation
1 to 6 (Pick 10 with repeats)
Simulating 10 independent die rolls.
| Calculation | Steps |
|---|---|
| Sampling with replacement | Each pick is independent. |
| Expected sum = 35 | 10 × 3.5 average. |
10 Draws
How to use this calculator
Set Minimum and Maximum
Enter the lower and upper integer bounds (both are included).
Choose quantity & uniqueness
Pick how many numbers to draw (1–100) and whether repeats are allowed.
Press Generate Random Numbers
Each press logs a timestamped draw to the session tape so you have a verifiable record.
Frequently asked questions
Are Minimum and Maximum both included?
Yes. A range of 1 to 100 can produce 1, 100, or any integer in between.
How is this different from Math.random()?
This generator uses the browser's Web Crypto API (crypto.getRandomValues), which draws entropy from the operating system's cryptographic random source.
