left-arrow-icon
randomnumber-gen-icon

Random Number Generator (RNG)

Generate a random number or a list of numbers. You can use it as a Random number picker, generate random text numbers, integers or decimal numbers

Home

Generator

Random Number Generator



refresh icon   Refresh
  • 62

How to Generate Random Numbers using the Tool?

PRNG Icon

Generate Random Numbers with Min and Max Range

  • To generate within a given range, enter Min and Max number. For example, to generate between -10 and 100, Min will be -10 and Max will be 100
  • To get a list of numbers, change the count in the field labelled as 'How Many'. The default is 1
  • Click on 'Generate' button
  • The tool will generate a list of integers as per the setting. It will generate non-duplicate numbers by default
  • To get with duplicate numbers, you can enable the 'Allow Duplicates' option
  • Click on 'Refresh' to get a fresh set of numbers
  • To pick a number at random, set Count as '1' and enter min and max appropriately. For eg to pick a number between 1 and 3, enter min as 1, max as 3 and click Generate.


How to Generate for a Specific Number of Digits?

  • To generate based on number of digits, you have to simply set the min and max appropriately
  • For example, to generate 3 digit random numbers, set min as 100 and max as 999. Click on Generate


How to Generate Random Decimal Numbers?

  • Click the option 'Include Decimals'.
  • Enter the Number of Decimals needed. Default is 1
  • Enter the Min and Max Range. Click on Generate

The table below captures a few scenarios with min and max configuration


ScenarioMin (inclusive)Max (inclusive) Example: Your Random Number is
Random Text Number with length 5 10000 99999 49868
Random Text Number with length 8 to 10 10000000 9999999999 9224388010
Pick a number between 1 and 2 1 2 1
Generate random number 1 to 25 1 25 10
Pick a number between 500 and 1000 500 1000 939
1 digit generator 0 9 2
2 digit generator 10 99 90
3 digit generator 100 999 639
4 digit generator 1000 9999 3954
5 digit generator 10000 99999 58228
6 digit generator 100000 999999 349008

What Algorithm is used by Random Number Generator Tool?

PRNG Icon
  • There are two main types of random number generators: pseudo-random number generators (PRNGs) and true random number generators (TRNGs).
  • PRNGs use a program/algorithm to generate a sequence of numbers that are random.
  • TRNGs are based on physical elements such as atmospheric noise or hum to generate random numbers.
  • This tool generates Pseudo Random Numbers from Rand library.
  • You can set Integer ranges from -2147483647 to 2147483647 in this tool

Frequently Asked Questions on RNG Generator

FAQ icon

  • RNG stands for Random Number Generator.
    PRNG stands for Pseudo Random Number Generator

  • Pseudo random number generator.

  • True Random number generator.

  • True Random number - This is also called Non deterministic random number.
    It is based on hardware and other combinations of noise.
    Pseudo Random number - This is also called Deterministic random number.
    This produces predictable output and more of software program based.

  • This tool can pick a number from a range.
    Configure the min number and max number to the range with count as 1.
    To pick a number between 1 and 5, configure min as 1 and max as 5 and click generate.

  • Mersenne Twister (MT), Linear congruential generators (LCG) , Multiplicative Congruential Method (Lehmer Method), Lagged Fibonacci to name a few of them.

  • It stands for Deterministic Random Bit Generator.
    It is same as Pseudo random number generator.