Developer Tools

Dice Roller

Roll any dice fairly, such as 2d6 or d20+5, and see the exact chance of every total.

By Nitin Raturi · Last reviewed

Input

How to use the Dice Roller

Roll any dice fairly and see the exact odds of every total.

  1. Pick a common roll or type dice like 2d6+1.
  2. Press Roll. Each die and the total are shown.
  3. Optionally type a target to see the chance of reaching it.
  4. Read the chart of every possible total.

Good to know

  • Rolls use your browser’s secure random generator.
  • Tap the ⓘ next to any field for a short guide to it.

Fair rolls from secure randomness, with the exact chance of every total.

Runs in your browser. Nothing you type is uploaded or saved in the link.

Common rolls

Fills in a common dice roll that you can then change.

How to fill it in

  • Pick one, or type your own below.

Dice

Dice in standard notation: the number of dice, d, then the number of sides, plus or minus extra.

How to fill it in

  • 2d6 rolls two six-sided dice. d20+5 rolls one twenty-sided die and adds 5.
  • Combine groups: 3d8-2+1d4. Up to 100 dice with up to 1,000 sides.

Example

With 2d6, a total of 7 comes up 16.7% of the time, more than any other total.

Chance of at least

A total to beat. The tool shows the exact chance of rolling that total or more.

How to fill it in

  • Type a whole number, or leave it empty.

Example

On a d20, 15 or more comes up 30.0% of the time.

Result

Press Roll

Lowest
2
Highest
12
Average
7.00
Spread (standard deviation)
2.42
Chance of each total
  1. 22.8%
  2. 35.6%
  3. 48.3%
  4. 511.1%
  5. 613.9%
  6. 716.7%
  7. 813.9%
  8. 911.1%
  9. 108.3%
  10. 115.6%
  11. 122.8%

How this calculator works

  1. Step 1Draw a fair number1 to sidesFrom secure randomness, with no bias towards any face.
  2. Step 2Add the dicePlus or minus extrasEvery die and the modifier make the total.
  3. Step 3Count every outcomeExact oddsAll combinations are combined, not simulated.

Each die is equally likely to show any face. When you add dice, some totals can be made in more ways than others, so they come up more often.

Worked example: two six-sided dice

7 is the most likely total with 2d6: 16.7% of rolls.

Counting the ways to roll 7 with 2d6
Chance
ways to make the total ÷ all outcomes
  1. All outcomes6 × 6 = 36
  2. Ways to make 71+6, 2+5, 3+4, 4+3, 5+2, 6+1
  3. Ways to make 21+1 only
  4. Chance of 76 ÷ 36 = 16.7%

Reading the result

  • 22.8%
  • 35.6%
  • 48.3%
  • 511.1%
  • 613.9%
  • 716.7%
  • 813.9%
  • 911.1%
  • 108.3%
  • 115.6%
  • 122.8%
Chance of each total with two six-sided dice
  • One d20FlatEvery face is equally likely; 15 or more is 30%.
  • Three d6Bell-shapedTotals cluster around the average of 10.5.

Dice totals are one kind of probability. Other tools count outcomes or draw numbers in other ways.

To count ways to choose or arrange items, use the permutation and combination calculator. For the chance of an event over many tries, try the probability calculator.

To draw numbers from a range or pick from a list, the random number generator has settings you can share.

Common mistakes

  • Mistake: Thinking a total is “due” after it has not come up.

    Instead: Each roll is independent; past rolls change nothing.

  • Mistake: Assuming every total of 2d6 is equally likely.

    Instead: Middle totals have more combinations.

  • Mistake: Using a dice roller for gambling or prizes.

    Instead: Use it for games, teaching and quick decisions.

Read how we test our calculators, or browse more developer tools.

Frequently asked questions

Are the rolls fair?

Yes. Each die uses your browser’s secure random generator, and values that would favour some faces are thrown away and redrawn.

What does 2d6+3 mean?

Roll two six-sided dice, add them, then add 3. The d stands for die; the number after it is the number of sides.

Why is 7 the most common total with two dice?

Six of the 36 combinations add up to 7, more than any other total. Only one combination makes 2 or 12.

Are the odds simulated?

No. They are exact: every combination of faces is counted.

Can I use this for betting?

It is meant for games, teaching and quick decisions, not gambling.

Sources and methodology

The formulas are standard time-value-of-money results. We check every figure against golden values worked out independently, by closed form and by month-by-month simulation; see the methodology.

Written and maintained by Nitin Raturi, a software engineer (about the author). Last reviewed 27 Oct 2026; next review due by . Found an error? Tell us.

Changelog

  • : Initial release. Demand metrics remain unverified.