UTILITY TOOL

Random Number Generator

Generate a random integer in a selected range.

Press Generate number

About Random Number Generator

Enter a minimum and a maximum, press Generate number, and the tool returns one random whole number in that range, both ends included. It starts with 1 and 100, so you can use it immediately for quick decisions, games and classroom draws. Press the button again for a new number, and use Copy result to move the value elsewhere.

The number comes from the browser's cryptographic random generator, mapped onto your range with a method that gives every value an equal chance. If you enter decimals, the minimum is rounded up and the maximum rounded down so the result is always an integer inside your bounds. If the minimum is greater than the maximum, or a box is empty, the result area explains what to fix. Ranges up to about 4.29 billion values are supported.

How to use Random Number Generator

  1. Type the lowest whole number you want to allow in the Minimum box. It starts at 1.
  2. Type the highest number allowed in the Maximum box. It starts at 100 and must not be lower than the minimum.
  3. Press Generate number and read the result below the button. If a message appears instead, correct the values it describes.
  4. Press Generate number again for another draw. Each press produces a new, independent number.
  5. Press Copy result to place the number on your clipboard.

When this tool helps

Picking a winner

Number the entries in a raffle or giveaway from 1 to the total, generate one number, and announce the matching entry.

Rolling dice

Set the minimum to 1 and the maximum to 6 for a die, or 20 for a twenty-sided one, and press the button for each roll in a board game.

Choosing a random sample

Assign row numbers in a spreadsheet and draw numbers to pick which records to check by hand, repeating until you have enough.

Making a quick decision

Give each option a number, generate one, and let the result settle a tie such as who goes first or which restaurant to try.

Tips for better results

  • Both ends are included, so a range of 1 to 6 can return 1, 6 and everything between.
  • Draws are independent, so the same number can appear twice in a row. For a set without repeats, keep a list and redraw when you hit a duplicate.
  • Use negative numbers freely. A range such as minus 10 to 10 works the same way.
  • Write down results you need to keep, since the page does not store a history.

Good to know

  • The tool returns one integer per press. It cannot create a list, a set of unique numbers or decimal values.
  • There is no seed option, so results cannot be reproduced or shared as a repeatable sequence.
  • It is a convenient picker for everyday use, not an audited system for regulated lotteries or legally binding draws.

Privacy and your data

The number is generated in your browser and is not sent anywhere. Nothing is stored, and your range is forgotten when you close the page.

Random Number Generator FAQ

Is the number really random?

It comes from your browser's cryptographic random number generator, and the code avoids the slight bias that a simple remainder step can introduce, so every value in the range is equally likely. It is suitable for games, raffles and everyday choices.

Are the minimum and maximum included?

Yes. With a minimum of 1 and a maximum of 6, any of 1, 2, 3, 4, 5 or 6 can appear. This matches how dice and numbered raffle tickets work.

Can it generate decimal numbers?

No. Only whole numbers are produced. If you type decimals, the minimum is rounded up and the maximum is rounded down, so the result stays inside the range you entered.

Can I draw several unique numbers at once?

Not in one step. Press the button repeatedly and discard duplicates yourself. For large unique draws, shuffle a numbered list in a spreadsheet instead.

What is the largest range I can use?

The span between the minimum and the maximum can be up to about 4.29 billion values. A larger span shows a message asking you to narrow it. Very large numbers beyond the safe integer limit of your browser may not be exact.

Browse all ELDOSA tools →