Random tool · Free · No sign-up
Dice Roller
Pick a die, or type dice notation such as 2d6+3, and press Roll or the Space bar. Each face comes from your browser’s cryptographic random source and has exactly the same chance: 1 in 6 on a d6, 1 in 20 on a d20. The total, every die and the exact odds of that total appear at once.
It works offline, and nothing is sent anywhere.
The odds of every total
Average 3.5, spread (SD) 1.71, totals 1 to 6.
| Total | Chance | This total or more |
|---|---|---|
| 1 | 16.67% | 100% |
| 2 | 16.67% | 83.33% |
| 3 | 16.67% | 66.67% |
| 4 | 16.67% | 50% |
| 5 | 16.67% | 33.33% |
| 6 | 16.67% | 16.67% |
History, the 1,000-roll test and keys
Your last 200 rolls, newest first
- No rolls yet.
Test the dice: 1,000 rolls
Rolls one die 1,000 times and checks the counts against a fair die with a chi-square test. It does not change your history.
Random source: crypto.getRandomValues, 32-bit draws with rejection sampling. Draws rejected this session: 0.
Keys (when the tool has focus)
4, 6, 8, 0 (d10) and 2 (d20) add a die; @ adds a d12 and % a d100; Backspace removes the last die; C clears; H opens this panel; Space or Enter rolls.
Each face comes from your browser’s cryptographic random source, drawn before the dice turn; a d10 shows 0 for 10, and a d100 is read as a tens die plus a ones die. Nothing is sent anywhere, and it works offline.
Tap a die in the tray to add it, or type the roll a game asks for. The roller shows each die, keeps or drops dice as the notation says, and draws the chance of every possible total, with yours marked.
A dice roller stands in for physical dice: it picks each die’s face at random, with every face equally likely, and adds them up. Dice notation such as 2d6+3 says how many dice, how many sides and what to add.
- No sign-up
- Nothing sent anywhere
- Exact odds
- Works offline
Key facts
| Detail | Answer |
|---|---|
| Dice | d4, d6, d8, d10, d12, d20 and d100, and any die from d2 to d1000 |
| Each face of a d6 | 1 in 6 (16.67%) |
| Two dice | 7 is the likeliest total, 6 ways out of 36 (16.67%) |
| Opposite faces of a d6 | 1 and 6, 2 and 5, 3 and 4: each pair adds up to 7 |
| Random source | crypto.getRandomValues, 32-bit draws with rejection sampling; never Math.random |
| Odds | Exact for plain, exploding and most keep/drop rolls; estimated from simulated rolls only for very large keep/drop pools, and labelled |
How to roll dice online
Choose the dice, roll, read the odds.
Choose the dice
Tap d4 to d100 in the tray, once per die, or type notation such as 3d6 or 2d8+1d4.
Add modifiers if the game needs them
+3 adds three; 4d6dl1 drops the lowest of four; adv rolls two d20 and keeps the higher.
Roll
Press Roll or the Space bar, or press Enter in the notation box.
Read the dice and the total
Each die is shown, dropped dice are faded, and the board gives the total and how it was made.
Read the odds
The chart and table give the chance of every total, with yours marked.
Reroll one die, or keep a record
Tap a die to reroll only that one; the history keeps your last 200 rolls.
What people roll dice online for
Any game or lesson that needs dice when the dice are missing, or when the odds matter.
Board games
Two d6 for most family games, with doubles easy to spot on the screen.
Tabletop role-playing games
d20 checks with advantage (the d20 roller shows the odds of each), 4d6 drop lowest for ability scores, damage rolls such as 2d6+3, all in one box; the DnD dice roller rolls the attack and its damage together.
Classrooms
Roll 1,000 times to show the law of large numbers, or colour dice for young children.
Party games
Full screen on a TV, so everyone sees the roll; for dice that tumble across the screen, the 3D dice roller.
Maths practice
Predict the likeliest total of two or three dice, then check it against the table.
Quick decisions
A d3 or a d6 for three or six options; for a list of names the random picker is quicker.
Dice notation in one minute
Dice notation writes a roll as a number of dice, the letter d and the number of sides: 3d6 is three six-sided dice, d20 one twenty-sided die and d% a percentile roll from 1 to 100. Add or take away dice and whole numbers with + and −. The box above the dice reads the same notation, so anything written in a game’s rules can be typed as it is.
| Notation | Means | Range | Average | Likeliest total |
|---|---|---|---|---|
| 2d6+3 | Two six-sided dice, plus 3 | 5 to 15 | 10 | 10 (16.67%) |
| 4d6dl1 | Four d6, drop the lowest | 3 to 18 | 12.24 | 13 (13.27%) |
| 2d20kh1+5 | Two d20, keep the higher, plus 5 | 6 to 25 | 18.83 | 25 (9.75%) |
| d% | A percentile roll | 1 to 100 | 50.5 | Each 1% |
| 3d6! | Three d6; a 6 rolls again and adds | 3 and up | 12.6 | 9 or 10 (9.03%) |
| 1d20+1d4+2 | A d20 and a d4, plus 2 | 4 to 26 | 15 | 7 to 23 (5% each) |
The modifiers work on one group of dice at a time: kh and kl keep the highest or lowest dice, dh and dl drop them, and ! explodes a die, rolling it again whenever it shows its top face, at most 50 times. adv and dis are shorthand for two d20 keeping the higher or the lower (the d20 roller works out what that is worth). Up to 100 dice of a kind, 2 to 1,000 sides and 200 dice in all; d3 and d2 are written 1d3 and 1d2.
Which die is which: d4 to d100
The common dice are five of the regular solids, a ten-sided die and a pair of tens. Their names give their faces: a d8 has eight. The face counts, corners and edges below are from Wolfram MathWorld’s table of the Platonic solids.
| Die | Shape | Faces | Corners | Edges | Average roll | Each face |
|---|---|---|---|---|---|---|
| d4 | Tetrahedron | 4 triangles | 4 | 6 | 2.5 | 25% |
| d6 | Cube | 6 squares | 8 | 12 | 3.5 | 16.67% |
| d8 | Octahedron | 8 triangles | 6 | 12 | 4.5 | 12.5% |
| d10 | Pentagonal trapezohedron | 10 kites | 12 | 20 | 5.5 | 10% |
| d12 | Dodecahedron | 12 pentagons | 20 | 30 | 6.5 | 8.33% |
| d20 | Icosahedron | 20 triangles | 12 | 30 | 10.5 | 5% |
| d100 | Two d10s (tens and ones) | 100 pairs | – | – | 50.5 | 1% |
d4: the four-sided die
A tetrahedron has no face on top when it lands; it rests on a face with a point upward, so its number is read at the top point or along the bottom edges, depending on how it is printed. It averages 2.5 and is the usual die for small amounts, such as a dagger’s damage in a role-playing game; the DnD dice roller shows why a critical hit with it averages 8, not 11.
d6: the cube
The everyday die. Opposite faces add up to 7, so 1 is opposite 6, 2 opposite 5 and 3 opposite 4, and the faces can be laid out in two mirror-image ways (MathWorld, Dice). The roller shows pips by default, or numbers or colours for young children.
d8: the octahedron
Eight triangles, averaging 4.5. It looks like two square pyramids joined at the base, and lands with one face flat on top, read like a d6.
d10: the ten-sided die
Not a regular solid but a pentagonal trapezohedron, whose ten faces are kites (MathWorld, Trapezohedron). Real d10s are numbered 0 to 9, and a single d10 reads 0 as 10; the roller shows the 0 the same way, with “0 = 10” under it.
d12: the dodecahedron
Twelve pentagons, averaging 6.5. It is the only common die whose faces are not triangles, squares or kites, and a d12 can stand in for a clock or a year’s months.
d20: the icosahedron
Twenty triangles, each 5%. Role-playing games use it to decide whether an action succeeds, and two d20 keeping the higher (advantage) give a 20 9.75% of the time instead of 5%; the d20 roller shows your exact chance at any target number, and the DnD dice roller rolls death saves with a tracker. Twenty-sided dice are ancient: The Metropolitan Museum of Art holds one from Egypt, carved in serpentinite and inscribed with Greek letters, from the Ptolemaic to the Roman period.
d100: percentile dice
Usually two d10s, one numbered in tens (00 to 90) and one in ones (0 to 9), read together: 40 and 7 make 47, and 00 with 0 makes 100, as the Basic Rules’ section on game dice sets out. The roller shows each d100 result with its tens and ones under it; the d100 roller rolls the two dice on their own, with a roll-under check and your own table.
Why these shapes make fair dice
A die is fair when every face has the same chance of landing up, and the shape decides that before any material does. The shapes used for dice are isohedra: solids whose faces are all identical and whose symmetries can move any face onto any other, so no face is special. The five Platonic solids are isohedra, and so are the trapezohedra, the family the d10 belongs to (MathWorld, Isohedron).
A real die is only as fair as its making, which is why Britannica notes that casino dice are made to a tolerance of 0.0001 inch. An on-screen die has no shape or weight at all: the roller draws each face from a random number, so every face has exactly the same chance however the die is drawn. A flipped coin has a smaller, measured version of the same problem: a caught coin lands on its starting side 50.8% of the time.
What totals to expect with two or three dice
One die is flat: every face equally likely. Add dice and the totals bunch in the middle, because more combinations make a middle total. Two d6 can make 7 six ways and 2 or 12 only one way each; MathWorld gives the chance of a total t as (6 − |t − 7|) / 36 (Dice).
| Total | Ways | Chance |
|---|---|---|
| 2 | 1 | 2.78% |
| 3 | 2 | 5.56% |
| 4 | 3 | 8.33% |
| 5 | 4 | 11.11% |
| 6 | 5 | 13.89% |
| 7 | 6 | 16.67% |
| 8 | 5 | 13.89% |
| 9 | 4 | 11.11% |
| 10 | 3 | 8.33% |
| 11 | 2 | 5.56% |
| 12 | 1 | 2.78% |
With three d6 the middle widens: 10 and 11 are the likeliest totals, one roll in eight each, and 3 or 18 come up once in 216 rolls. The chart above the dice draws the same shape for whatever you type, and the table marks where your own total falls. For a pair of dice on their own, roll two dice lists the pairs behind every total and counts your doubles, and how many rolls it takes for 7 to lead 8 is worked out in a guide.
Is an online dice roller fair?
An online roller is fair if two steps are done right: the random bits and the way they become a face. The bits here come from crypto.getRandomValues, which MDN describes as giving cryptographically strong random values from a generator seeded with enough entropy (how that differs from Math.random). Turning bits into a face is where many rollers slip. A random byte has 256 values, which do not divide by 6, so the remainder shortcut favours four faces:
| Faces | Byte values each | Chance | Fair chance |
|---|---|---|---|
| 1, 2, 3, 4 | 43 of 256 | 16.80% | 16.67% |
| 5, 6 | 42 of 256 | 16.41% | 16.67% |
This roller draws 32 random bits and throws away any draw at or above the largest multiple of the side count, then draws again, so every face has exactly the same chance. For a d6 a draw is thrown away about once in a billion (4 values in 232); the count is shown under the 1,000-roll test. The random number generator works the same rule through with a worked table.
To check it yourself, open the test panel and roll one die 1,000 times. The counts will not be equal, and should not be; the chi-square test says whether they are as uneven as a fair die’s usually are. Even a perfect die fails that test about one time in 20, so one unusual result is not evidence of a fault. The guide to testing whether a die is fair works the test through by hand and shows how many rolls it takes to catch a loaded die.
A short history of dice
Dice are among the oldest gaming objects. The Encyclopædia Britannica traces them to knucklebones, small animal ankle bones thrown like dice, and notes cubic dice in Egyptian tombs from about 2000 BCE and in China from about 600 BCE, and pyramid-shaped dice used with the Royal Game of Ur. The British Museum’s board of the Royal Game of Ur, from the Royal Cemetery at Ur, dates from about 2600 to 2400 BC. MathWorld records dice from Shahr-e Sukhteh in Iran from about 2500 to 2300 BC.
The mathematics came much later: Britannica credits Gerolamo Cardano and Galileo Galilei with starting it, in the 16th and early 17th centuries. It is the kind of question the odds table above answers: why some totals of three dice turn up more often than others.
Dice in the classroom
Dice make chance visible, which is why they are a classroom staple. A few ways to use the roller:
- Roll a die 100 times. The test panel rolls 1,000 at once and draws the counts against the expected line, so pupils can see that a fair die is uneven in the short run and even in the long run.
- Streaks. A coin is the simplest way to see how streaks halve the odds; the coin flip probability calculator gives the exact chance of any run, the gambler’s fallacy guide explains why a run never makes a face due, the luck test counts them, and guess heads or tails shows what a score of 7 of 10 really means.
- Two dice and the middle. Ask which total of two dice comes up most, then roll and compare with the table of 36 combinations, or pool a class’s rolls on roll two dice; why 8 often beats 7 in a short experiment says how many rolls it takes.
- Colour dice for young children. Choose Colours and a d6 shows red, orange, yellow, green, blue or purple, each named on the face.
- Full screen. Shows the dice and total large enough for a projector.
For other random choices in class, the random picker chooses names from a list and the coin flip settles two-way calls; the draw statistics on the daily tarot show how streaks and repeats turn up by chance, a good follow-up to a dice lesson, and the one card tarot draws a card from a fair 78-card shuffle. For learning the numbers themselves, the number flashcards show each one as a numeral, dots or a ten-frame.
Sources
Each source was opened and checked on 19 November 2026.
- MDN Web Docs, Crypto: getRandomValues() method
- Weisstein E. W., “Dice”, Wolfram MathWorld
- Wolfram MathWorld, “Platonic Solid”
- Wolfram MathWorld, “Isohedron”
- Wolfram MathWorld, “Trapezohedron”
- Glimne D. and the Editors of Encyclopædia Britannica, “dice”
- The British Museum, game-board (The Royal Game of Ur), 1928,1009.378
- The Metropolitan Museum of Art, twenty-sided die (icosahedron) with faces inscribed with Greek letters, 10.130.1157
- Basic Rules (2014), Introduction: Game Dice (percentile dice, d3 and d2)
This dice roller or a typical online roller
What this roller adds to a typical online dice roller.
| This dice roller | A typical dice roller | |
|---|---|---|
| Dice notation | 2d6+3, keep, drop, explode, adv/dis | Sometimes NdS only |
| Odds of your total | Exact, with a chart and table | No |
| How a face is drawn | crypto.getRandomValues, rejection sampling, stated | Usually not stated |
| Test the dice yourself | 1,000 rolls with a chi-square test | No |
| Real-dice faces | d10 numbered 0–9, d100 as tens and ones | Often 1–10 and one ball |
| Reroll one die | Tap it | Sometimes |
| History and full screen | Yes, kept on your device | Varies |
More random tools
Every random tool on the site runs in your browser, needs no sign-up, and sends nothing anywhere.
Dice1
Dice of every common size, each face equally likely, with the totals and their odds.
All 6 random tools, by category: Coins & yes or no (2) · Dice (2) · Cards & draws (1) · Numbers & picks (1)
Frequently asked questions
Is this dice roller fair?
Yes. Every face is drawn with crypto.getRandomValues and rejection sampling, so no face gets even a tiny extra share. The shortcut many rollers use, a random byte’s remainder, gives four faces of a d6 16.80% each and two only 16.41%. Run the 1,000-roll test and watch each face settle near its fair share.
How do I roll several dice at once?
Tap a die in the tray once for each die you want, or type notation such as 3d6 or 2d8+1d4. Every die is shown with the total, and tapping one die rerolls just that die. Up to 100 dice of a kind and 200 in one roll.
What does 2d6+3 mean?
Roll two six-sided dice and add 3 to their total. The result runs from 5 to 15, averages 10, and 10 is the likeliest single total at 6 chances in 36 (16.67%). Type 2d6+3 into the notation box to see every total’s chance.
What is the most common total with two dice?
7, which six of the 36 combinations make: 1 and 6, 2 and 5, 3 and 4, each both ways round, a 16.67% chance. 2 and 12 are the rarest, one combination each, 2.78%.
Why do opposite sides of a die add up to 7?
It is the standard layout of a six-sided die: 1 is opposite 6, 2 opposite 5 and 3 opposite 4. The faces around one corner can then run clockwise or anticlockwise, so standard dice come in two mirror-image versions. Either way the die is equally fair.
How do I roll a d3 or a d2?
Type 1d3 or 1d2 into the notation box; any die from 2 to 1,000 sides works. With physical dice, a d3 is a d6 halved and rounded up (1–2 is 1, 3–4 is 2, 5–6 is 3), and a d2 is any die read as odd or even.
Can I roll a die 100 times and see the results?
Yes. Open the test panel, choose the die and press Roll 1,000 times: the counts for every face are drawn against the expected count, with a chi-square test of whether they look like a fair die. Your own roll history keeps the last 200 rolls.
Does the dice roller work offline, and does it save my rolls?
After the page has loaded, rolling needs no connection. Your dice, face style and last 200 rolls are kept in this browser’s storage and nowhere else, and Clear the history deletes them. A copied link shares the dice, never your results.
Related guides
Longer answers to the questions behind the numbers.
- Dice
How to test whether a die is fair
The chi-square test in four steps with a worked example, the 5% limit for a d4 to a d100, and the part most guides skip, how many rolls it takes to catch a die that really is loaded.
- Random
Math.random vs crypto.getRandomValues
What each function promises in the spec, why Math.random is not biased but is predictable, why getRandomValues is itself a seeded generator, and the modulo mistake that makes picks unfair with either.
- Surveys
How many people do you need to survey?
Why 385 answers a city and 45 answers a club, and the margin each sample size buys.
- Chance
Is a coin flip really 50/50?
A hand-flipped coin landed on the side it started on 50.8% of the time over 350,757 flips. The figures, why the bias is real but small, and the one fix the authors give.
- Chance
The gambler's fallacy and coin-flip streaks
A streak of heads never makes tails due. The exact odds, how long a run to expect, the 1913 roulette run, what asylum judges and umpires did, and when a streak is real evidence.
- Probability
Two dice: every sum's probability, and why 8 can beat 7
The table of every sum, and the number nobody prints: how often a fair pair of dice shows 8 at least as often as 7, and how many rolls settle it.