### Select Range

### More Options

Allow Duplicate

Sort

### Result

The Random number Generator helps you generate one or more random numbers, Just select the range and click on generate. In addition, you can generate multiple numbers in one go with or without duplicates.

### How to use?

You can use it is by simply selecting the minimum & maximum range for generation and by clicking "Generate", It will generate one random number within the range. Also, more options can be selected in the process.

**Minimum/Maximum range**- First thing is required to select is the minimum & maximum range under which the number(s) will be generated. The generated number may include both minimum and maximum selected values.**Generate Count**- it is the total of how many numbers will be generated in one go. The count can be selected between a range of 1 to 10,000.**Allow duplicates**- if you want to generate a list of unique random numbers within a range, you can simply do so by selecting No. Whereas if Yes is selected, one number can be generated multiple times. Note: if duplicates are not allowed, Range (minimum to maximum) must be greater than the count.**Sort**- f the generated list of numbers is required to be in a certain order (ascending or descending), Select Asc or Dsc. Default is random order.

You can also reset the values to default using the Reset button. Additionally, generated values can be copied by clicking on the copy button.

### Possible use cases?

Do you have to come up with a number? Trying some experiment with probability? Want to generate a random pin? Playing some kind of games with friends? or want to do some random sampling for statistics?. These are some of the examples where it can be used.

Some sample examples of how it can be used for certain scenarios:

#### Generate 1 number within 1-100

Select:

*Min*:**1***Max*:**100***Count*:**1**

#### Generate a 6 digit pin

Select:

*Min*:**0***Max*:**9***Count*:**6***Duplicates*:**Yes***Sort*:**Random**

#### Use as 6 faced dice

Select:

*Min*:**1***Max*:**6***Count*:**1**

You can also try the tool Dice Roller

#### Sample of 100 1-10 star rating

Select:

*Min*:**1***Max*:**10***Count*:**100***Sort*:**Asc/Desc/Random**

#### Phone number generator

Select:

*Min*:**0***Max*:**9***Count*:**based upon phone number length in country***Duplicates*:**Yes***Sort*:**Random**

### What Random number generator (RNG) is?

Theoretically, A random number generator(RNG) is a device or mathematical construct which should generate a random set of numbers that do not have any kind of pattern in the output sequence. The generated sequence also should be uniformly distributed. It should also be impossible to predict further upcoming values using the present sequence.

The RNGs have many uses in fields like Sciences, Gaming, Statistics, Cryptography, Simulations, Lotteries and many more. There are two main types in which they can be further classified:

**True Random Number Generator (TRNG)****Pseudo Random Number Generator (PRNG)**

### True random vs pseudo random

#### Pseudo Random Number Generator

These are typically software that tries to mimic the randomness using some algorithms. It is usually a finite state machine whose output depends upon the initial value/state called a seed. So, a Pseudo random number generator will generate the same sequence of numbers if given the same seed. That is why they are not truly random and are called pseudo random. Some of the seeds that are used with them are very small time values like current time in nanosecond precision or human interactions like mouse positions etc.

#### True Random Number Generators

Unlike a Pseudo random number generator, A True Random number generator does not invent the initial seed in any way. Rather it uses the physical environmental phenomena outside of the computer as a seed. This can include atmospheric noise, cosmic radiations, radioactive decay etc as sources of entropy. They are usually hardware-based and their rate of sequence generation usually depends upon how many samples can be taken in a unit of time.

## FAQs for Random Number Generator

**Q: Is the Random Number Generator free ?**

A: Yes, Random Number Generator is totally free :)

**Q: Can i use the Random Number Generator offline ?**

A: Yes, Install the webapp as PWA by using Add to home or option.

**Q: Is it safe to use Random Number Generator ?**

A: Yes, any data related to Random Number Generator only stored in your browser(if storage required). You can simply clear browser cache to clear all the stored data. We do not store any data on server.