Random Number Generator
This version of the generator creates a random integer. It can deal with very large integers up to a few thousand digits.

Comprehensive Version
This version of the generator can create one or many random integers or decimals. It can deal with very large numbers with up to 999 digits of precision.
A random number is a number chosen from a pool of limited or unlimited numbers that has no discernible pattern for prediction. The pool of numbers is almost always independent from each other. However, the pool of numbers may follow a specific distribution. For example, the height of the students in a school tends to follow a normal distribution around the median height. If the height of a student is picked at random, the picked number has a higher chance to be closer to the median height than being classified as very tall or very short. The random number generators above assume that the numbers generated are independent of each other, and will be evenly spread across the whole range of possible values.
A random number generator, like the ones above, is a device that can generate one or many random numbers within a defined scope. Random number generators can be hardware based or pseudo-random number generators. Hardware based random-number generators can involve the use of a dice, a coin for flipping, or many other devices.
A pseudo-random number generator is an algorithm for generating a sequence of numbers whose properties approximate the properties of sequences of random numbers. Computer based random number generators are almost always pseudo-random number generators. Yet, the numbers generated by pseudo-random number generators are not truly random. Likewise, our generators above are also pseudo-random number generators. The random numbers generated are sufficient for most applications yet they should not be used for cryptographic purposes. True random numbers are based on physical phenomena such as atmospheric noise, thermal noise, and other quantum phenomena. Methods that generate true random numbers also involve compensating for potential biases caused by the measurement process.

Calculator Soup ®
Online Calculators

Random Number Generator

Calculator Use
Generate one or more random numbers in your custom range from 0 to 10,000. Generate positive or negative random numbers with repeats or no repeats.
About Random Number Generators
There are two main types of random number generators: pseudo-random and true random.
A pseudo-random number generator (PRNG) is typically programmed using a randomizing math function to select a "random" number within a set range. These random number generators are pseudo-random because the computer program or algorithm may have unintended selection bias. In other words, randomness from a computer program is not necessarily an organic, truly random event.
A true random number generator (TRNG) relies on randomness from a physical event that is external to the computer and its operating system. Examples of such events are blips in atmospheric noise, or points at which a radioactive material decays. A true random number generator receives information from these types of unpredictable events to produce a truly random number.
This calculator uses a randomizing computer program to produce random numbers, so it is a pseudo-random number generator.
How to Generate Random Numbers
- What is your range? Set a minimum number and a maximum number. The random number(s) generated are selected from your range of numbers, with the min and max numbers included.
- How many numbers? Specify how many random numbers to generate.
- Allow repeats? If you choose No your random numbers will be unique and there is no chance of getting a duplicate number. If you choose Yes the random number generator may produce a duplicate number in your set of numbers.
- Sort numbers? You can decide not to sort your random numbers. You can also order your random numbers ascending, lowest to highest or descending, highest to lowest.
Do you need to include random numbers and letters in a random character set? See the CalculatorSoup ® Random Number and Letter Set Generator .
Example: Generate a Random Number to Use as a PIN .
To generate a 6-digit PIN with or without duplicate digits choose the following settings:
- Generate 6 numbers
- Allow repeats = yes or no
- Sort numbers = Do not sort
Do it: Generate a 6 digit PIN without duplicates

