4 outcomes · 25% each · Web Crypto

Random number 1–4

A number between 1 and 4, drawn in your browser the moment you tap. Every value at exactly 25%, never seeded and never nudged, with recent draws kept on your device and a link that replays any result.

Range

How many numbers

No repeats while the range allows it; every number in the range is equally likely.

Tap generate for a number between 1 and 4, or set your own range.

The 1–4 range

4 outcomes, each worth 25%, with nothing weighted toward the middle.

Range
1 to 4, both included
Outcomes
4 whole numbers
Any number
25%, exactly 1 in 4
Count
1 to 10 numbers per draw
Repeats
None up to 4 numbers, then unavoidable
Proof
Every draw gets a link that replays it

What a 1–4 draw is for

Where this particular span actually turns up.

  • Rolling a d4 without the pointiest die in the set
  • Dealing a random suit: clubs, diamonds, hearts or spades
  • Splitting a class or a team into four groups
  • Picking a quarter of the year for a review slot
  • Choosing a direction at random: north, east, south, west

How the randomness works

The exact path from tap to number, with no black box in the middle.

Source
crypto.getRandomValues, the browser's cryptographic generator
Per number
One unsigned 32-bit value, sometimes more
Mapping
Rejection sampling onto 4 slots
Discarded
None: 4 divides 4,294,967,296 exactly
Seeded
No. These tools are never seeded
Where it runs
Your browser. No server ever sees a draw

1–4 — frequently asked

Number them 1 to 4 and tap Generate. Each carries a quarter of the probability, and the draw has no memory of the last one.

Statistically identical, and mechanically better behaved. A d4 has no upward face, so you read the number off an edge or the point, and because it barely rolls it randomises less than a cube does. Worn or badly cast d4s show measurable lean. If you want the shape as well as the number, the d4 roller draws one on screen.

Set the count to 4. You get a shuffled permutation, one of the 24 possible orders, with each order equally likely.

Nearby ranges

Every preset has its own page, its own uses and the same generator.

See all preset ranges, or type any two numbers into the fields above.

More ways in

Prefer numbers that mean something?

Your daily lucky numbers, drawn fresh from your birth date every morning.

Get today's numbers