∑

Random Number Generator

Generate random number using the options shown.

Choose a file or fill the fields, then click Generate.

About Random Number Generator

Picking a raffle winner, choosing a random sample of survey responses, rolling a virtual die for a board game, or assigning students to groups all need numbers chosen without bias. A quick generator saves you from writing numbers on slips of paper.

How it works

Set a minimum, a maximum and how many numbers you want. The tool picks whole numbers from the minimum to the maximum, inclusive of both ends. If you enter the limits in reverse order it swaps them, and decimal limits are narrowed to the whole numbers inside them (1.5 to 4.5 gives 2 to 4). Numbers come from the browser's cryptographic generator (crypto.getRandomValues), using rejection sampling so every value in the range is equally likely. It returns between 1 and 100 numbers, separated by commas, followed by a line describing the range used. Each draw is independent, so duplicates can appear.

How to use Random Number Generator

  1. Complete the available fields: Minimum, Maximum, How many. Use the field labels and examples shown in the workspace.
  2. Select “Generate” and check the result before copying or downloading it.

Worked example

To simulate five rolls of a six-sided die, set minimum 1, maximum 6 and count 5. A typical result is '4, 1, 6, 6, 2'. Each value is a whole number from 1 to 6, and the repeated 6 shows that duplicates are allowed.

Tips for a better result

  • For a raffle with unique winners, draw more numbers than you need and skip repeats, since the tool does not remove duplicates.
  • Use whole numbers for the limits. Decimal limits are rounded inward to the nearest whole numbers in the range, and the result line shows the range actually used.
  • You can enter the limits in either order. A minimum higher than the maximum is swapped automatically.

Frequently asked questions

Can I get unique numbers with no repeats?

No. Each number is drawn independently, so the same value can appear more than once. For unique picks, draw extra numbers and ignore duplicates, or shuffle a list instead.

Is it suitable for passwords or lotteries with prizes?

The numbers come from the browser's cryptographic random source without modulo bias, which is much stronger than Math.random. For regulated prize draws, follow the rules that require a certified or audited process.

How many numbers can I generate at once?

Up to 100. Higher counts are capped at 100, and counts below 1 are raised to 1.

What to check

Results depend on the inputs and formula shown. Estimates may omit fees, taxes or individual circumstances.

Read the Privacy Policy for information about local processing, connected services and advertising.