Random Number Generator 1-4

Generate a random integer from 1 to 4, with both ends included.

—
Options

This page returns integers from 1 to 4 — each number appears 25% of the time. The range is fixed so you can generate again without re-entering the bounds.

Typical use: picking a player from four, choosing a quadrant, or a 1-in-4 draw. If you need a different range, the fields above are editable; the URL stays on this page and nothing is submitted anywhere.

How to use it

  1. Press generate — the range is already set to 1-4.
  2. Turn on no-repeats if you are drawing several winners from the same set.
  3. Copy the result, or keep generating; each result is independent.

Why the range stops at 4

Four divides cleanly into 100, which makes it the easiest range to sanity-check by generating a few hundred values. With 4 possible values, the chance of any specific number coming up is each number appears 25% of the time.

Generating with a narrow range is not the same as generating a wide range and rejecting out-of-range values. Filtering like that biases the result towards whatever is left; this tool draws directly from the range you set, using rejection sampling on the raw random bits.

Reviewed 2026-10-21. This tool runs entirely in your browser — no server, no account, and nothing you generate is stored.

Frequently asked questions

Can I use 1-4 to simulate a d4?

It gives the same distribution as a four-sided die. The dice roller tool adds multiple dice and totals if you need something closer to a tabletop session.

Is 1 or 4 more likely than the middle values?

No. Each of the 4 values has an identical probability. If you generate a few hundred results, the counts should converge towards equal — small samples always look lumpy.

Can I generate more than one number at once?

Yes. Set the count above; leave no-repeats off if duplicates are acceptable, turn it on if you are drawing distinct winners.

Related tools

More from Random numbers.