Random Whole Number Generator

Generate a repeatable whole number inside an inclusive integer range by changing an explicit non-cryptographic seed.

Generate a random whole number

15Inclusive range: 1 through 100This repeatable generator is for ordinary selections, not cryptography.

How this tool works

This generator produces a repeatable pseudo-random whole number from an inclusive range and visible seed. Repeatability makes shared URLs reproducible and avoids pretending that a page load alone is a secure entropy source.

A deterministic trigonometric transform maps the seed and bounds to a fractional value from zero up to one, which is scaled and floored across maximum−minimum+1 integers.

How to use it

  1. Enter inclusive minimum and maximum safe integers.
  2. Change the seed to request a different repeatable selection.
  3. Use the displayed value only for ordinary low-stakes choices.

Worked examples

One-to-one-hundred range

Input
Minimum 1, maximum 100, seed 1
Output
A repeatable integer from 1 through 100

The deterministic seed is transformed into a fractional value and scaled across all one hundred integers in the inclusive range.

Single-value range

Input
Minimum 7, maximum 7
Output
7

When both bounds are seven, the inclusive range contains only one possible value, so every valid seed produces seven.

Limitations

  • This generator is not cryptographically secure or suitable for gambling.
  • A deterministic seed means anyone with the inputs can reproduce the result.