PsyResearch
ψ   Psychology Research on the Web   



PSYRESEARCH.ORG > TOOLS > RANDOMIZER

Randomizer

Random Number Generator

Mersenne Twister randomization algorithm
Basic
Generate random numbers
between and    

Advanced
Delimiter Default: comma+space
Sort low to high All numbers unique Generate report & options



About this randomizer

Developed by Michael Ivanov, Ph.D., this randomizer employs Mersenne Twister randomization algorithm by calling PHP mt_rand() function. The algorithm is commonly used in statistical software, such as SPSS. The validity of this algorithm can also be tested by generating a bitmap image using the same function. To test, use your browser's reload button as many times as you want to reload the image. If you observe a pattern in the image (highly unlikely), the numbers are not truly random. Alternatively, you are welcome to try another randomizer that uses Atmospheric noise algorithm by clicking here.

Examples

Assign 60 cases into 2 groups:
  • Number your cases from 1 to 60
  • Enter: Generate 30 random numbers between 1 and 60
  • Check: "Sort low to high" & "All numbers unique"
  • The generated 30 numbers will be your 1st group. The remaining cases will be your 2nd group
Assign 60 cases into 3 groups:
  • Number your cases from 1 to 60
  • Enter: Generate 60 random numbers between 1 and 60
  • Check: "All numbers unique"
  • The first 20 numbers will be your 1st group, the second 20 will be your 2nd group, and the last 20 will be your third group
Raffle drawing for 60 participants:
  • Number your cases from 1 to 60
  • Enter: Generate 1 random number between 1 and 60
  • If n number of prizes to be drawn, Enter: Generate n random numbers & Check: "All numbers unique"

More randomization resources