Random Number Generator

Use this random number generator to pick a whole number between any two limits. Enter 1 and 10 or 1 and 100 for common ranges, or set your own. Both limits are included, and negative numbers and very large numbers up to 4,096 digits are supported.


Random Number Generator

Pick a random whole number between any two limits. Enter a lower and an upper limit, then press Calculate. The limits are included, negative numbers work, and you can use very large numbers with up to 4,096 digits.

How to use the Random Number Generator

  1. Enter the Lower Limit, the smallest number you want.
  2. Enter the Upper Limit, the largest number you want.
  3. Press Calculate to get a random whole number between them. Press it again for a new number. Press Clear to reset.

Examples of common ranges

  • 1 to 10: choose a number for a quick game or a yes/no decision.
  • 1 to 100: guessing games, classroom activities and giveaways.
  • 1 to 1,000: raffle-style draws from a numbered list.
  • -50 to 50: a result that can be negative or positive.

What you can use it for

  • Choosing a winner from a numbered list of entries
  • Picking who goes first in a game
  • Classroom activities, such as calling on students or setting math practice
  • Making quick decisions when you cannot choose
  • Selecting random items from a numbered list or spreadsheet

Good to know

  • Whole numbers only. This version does not create decimals.
  • One number at a time. Each press of Calculate gives one result. Numbers can repeat across presses.
  • Not for gambling or security. Computer-generated numbers are fine for everyday use, but please do not use them for lotteries, gambling or passwords.

Frequently asked questions

How do I generate a random number between 1 and 100?

Type 1 in the Lower Limit box and 100 in the Upper Limit box, then press Calculate. You will get one random whole number from 1 to 100.

Are the lower and upper limits included?

Yes. Both limits are inclusive, so with a range of 1 to 10 the result can be 1, 10, or any whole number between them.

Can it generate negative numbers?

Yes. Enter a negative lower limit, such as -50, and a higher upper limit, such as 50, to get a result that can be negative or positive.

How large can the numbers be?

The generator supports whole numbers with up to 4,096 digits, so you can use very large limits.

Can it generate decimals?

No. This generator creates whole numbers (integers) only.

Can I get the same number twice?

Yes. Each press of Calculate is a new, independent draw, so a number can repeat.

Is the result truly random, and can I use it for lotteries or passwords?

This tool uses your browser’s crypto.getRandomValues API to select whole numbers with equal probability. It is intended for games, classroom activities, giveaways and everyday decisions. Please do not use this tool for gambling, lotteries or security purposes such as passwords.