Three-sided die · fair 1–3 · d6 halving
Roll 3 Sided Dice — A Fair d3, and Why Real d3s Are Rare
A fair three-sided die, rolled with the same cryptographic source as every other die here — plus the reason a physical d3 is unusual and how a d6 stands in for one.
Roll the dice
Press Space or Enter, or click Roll. Total —.
Result
Nothing rolled yet
Theoretical · This session (0 rolls)
A d6 as a d3
Halving upward gives each result two of the six faces, so it is fair with no reroll. The die on this page is drawn directly, so it needs no halving at all.
Why a real three-sided die is rare
There is no regular solid with three faces, so a “d3” cannot be a fair polyhedron in the way a d6 or a d20 is. Manufacturers get around this in three ways, and none of them is a plain three-sided shape. The most common is a *barrel* or prism: a triangular tube that is rolled and read from the top face, which is fair in principle but can be fiddly to read. The second is a rounded *d6 marked twice* — the faces are printed 1, 2, 3, 1, 2, 3 so that each number appears on two of the six faces. The third, and by far the most common at a real table, is simply to roll a d6 and halve it.
The doubling trick is worth understanding because it is easy to get wrong. Marking a cube 1,2,3,1,2,3 with the pairs on opposite faces is fair if the cube itself is fair: each number covers two of the six equally likely faces. But a cube marked 1,1,2,2,3,3 in three adjacent bands is not fair in the same obvious way, because the shape of the marking does not change the physics — the cube is still fair, so each of the six faces is 1/6 and each number is 2/6. What the marking changes is how easy it is to *read* the die, which is where most real d3 arguments come from.
This roller has no such problem: the three outcomes are drawn directly, each with a probability of exactly 1/3, using the same rejection sampler as every other die. A 100,000-roll test holds each face within 1% of 33.3%.
How a d6 becomes a d3, and the trap in doing it wrong
The tabletop convention is to roll a d6 and halve it upward: 1–2 is a 1, 3–4 is a 2, 5–6 is a 3. That maps six equally likely faces onto three outcomes, two faces each, so it is fair. The trap is doing it the other way — “roll a d6 and take the remainder modulo 3” — because that maps 1,2,3 to 1,2,3 and then 4,5,6 to 1,2,3 as well, which is also fair, but “roll a d6 and reroll 4,5,6” is fair only if you actually reroll and do not keep the 4,5,6. The upward halving is the version that needs no reroll and no special case.
The same idea explains why this site uses rejection sampling for every die. A computer has to be careful for exactly the reason a table has to be careful: mapping a large range of random numbers onto a small range of outcomes is only fair when the large range is an exact multiple of the small one, and otherwise the leftover has to be thrown away. That throw-away is the difference between a fair d3 and one that quietly favours a face.
What a d3 is actually used for
A d3 turns up wherever a game wants a small, even spread with three outcomes. It is used for random tables with three entries, for the “1 in 3” chance on a wandering-monster check, for the number of rounds a short effect lasts, and for damage on the smallest weapons and cantrips. Some games use 2d3 or 3d3 as a gentler bell curve than a single d6, because three dice of three faces cluster around the middle even more tightly than two of six.
If you need the roll, use the button above: `1d3` for a single die, `2d3` or `3d3` for a small pool, and the expression box for anything with a modifier, such as `1d3+2`. If you would rather roll the physical die, use a d6 and halve it upward — the page explains the mapping because it is the version that needs no reroll.
Questions this page answers
Is there a real three-sided die?
Not as a regular polyhedron — there is no regular solid with three faces. The dice sold as d3s are either a triangular barrel or a d6 marked 1,2,3,1,2,3. The most common tabletop method is to roll a d6 and halve it upward.
How do I turn a d6 into a d3?
Roll the d6 and halve it upward: 1–2 is a 1, 3–4 is a 2, 5–6 is a 3. Each number covers two of the six equally likely faces, so the result is fair with no reroll needed.
Is this d3 fair?
Yes. Each of the three outcomes is drawn directly with a probability of exactly 1/3, using crypto.getRandomValues() and rejection sampling. The test suite draws 100,000 times and holds each face within 1% of 33.3%.
What is a d3 used for?
Small random tables with three entries, a one-in-three chance, the duration of a short effect, and the damage of the smallest weapons. Pools such as 2d3 or 3d3 are used when a game wants a tighter bell curve than a single d6.
Can I roll more than one d3?
Yes. Type 2d3, 3d3 or any pool up to a hundred dice, and add a modifier such as 1d3+2. The total and the exact probability of each sum are shown underneath.
Sources, and what was actually fetched
Every figure on this site that is not arithmetic comes from one of these pages, read while this build was made. Where a source could not be reached, the page says so instead of pretending.
- MDN — Crypto.getRandomValues() — the API this site draws from, and its wording that the values are “cryptographically strong random values”.
- D&D Beyond — Basic Rules: Using Ability Scores — the advantage and disadvantage rule quoted on the DnD page: “you roll a second d20 … Use the higher of the two rolls if you have advantage, and use the lower roll if you have disadvantage.”
- D&D Beyond — Basic Rules: Step-by-Step Characters — the ability-score method quoted on the DnD page: “Roll four 6-sided dice and record the total of the highest three dice … Do this five more times, so that you have six numbers.”
- W3C — WCAG 2.2 relative luminance and contrast ratio — the luminance formula 0.2126R + 0.7152G + 0.0722B and the ratio (L1 + 0.05) / (L2 + 0.05) used to pick every label colour on the colour dice.
- Wikipedia — Dice notation — the NdM convention and the keep/drop and exploding suffixes this roller implements.
- Wikipedia — Yahtzee — the five-dice game and the note that Yahtzee is a trademark of Hasbro; this site is not affiliated with Hasbro and uses no Hasbro artwork or score sheet.
A dice roller is a random-number generator, not a referee. The faces are equally likely and the probability chart is arithmetic on your expression; the game rules quoted on the DnD and five-dice pages belong to their publishers, and the sources are linked above. Nothing you type is uploaded, and nothing is remembered after you close the tab except the expression this browser saved for you.