Random Number Generator 1-5

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

—
Options

This page returns integers from 1 to 5 — each number has a 20% chance. The range is fixed so you can generate again without re-entering the bounds.

Typical use: star ratings, five-option polls and five-player turn order. 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-5.
  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 5

Five is the standard rating scale, so this range shows up whenever someone needs a random score from 1 to 5. With 5 possible values, the chance of any specific number coming up is each number has a 20% chance.

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

Why does a 5-star rating need a random number at all?

Mostly for testing: seeding placeholder ratings, generating sample data for a form, or picking a random score in a classroom quiz.

Is 1 or 5 more likely than the middle values?

No. Each of the 5 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.