Random Number Generator

Three ways to draw numbers in one place: generate a single random number between two values, create a list of several numbers at once, with or without repeats, or roll virtual dice in different formats. No sign-up, instant results.

Random number between two values

drawn number

Generate several numbers at once

drawn numbers

Roll virtual dice

rolls
total

How random number generation works

This tool uses the browser's built-in random number function to draw values within the range you enter. Every number between the minimum and maximum has exactly the same probability of being drawn, which is what a uniform distribution means.

Worked example

To draw the winning ticket among 1,000 raffle participants, simply use the first calculator with a minimum of 1 and a maximum of 1,000. To draw the 6 numbers of a lottery game between 1 and 60, the second calculator with the "no repeats" option checked makes sure no number repeats in the result.

Random numbers with or without repeats

The difference between generating numbers with repeats and without repeats matters depending on the use case. In a lottery draw or a raffle of names, each number or name should only appear once, so the "no repeats" option is the right choice. In a simulation where each result is independent of the previous one, like repeatedly flipping a coin or rolling a die, the numbers can, and should, repeat naturally.

Rolling virtual dice

Virtual dice are widely used in board games, tabletop RPGs and simulations. Each type of die is identified by its number of sides: a d6 is the traditional six-sided die used in games like Monopoly, while a d20 is the twenty-sided die popular in RPGs like Dungeons & Dragons. The calculator on this page lets you roll any quantity of these dice at once and automatically adds up the total.

Frequently asked questions

How does the random number generator work?

The generator draws a value within the minimum and maximum you entered, giving every number in that range an equal chance.

Can I generate random numbers without repeats?

Yes, just check the "no repeats" option in the list calculator, as long as the range has enough numbers for the requested quantity.

Are the virtual dice really random?

Yes, each side of the die has exactly the same probability of being rolled, just like a well-balanced physical die.