Pick a number between 1 and 32

If you're looking to generate random numbers, you've found the correct website. Our Random Number Generator gives you several different options when you need to generate random numbers. The entire process is quite simple. First, pick the number of random numbers you need to be generated, then choose the number range you'd like the random number to be generated between. Once done, click the "Generate Random Numbers" button and they will instantly appear. You can determine a specific range of numbers or you can use one of the several set number generators. These include random numbers between 1 and 10, random numbers between 1 and 100, and random numbers between 1 and 1000. For those who may need to generate negative numbers, we also have the option of random numbers from -100 to 100.

There are a variety of reasons someone might need to use a randomized number generator. They have applications in a wide variety of fields including statistical sampling, cryptography, and computer simulation. For the purpose of visiting this page, however, it's more likely for a much less sophisticated reason. Below you can find some of the more common reasons people are looking to generate random numbers.

Contests

If you're having a contest and need to award a prize to a random person in the contest, this can be the perfect tool. Assign each entry a number and then use the random number generator to give you the winner. If you have multiple prizes to give away randomly, simply choose the number needed and click. By generating random numbers you ensure that the prizes are going to random entries so the contest is fair for all.

Choosing Order

If you have a group of people and you need to designate them into a specific order, one way this can be done is to assign each person a number. You can then use the tool to decide the order of each person in the group. For example, if you have 10 people that you need to have randomly lined up, you can assign each a number and then generate a list of random numbers for all ten in the numbers generator. The top number generated would place the person assigned the first spot to that place with the other people in the group moved to the appropriate places from there. This way the numbers generator gives each person a random position.

Picking Numbers

Often there's a reason that you need to pick a random number between a specific set of numbers. This can be done by using the pick your own number option. This allows you to pick the specific number range you need for picking your numbers. Below you can find some of the more common number ranges people are looking to use with this random tool.

These are a few of many reasons you may want to use this free online number generator. If you have found the random number generator useful, we'd love to hear from you and how you use it. It's through hearing from those who use it that we are able to improve it when we do updates. We'd also love to hear any suggestions you may have to make the tool better for everyone.

Frequently Asked Questions

How random is this Random Number Generator?

As random as we can make it! We use javascript's internal Math.random() function which returns a Psuedo-random number in the range 0 to less than 1. We then just transform that number into an integer. The internals are complicated but rest assured, these numbers are as random as it gets.

What is the minimum number you can use in your Number Generator?

There is no minimum number, you can use 0 or even a negative number. Currently only integers are supported but we'll be adding an option for floating numbers soon.

Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .

You can also select a web site from the following list:

How to Get Best Site Performance

Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.

Use the Random Number Generator to create a list of random numbers (up to 10,000 numbers), based on your specifications. The numbers you generate appear in the Random Number Table.

For help in using the Random Number Generator, read the Frequently-Asked Questions or review the Sample Problems.

  • Enter a value in each of the first three text boxes.
  • Indicate whether duplicate entries are allowed in the table.
  • Click the Calculate button to create a table of random numbers.

How many random numbers?Minimum valueMaximum valueAllow duplicate numbersSeed (optional)

Note:  A seed value of "None" produces new random numbers with each computation. Any other setting produces the same random numbers, until the seed value is changed. The seed allows you to recreate the same random number table time after time.

26500 29473 22649 80591 63105 40290 53307 24284 50021 50563 34428 70108 69993 43305 23217 27690 50398 67645 78544 01674 33549 27883 93751 93286 72017 97563 54462 26899 48937 58526 21402 01591 23325 64977 38206 67709 00386 32548 64229 28433 26831 52358 32364 66338 11187 30076 31850 94956 69109 49987 16087 35336 93694 64050 35446 17614 50793 05962 95086 07565 99322 30221 37762 58175 36579 76190 51639 86198 68551 57155 03105 73720 05229 74392 94583 94721 80921 56227 47343 66640 99563 22101 09317 26934 05035 71628 87908 34641 76468 98662 07806 96947 48560 30359 93795 20741 56890 91235 78573 89184

Specs: This table of 100 random numbers was produced according to the following specifications: Numbers were randomly selected from within the range of 0 to 99999. Duplicate numbers were allowed. This table was generated on 12/31/2022.

Frequently-Asked Questions

Instructions: To find the answer to a frequently-asked question, simply click on the question.

What are random numbers?

Random numbers are sets of digits (i.e., 0, 1, 2, 3, 4, 5, 6, 7, 8, 9) arranged in random order. Because they are randomly ordered, no individual digit can be predicted from knowledge of any other digit or group of digits.

What is a random number generator?

A random number generator is a process that produces random numbers. Any random process (e.g., a flip of a coin or the toss of a die) can be used to generate random numbers. Stat Trek's Random Number Generator uses a statistical algorithm to produce random numbers.

What is a random number table?

A random number table is a list of random numbers. Stat Trek's Random Number Generator produces a list of random numbers, based on the following User specifications:

  • The quantity of random numbers desired.
  • The maximum and minimum values of random numbers in the list.
  • Whether or not duplicate random numbers are permitted.

How "random" is Stat Trek's Random Number Generator?

