One Click Answers

OCAEveryday

Share tool
FacebookPinterestEmail

Random Number Generator

Choose a range and how many numbers you need. Add "no repeats" for numbers that are all different.

About this tool & how to use it

What the Random Number Generator does

Picks one or many random numbers between two values, with or without repeats, using your browser's secure random source.

How to use the Random Number Generator

  1. Enter the smallest and largest number, and how many you want.
  2. Tick "No repeats" if every number must be different, or "Decimals" for fractions.
  3. Press Generate. Sort or copy the list when you have it.
Quick start:
Options

One click answer

Your answer will appear here.

Choose your options and click Generate My Number.

Made in your browser with its secure random number generator. Every value in the range is equally likely. Nothing is stored or sent.

Related tools

Try another answer

Two red dice on a black background
Photo: Jonathan Petersson (CC0, via Wikimedia Commons)

How it works

Numbers are drawn with your browser's secure random number generator. Every value in the range, including both ends, is equally likely. Values that would make some numbers more likely are thrown away and drawn again, so there is no bias toward small or large numbers.

For "No repeats" the tool first checks that enough different numbers exist. If you ask for more than the range holds, it tells you exactly how many are available instead of trying forever.

Decimals are worked out as whole numbers scaled by a power of ten and then written with the decimal point, so there are no floating-point leftovers such as 0.30000000000000004.

Changing the order (smallest first, largest first) or the copy format only rearranges the numbers already shown. It does not draw new ones.

Assumptions

  • The minimum and maximum are both included.
  • You can ask for up to 1,000 numbers at a time, with 1 to 6 decimal places.
  • Limits can be negative, and as large as about 9 quadrillion for whole numbers.
  • Random numbers made here are for everyday uses such as games, drawings and choices. They are not a certified lottery or gambling system.

Random Number Generator example

Input: 10 numbers from 1 to 100, no repeats

Result: A list of 10 different whole numbers from 1 to 100. Asking for 100 different numbers from 1 to 10 is refused: "Only 10 unique integers are available in this range."

Random Number Generator questions

Are the numbers truly random?

They come from your browser's secure random number generator, which is designed to be unpredictable. We make no stronger claim than that.

How do I get numbers that never repeat?

Tick "No repeats". The range must contain at least as many numbers as you ask for.

Can I pick a random number from a list of names?

Use the Random Picker for that. Paste your list and it chooses entries instead of numbers.

Last reviewed 2026-10-02. Report an incorrect result

Got another question?

Free, no account. Answers show how they were worked out.