CalcRover

Random Number Generator 1–5

One click gives you a fair random number from 1 to 5 — every value has exactly a 1-in-5 chance. Built for five-point ratings, sampling one of five options, or picking a weekday at random. The From/To fields let you switch to any other range on the spot.

How the pick works

The generator asks your browser's cryptographic random source (crypto.getRandomValues) for a value and maps it uniformly onto 1…5, so every outcome has probability exactly 1/5 — no pattern, no memory of previous picks.

Independence is the point: a number is never "due". Each click is a fresh draw, like a fair die that can't remember what it rolled before. Everything runs locally in your browser.

P(each value) = 1/5
each click = independent draw (no memory)

Worked examples

Example 1: random weekday for a chore rotation

The classic 1–5 use case, done fairly.

  1. Map 1–5 to Monday–Friday.
  2. Generate one number to assign this week's day.

A fair pick nobody can argue with.

Example 2: generating several at once

You need a handful of values from 1–5.

  1. Set "How many" to the count you need.
    draws are independent — repeats can occur
  2. Copy the list with the Copy button.

A batch of independent draws, like rolling the same die repeatedly.

FAQ

Is every number from 1 to 5 equally likely?+

Yes — the draw is uniform: each value has probability exactly 1/5, verified by the mapping from the browser's cryptographic generator.

Can the same number come up twice in a row?+

Of course — independent draws have no memory, and back-to-back repeats happen with probability 1/5. A repeat is evidence of fairness, not brokenness.

Can I use a different range?+

Yes — edit the From and To fields for any whole-number range (negative numbers included), or tap the preset chips for the common 1–3 through 1–100 ranges.

Is this fair enough for raffles and giveaways?+

For informal draws, absolutely — cryptographic randomness is stronger than dice. For regulated lotteries you'd need an audited process, which no browser page provides.

Related calculators