Skip to content
SimplCalc

Random Number Generator

Set a range and how many numbers you want. Each press of Generate gives a new set, made on your device.

Smallest value allowed.

Largest value allowed.

Up to 1,000.

0 for whole numbers.

Result

Generating...

How to use the random number generator

Enter the smallest and largest value, how many numbers you want and the number of decimal places. Leave decimals at 0 for whole numbers. Tick No repeated numbers for a draw without replacement, and Sort to list them in order. Press Generate for a fresh set.

How it works

Random bits come from the browser’s secure generator. To pick a number from n possible values, the tool takes a random 32-bit number and rejects it if it falls in the leftover part that would bias the result. For decimals the range is split into equal steps of 10^−d, and one step is chosen at random. A draw with no repeats uses a partial Fisher-Yates shuffle, so it stays fast even for very wide ranges.

Example

Between 1 and 6 with 0 decimals there are 6 possible values, like a die. Between 0 and 1 with 2 decimals there are 101: 0.00, 0.01 and so on up to 1.00.

Limits

  • Values must be between −1,000,000,000 and 1,000,000,000, with at most 6 decimals and 1,000 numbers per draw.
  • This is not a certified lottery or gambling random source. Do not use it for security tokens. Use the password generator for that.

Frequently asked questions

Are the numbers truly random?

They come from your browser's cryptographically secure random generator, the same one used for encryption keys. They are suitable for games, raffles, sampling and everyday choices. The tool does not store or send anything.

Is every number equally likely?

Yes. The tool uses rejection sampling, which discards draws that would make some values slightly more likely than others. Every value in the range has the same chance.

How do I draw numbers without repeats?

Tick No repeated numbers. This works like drawing balls from a bag, so you can pick 6 different numbers from 1 to 49. The count cannot exceed the number of values in the range.

Sources and methodology

Last reviewed 2026-12-04