CalcRover

Random Number Generator 1–6

One click gives you a fair random number from 1 to 6 — every value has exactly a 1-in-6 chance. Built for replacing a standard die: board games, dice drills, and probability demos. 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…6, so every outcome has probability exactly 1/6 — 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/6
each click = independent draw (no memory)

Worked examples

Example 1: rolling a die without dice

The classic 1–6 use case, done fairly.

  1. One generate = one d6 roll (each face exactly 1/6).
  2. Need 2d6? Set "how many" to 2 and add the pair.

A fair pick nobody can argue with.

Example 2: generating several at once

You need a handful of values from 1–6.

  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 6 equally likely?+

Yes — the draw is uniform: each value has probability exactly 1/6, 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/6. 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