In short
Each virtual die lands on any of its faces with equal probability, like a fair physical die. Choose how many dice and how many sides, using the usual notation where 2d6 means two six-sided dice, and add a modifier if your game needs one. The roller shows each die, the total, the lowest and highest possible totals and the long-run average.
How it works
On a fair die every face is equally likely. OpenStax Introductory Statistics uses the six-sided die as its example: each face from 1 to 6 has probability 1/6, so rolling at least five has probability 2/6.
P(any face) = 1 ÷ s average = (s + 1) ÷ 2
lowest = k + m highest = k × s + m average = k × (s + 1) ÷ 2 + m
Totals of several dice are not equally likely. With 2d6 there are 36 equally likely pairs, and 6 of them add up to 7, so 7 is the most common total (probability 6/36 = 1/6), while 2 and 12 each need a single pair (1/36).
The roller draws each die with rejection sampling from a well-tested pseudo-random generator, seeded from your browser’s cryptographic random source, so no face is favoured.
Worked examples
Two six-sided dice (2d6)
Totals run from 2–12. The average total is 7, which is also the most likely single total: 6 of the 36 combinations make 7.
A d20 with a +5 modifier
One twenty-sided die gives 1 to 20 with equal chance; adding 5 shifts the result to 6–25, with an average of 15.5. Every total in that range is equally likely, unlike sums of several dice.
Eight six-sided dice (8d6)
Eight dice total between 8–48, averaging 28. With many dice, results cluster tightly around the average and the extremes become very rare: all sixes has a chance of 1 in 1,679,616.
Using this calculator well
- Dice notation. “3d8 + 2” means roll three eight-sided dice and add 2. Enter 3, choose d8, and put 2 in the modifier under More options.
- Percentile dice. A d100 gives 1 to 100 directly, the same as rolling two d10 for tens and units.
- Share a roll. The page address stores the seed, so a shared link shows everyone the same result. Press Roll to make a new one.
- Streaks happen. Several high or low rolls in a row are normal with fair dice; each roll is independent of the ones before it.
Frequently asked questions
What is the most likely total with two dice?
Seven. Of the 36 equally likely ways two six-sided dice can land, six add up to 7 (1+6, 2+5, 3+4, 4+3, 5+2, 6+1), so the chance is 1 in 6. Totals of 2 and 12 are the least likely, at 1 in 36 each.
Is this dice roller fair?
Yes. Each die picks a face with equal probability using an unbiased method, and the starting seed comes from your browser’s cryptographic random source. Over many rolls each face of a d6 comes up about one sixth of the time, as a fair physical die would.
What does d20 mean?
It is a twenty-sided die, common in tabletop role-playing games. The number after d is the number of faces, so d4, d6, d8, d10, d12, d20 and d100 are dice with 4 to 100 sides. A number in front, like 2d20, says how many to roll.
What is the average roll of a die?
For a fair die with s sides, the average is (s + 1) ÷ 2: 3.5 for a d6, 10.5 for a d20 and 50.5 for a d100. For several dice, multiply by the number of dice and add any modifier.
Sources and methodology
- Introductory Statistics 2e, 3.1 Terminology, OpenStax, Rice University, a fair six-sided die: each face equally likely; P(at least five) = 2/6 (accessed November 24, 2026)
- Scrambled linear pseudorandom number generators (xoshiro128** 1.1), Blackman D, Vigna S, ACM Transactions on Mathematical Software 47(4), 2021, xoshiro128** generator; reference test vector checked in tests (accessed November 24, 2026)
Rounding: Whole-number rolls. Each die uses an unbiased draw from the xoshiro128** generator, seeded from your browser’s cryptographic random source.
Review status: formulas verified against the cited sources by automated tests; editorial review pending. Version 1.0.0, content updated November 24, 2026.
Changelog
- 1.0.0 · November 24, 2026: First published.
How we build and test calculators
Embed this calculator on your site
Paste this code into your page. The calculator runs in a frame, with no tracking and no cookies, and links back here for the formula and sources.
<iframe src="https://northcalculator.com/embed/en/dice" title="Dice Roller" width="100%" height="760" style="border:0" loading="lazy"></iframe>