Math & Study tool

Random Number Generator

The Random Number Generator produces numbers between a minimum and a maximum you choose. Pick how many you need, decide whether duplicates are allowed or every value must be unique, choose whole numbers or decimals, and optionally have the result sorted.

It works equally well as a raffle or lottery picker, a classroom example, a way to choose a random winner, or a source of test data. Unique mode is especially useful for draws, since it guarantees no repeats while there are enough numbers in the range.
Calculator

How to use the Random Number Generator

  1. Set the minimum and maximum of the range.
  2. Choose how many numbers you need.
  3. Pick whole numbers or decimals and whether repeats are allowed.
  4. Press Calculate for a new set and copy the result.

About this tool

The Random Number Generator is built for speed and accuracy: every calculation runs in your browser, so your data never leaves your device and the result updates as you type. It works equally well on a phone, a tablet or a desktop, and it is free to use as many times as you like.

Common use cases

  • Drawing raffle or lottery numbers.
  • Choosing a random winner from a numbered list.
  • Creating sample data for a spreadsheet.
  • Running classroom probability experiments.

Tips for the best result

  • Use the latest figures you have - even a small change in rate or term can shift the outcome by hundreds.
  • For annual figures, divide by 12 to get a monthly number you can compare with the result.
  • Bookmark this page and revisit the calculation as the inputs change.

Frequently asked questions

Is this true randomness?

It uses the browser's pseudo-random generator, which is unpredictable enough for games, sampling and testing but not for cryptographic keys.

What happens if I ask for more unique numbers than the range allows?

The tool caps the count at the number of distinct values available so it never loops forever.