Report a problem

CALCULATOR TOOL

Random Number Generator

Generate one or many random integers in an inclusive range, with an optional no-duplicates mode.

Random Number Generator

FREE ONLINE TOOL

Inclusive bounds, browser cryptographic randomness and unbiased range sampling. Results are generated locally.

WHEN IT HELPS

Common uses

  • Draw a number for a simple raffle.
  • Generate a random test input within a range.

IN PRACTICE

Example

Draw a random integer between 1 and 100.

GOOD TO KNOW

Are the endpoints included?

Yes. Both minimum and maximum are possible.

Both endpoints are included. The range is limited to one billion to preserve unbiased sampling.

Clan Names Generator

Generate random numbers with or without duplicates

Choose inclusive minimum and maximum integers and a count from 1 to 1,000. With duplicates allowed, a value can occur more than once. Select No duplicates to draw distinct integers; the count must then fit the range. For a range from 1 to 10, no more than 10 unique results are possible.

How the random integer range is sampled

The generator uses crypto.getRandomValues in your browser. Rejection sampling avoids favoring some integers when the range does not divide the 32-bit sample space evenly. Unique mode samples without replacement rather than retrying until it finds a new number. The tool does not store a draw history or provide an independently audited raffle record.