Skip to content

Dice roller

Choose the die, say how many and roll. For board games, D&D and other tabletop games.

Example of 2 × d6. Roll for your own.

Drawn with crypto.getRandomValues, with rejection sampling so every outcome has the same chance.

Guide and details

Roll up to twelve dice. Every face has the same chance, drawn by your browser’s cryptographic generator without modulo bias.

1,000,000 test rolls of a d20: each face 4.97% to 5.03%, 5.00% expected (p = 0.861). Every die.

The seven standard tabletop dice

This roller covers the seven standard dice of tabletop roleplaying games such as D&D and Pathfinder, as well as classic board games:

  • d4: Four-sided tetrahedron, commonly rolled for daggers, light weapons and basic spells like Magic Missile.
  • d6: Classic six-sided pip cube, the foundation of board games (such as Monopoly and Catan) and character ability scores.
  • d8: Eight-sided octahedron, standard damage die for martial weapons like longswords and rapiers.
  • d10: Ten-sided die (1 to 10), used for heavy damage rolls and percentile tens.
  • d12: Twelve-sided dodecahedron, the die behind greataxes and barbarian hit dice.
  • d20: Twenty-sided icosahedron, the core die that decides attack rolls, saving throws and ability checks.
  • d100: Percentile die from 1 to 100, for tables of random encounters, treasures and wild magic surges.

Choose your die, set the quantity from one to twelve, and roll. Under the dice you get the total, the individual values in order, and the highest and lowest of the roll.

Advantage and disadvantage on the d20

Rolling with advantage means rolling two d20 and keeping the higher result, and disadvantage means keeping the lower. Select the d20 and set the quantity to 2: the lowest and highest values appear under the total.

Sum of two six-sided dice: 2d6 combinations

Board games frequently use two d6 because combining two dice favors middle totals over the extremes. With two six-sided dice, there are 36 possible outcomes. A total of 7 has 6 combinations (1+6, 2+5, 3+4, 4+3, 5+2, 6+1), giving it a 6 in 36 chance (1 in 6). Extreme totals 2 and 12 each have only 1 combination (1+1 and 6+6), giving each a 1 in 36 chance.

The table of every total from 2 to 12, with the number of ways each can happen and the counts from a million simulated rolls, is on the dice test page.

No modulo bias: rejection sampling

Each die face is picked individually through crypto.getRandomValues. A raw 32-bit random integer does not divide evenly into 4, 6, 8, 10, 12, 20 or 100, and taking the remainder with the modulo operator (%) slightly favours low numbers. This roller uses rejection sampling instead: it discards any raw number that falls in the uneven remainder and draws again, so every face has the same chance.

When another tool fits

For a plain two-way call, flip a coin. For quick binary questions, spin the yes or no wheel. For whole numbers in any range, such as 1 to 500, use the random number generator. To draw names from a list, try the wheel of names or the random name picker, and for choices with multiple weighted criteria, use the decision matrix. Learn more about our client-side methods on the About page.

Why use Choose Tools

  • One source of randomness

    Every draw calls crypto.getRandomValues and throws away the values that would cause modulo bias. A test fails if Math.random ever appears in the source.

  • The result comes first

    The wheel, the coin and the dice pick the outcome before they move. The animation only shows what was drawn.

  • A slice is a chance

    Each option on the wheel is one slice, and the size of a slice is the chance of that option.

  • Lists stay on your device

    They are kept in this browser. Shared links carry the list after the #, a part the browser leaves out of requests to servers. There is no account.

  • Quiet by default

    Sound is off until you turn it on, and with “reduce motion” set in your system the result appears with no animation.

Questions and answers

Does the d10 go from 0 to 9 or from 1 to 10?

From 1 to 10. Every die here starts at 1 and ends at its number of sides, so the d100 gives 1 to 100.

How do I roll a 12 sided die?

Choose the d12, leave the quantity at 1 and roll. Each face from 1 to 12 has the same chance, one in twelve. Set a higher quantity to roll several d12 at once, such as 10d12.

How do I roll with advantage or disadvantage in D&D?

Choose the d20, set two dice and roll. The line under the total shows the highest and the lowest of the two: take the highest for advantage, the lowest for disadvantage.

Why do 2d6 form a bell curve while a d12 is flat?

A single d12 gives each face the same chance. With two d6, several combinations produce the middle sums: there are 6 ways to roll a 7 and only 1 way to roll a 2 or a 12.

How does the roller avoid modulo bias?

A raw random number from crypto.getRandomValues is rarely an exact multiple of the number of sides. Instead of taking the remainder, which would slightly favour low numbers, the roller discards numbers in the uneven remainder and draws again.