Although no computer algorithm can produce numbers that are truly random, Stat Trek's Random Number Generator produces numbers that are nearly random. Stat Trek's Random Number Generator can be used for most statistical applications (like randomly assigning subjects to treatments in a statistical experiment). However, it should not be used to generate numbers for cryptography.

What are the minimum and maximum values in the Random Number Generator?

The minimum and maximum values set limits on the range of values that might appear in a random number table. The minimum value identifies the smallest number in the range; and the maximum value identifies the largest number. For example, if we set the minimum value equal to 12 and the maximum value equal to 30, the Random Number Generator will produce a table consisting of random arrangements of numbers in the range of 12 to 30.

What does it mean to allow duplicate entries in a random number table?

Stat Trek's Random Number Generator allows Users to permit or prevent the same number from appearing more than once in the random number table. To permit duplicate entries, set the drop-down box labeled "Allow duplicate numbers" equal to True. To prevent duplicate entries, change the setting to False.

Essentially, allowing duplicate entries amounts to sampling with replacement; preventing duplicate entries amounts to sampling without replacement.

What is a seed?

The seed is a number that controls whether the Random Number Generator produces a new set of random numbers or repeats a particular sequence of random numbers. If the dropdown box labeled "Seed" is set to "None", the Random Number Generator will produce a different set of random numbers each time a random number table is created. On the other hand, if a number is selected for "Seed", the Random Number Generator will produce a set of random numbers based on the value of the Seed. Each time a random number table is created, the Random Number Generator will produce the same set of random numbers, until the Seed value is changed.

Note: The ability of the seed to repeat a random sequence of numbers assumes that other User specifications (i.e., quantity of random numbers, minimum value, maximum value, whether duplicate values are permitted) are constant across replications. The use of a seed is illustrated in Sample Problem 1.

Warning: The seed capability is provided for Users as a short-term convenience. It allows a User to regenerate the same set of random numbers tomorrow as he/she generated today. However, there is a risk to relying on the seed capability to recreate a particular random number table. From time to time, Stat Trek may change the underlying random number algorithm to more closely approximate true randomization. A newer algorithm will not reproduce random numbers generated by an older algorithm, even with the same seed. Therefore, the safest way to "save" a random number table is to print it out. The algorithm was last changed on 3/11/2022.

  1. A university is testing the effectiveness of two different medications. They have 10 volunteers. To conduct the study, researchers randomly assign a number from 1 to 2 to each volunteer. Volunteers who are assigned number 1 get Treatment 1 and volunteers who are assigned number 2 get Treatment 2. To implement this strategy, they input the following settings in the Random Number Generator:
    • They want to assign a number randomly to each of 10 volunteers, so they need 10 entries in the random number table. Therefore, the researchers enter 10 in the text box labeled "How many random numbers?".
    • Since each volunteer will receive one of two treatments, they set the minimum value equal to 1; and the maximum value equal to 2.
    • Since some volunteers will receive the same treatment, the researchers allow duplicate random numbers in the random number table. Therefore, they set the "Allow duplicate entries" dropdown box equal to "True".
    • And finally, they set the Seed value equal to 1. (The number 1 is not special. They could have used any positive integer.)

    Then, they hit the Calculate button. The Random Number Generator produces a Random Number Table consisting of 10 entries, where each entry is the number 1 or 2. The researchers assign the treatment indicated by the first entry to volunteer number 1, the treatment indicated by the second entry to volunteer number 2, and so on.

    Using this strategy, what treatment did the first volunteer receive? What treatment did the tenth volunteer receive?

    Solution:

    This problem can be solved by recreating the exact Random Number Table used by the researchers. By inputting all of the same entries (especially the same Seed value) that were used originally, we can recreate the Random Number Table used by the researchers. Therefore, we do the following:

    • Enter 10 in the text box labeled "How many random numbers?".
    • Set the minimum value equal to 1 and the maximum value equal to 2.
    • Set the "Allow duplicate entries" dropdown box equal to "True".
    • Set the Seed value equal to 1.

    Then, we hit the Calculate button. This produces the Random Number Table shown below.

    Specs: This table of 10 random numbers was produced according to the following specifications: Numbers were randomly selected from within the range of 1 to 2. Duplicate numbers were allowed. This table was generated on 12/31/2022.

    What are the numbers between 1 to 30?

    Answer: natural number between 1to 30 is 2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,23,24,25,26,27,28,29.

    What is the most picked random number?

    The most random two-digit number is 37, When groups of people are polled to pick a “random number between 1 and 100”, the most commonly chosen number is 37. The Answer to the Ultimate Question of Life, the Universe, and Everything (“what is 6 times 9”, correct in base 13).

    What is a number from 1 to 20?

    The number names from 1 to 20 are as follows: 1 – one, 2 – two, 3 – three, 4 – four, 5 – five, 6 – six, 7 – seven, 8 – eight, 9 – nine, 10 – ten, 11 – eleven, 12 – twelve, 13 – thirteen, 14 – fourteen, 15 – fifteen, 16 – sixteen, 17 – seventeen, 18 – eighteen, 19 – nineteen, 20 – twenty.

    What is pick a number?

    The Pick a Number strategy asks students to read a selection of quotations on a topic and choose one to explore more deeply.