Random Number 1–4 Generator
Pick a number between 1 and 4
This tool picks a whole number from 1 to 4, each with an equal 25% chance — exactly like a fair four-sided die (d4). Reach for it whenever you have four options: the four suits in a deck, the four quarters of a game, four teammates drawing for a turn, or four answers on a multiple-choice question. Tap Generate for an instant, unbiased pick.
Every draw uses the Web Crypto API rather than Math.random(), so the result is cryptographically secure and statistically uniform — a d4 that can never land on its point or roll away under the sofa.
Use cases
- Roll a virtual four-sided die (d4) for a tabletop game
- Pick a suit — 1 clubs, 2 diamonds, 3 hearts, 4 spades — without a deck
- Choose one of four options, quarters, or corners
- Draw which of four players goes first
- Assign one of four teams, lanes, or rounds at random
How it works
- Your browser generates a cryptographically secure 32-bit unsigned integer
- The integer is mapped to the range 1–4 using rejection sampling, so every value is exactly equally likely
- The result is displayed instantly — no server request needed
Everything runs locally in your browser. Generated numbers stay in your browser and are not stored by Rangdom.
Frequently asked questions
Is this the same as rolling a d4?
Mathematically, yes — a fair four-sided die and this generator both pick a uniform integer from 1 to 4. For the dice look with other die sizes, try the dedicated d4 dice roller; this page is built for the plain "random number 1–4" intent.
Is every number equally likely?
Yes. Each number from 1 to 4 has an equal 25% (one-in-four) chance of appearing on every generation.
Can I get the same number twice in a row?
Yes — true randomness means any number can appear regardless of previous results. With only four outcomes, repeats are common and perfectly normal.
What if I need a different range?
Use the custom range generator to pick any minimum and maximum, or jump to the 1–10 generator for a wider spread.