Click the number or press Generate — 4 possible outcomes
?Rolling a number between 1 and 4 is equivalent to rolling a standard 4-sided die (d4). Each of the 4 possible outcomes has exactly 25% probability — statistically identical to a physical roll.
Probability: Each number from 1 to 4 has exactly 25% probability on every roll. This is a discrete uniform distribution — there is no bias toward any particular value, and past results never influence future ones.
Common uses for this range: Board games, tabletop RPGs (d4 die), turn-order selection, quick decisions between 4 options.
This tool runs entirely in your browser. No data is sent to any server, no results are logged, and the generator re-seeds on every click.
Click the large number or press Generate. A random integer between 1 and 4 is selected with 25% probability for each value. You can also adjust the range using the fields above.
Yes. Math.random() in modern browsers uses a cryptographically seeded algorithm producing a uniform distribution. Each of the 4 integers between 1 and 4 has exactly equal probability.
The statistical mean of the range 1 to 4 is 3. Over many rolls, your results will converge toward this value. The standard deviation is approximately 1.12.
Use our Number Generator to generate up to 20 numbers at once with a no-repeats option — ideal for lottery picks and random sampling.