Example: Randomize a Set of Numbers
Say you have a group of 10 people represented by the numbers 1 to 10. You want to shuffle them into a random order of selection for an event.
Choose the following settings to randomize order of selection:
- Generate 10 numbers
- Allow repeats = no
Do it: Randomize the order of a set of numbers, 1 to 10
Example: Randomly Choose One Number From a Range of Numbers
Say you want randomly select one number from 1 to 10, like drawing a number out of a hat.
Choose the following settings:
- Generate 1 number
Do it: Random number generator 1 to 10
Also try: Random number generator 1 to 100
Example: Lottery Number Generator
You want to generate numbers for lottery tickets. You need to choose 5 numbers from a pool of 1 to 49 without duplicates.
Choose the following settings in the random number generator:
- Generate 5 numbers
- Allow Duplicates = no
- Sort Numbers = low to high
Do it: Generate 5 lottery numbers from a range of 1 to 49
Cite this content, page or calculator as:
Furey, Edward " Random Number Generator " at https://www.calculatorsoup.com/calculators/statistics/random-number-generator.php from CalculatorSoup, https://www.calculatorsoup.com - Online Calculators
- Lottery Quick Pick
- Keno Quick Pick
- Coin Flipper
- Dice Roller
- Playing Card Shuffler
- Birdie Fund Generator
- Integer Sets
- Gaussian Numbers
- Decimal Fractions
- List Randomizer
- Clock Times
- Calendar Dates
- Geographic Coordinates
- Hex Color Codes
- Pregenerated Files
- Jazz Scales
- Pure White Audio Noise
- Samuel Beckett
- How to Pick a Winner (FREE)
- Third-Party Draw Service
- Step by Step Guide
- Step by Step Video
- Price Calculator
- Public Records
- Terms and Conditions
- Drawing FAQ
- Widgets for Your Pages
- API for Automated Clients
- Old API for Automated Clients
- Old Guidelines for Automated Clients
- Banned Hosts
- Real-Time Statistics
- Graph Browser
- Testing Random Numbers
- Total Bit Tally
- Lotteries and Drawings
- Games and Gambling
- Random Sampling
- Simulation and Modelling
- Miscellaneous
- About & Contact
- Introduction to Randomness
- History of RANDOM.ORG
- Acknowledgements
- Media and Scientific Citations
- Quotations about Randomness
- What's New!
True Random Number Service
Warning: Your browser does not support JavaScript – RANDOM.ORG may not work as expected
Advisory: We only operate services from the RANDOM.ORG domain. Other sites that claim to be operated by us are impostors. If in doubt, contact us .
RANDOM.ORG Uses Cookies
We use cookies to remember your preferences and to analyze our traffic. We do not carry ads and will never sell your data to third parties.
Necessary Preferences Statistics
Please see our Cookie Policy or visit our Privacy Dashboard for more information.
Random Integer Generator
This form allows you to generate random integers. The randomness comes from atmospheric noise, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs.
Part 1: The Integers
Generate random integers (maximum 10,000).
Each integer should have a value between and (both inclusive; limits ±1,000,000,000).
Format in column(s).
Part 2: Go!
Be patient! It may take a little while to generate your numbers...
Need more numbers than this form supports? Check out our File Generation Service .
Note: The numbers generated with this form will be picked independently of each other (like rolls of a die) and may therefore contain duplicates. There is also the Sequence Generator , which generates randomized sequences (like raffle tickets drawn from a hat) and where each number can only occur once.

IMAGES
VIDEO
COMMENTS
Random Phone Number Generator; Multiple sets and combinations; Random Combinations; Pick Random Numbers from a List; Shortcuts; 1-10 1-50 1-100; 6 from 49 7 from 49; 3 digit 4 digit; 5 digit 6 digit; Magical Random Numbers; Random numbers that SUM up to a specific value; Random numbers whose DIGITS SUM up to a specific value; Random numbers ...
A pseudo-random number generator is an algorithm for generating a sequence of numbers whose properties approximate the properties of sequences of random numbers. Computer based random number generators are almost always pseudo-random number generators. Yet, the numbers generated by pseudo-random number generators are not truly random.
Select 30 unique numbers from 1 to 100 Total possible combinations: If order does not matter (e.g. lottery numbers) 29,372,339,821,610,947,000,000,000 (~ 29,372,339,821,610.9t) If order matters (e.g. pick3 numbers, pin-codes, permutations) 7,791,097,137,057,804,000,000,000,000,000,000,000,000,000,000,000,000,000,000 (~ NaNt)
Say you want randomly select one number from 1 to 10, like drawing a number out of a hat. Choose the following settings: Min = 1 Max = 10 Generate 1 number Allow repeats = no Sort numbers = Do not sort Do it: Random number generator 1 to 10 Also try: Random number generator 1 to 100 Example: Lottery Number Generator
Random Integer Generator This form allows you to generate random integers. The randomness comes from atmospheric noise, which for many purposes is better than the pseudo-random number algorithms typically used in computer programs. Part 1: The Integers Generate random integers (maximum 10,000).