Skip to content

Random Number Generator

Generate one or more unbiased random integers within any custom minimum and maximum range.

Generated 5 Random Integers
23, 47, 63, 68, 39
Range: 1 to 100 (unique values)
Range Size
100
Lowest Generated
23
Highest Generated
68

What Does the Random Number Generator Calculate?

Generates uniform random integers inclusively between your minimum and maximum bounds, optionally guaranteeing every picked number is unique.

How to Use This Calculator

  1. Set your lower bound, upper bound, and count.
  2. Choose whether numbers must be unique and click Calculate to draw.

Uniform Integer Mapping

Value = floor(U × (Max − Min + 1)) + Min

Maps uniform pseudorandom draws U ∈ [0, 1) evenly across every integer in [Min, Max].

Worked Example: Drawing 5 Unique Integers Between 1 and 100

Raffle or classroom selection.

  • Range size = 100 − 1 + 1 = 100 possible integers
  • Draw 5 distinct integers without replacement
Result: 5 distinct integers between 1 and 100

Key Assumptions & Scope

  • Uses standard browser pseudorandom generation suitable for games, raffles, and sampling (not cryptographic keys).

Frequently Asked Questions

Are both the minimum and maximum numbers included?
Yes. Both endpoints are inclusive.