The Dice Roller simulates rolling any number of standard or custom dice โ€” d4, d6, d8, d10, d12, d20, d100, or any sided die you specify โ€” with an optional modifier for RPG and tabletop gaming.

Dice Roller

Roll any number of dice with any number of sides.

Total
0
โ€”

How to Use This Calculator

  1. Enter the Number of Dice to roll (1โ€“20).
  2. Select the Sides per Die or choose “Custom” to enter any number.
  3. Enter a Modifier to add or subtract from the total (e.g., +3 for a stat bonus).
  4. Click ๐ŸŽฒ Roll Dice.

Common Dice in Tabletop Gaming (D&D, Pathfinder)

  • d4: Small weapons, minor healing (daggers, cure minor wounds)
  • d6: Short swords, fireballs (the most common die in games)
  • d8: Longswords, ranger hit dice
  • d10: Heavy weapons, glaives
  • d12: Great axes, barbarian hit dice
  • d20: Ability checks, attack rolls, saving throws โ€” the iconic D&D die
  • d100 (d%): Percentile tables, wild magic surges

Dice Notation

Tabletop games use shorthand like “2d6+3” โ€” this means roll 2 six-sided dice and add 3 to the total. This calculator supports that exact format: set dice count to 2, sides to 6, modifier to +3.

Frequently Asked Questions

How is the random roll generated?

Each die roll uses Math.floor(Math.random() ร— sides) + 1, producing a uniformly distributed integer from 1 to the number of sides.

Can I roll more than 20 dice?

The maximum is 20 dice per roll to keep the interface clean. For very large rolls (e.g., 100d6 for a fireball area), consider rolling in batches and summing the totals.

Understanding Dice Notation

Tabletop games describe dice rolls with notation like 2d6+3. The number before the “d” is how many dice to roll, the number after is how many sides each die has, and any “+” or “โˆ’” is a modifier added to the total. So 2d6+3 means “roll two six-sided dice and add 3.” This calculator supports d4, d6, d8, d10, d12, d20, d100, and any custom number of sides.

Probability Basics

A single fair die gives every face an equal chance. With one d6, each number 1โ€“6 has a 1-in-6 (about 16.7%) probability. When you roll multiple dice and sum them, the totals form a bell-shaped curve: with 2d6 the most likely total is 7 (six ways to make it), while 2 and 12 are the rarest (one way each). This is why many board and role-playing games are balanced around the 2d6 average of 7.

Common Uses

  • Tabletop RPGs like Dungeons & Dragons (d20 checks, damage rolls).
  • Board games when physical dice are missing.
  • Classrooms for teaching probability and statistics.
  • Fair decisions and random draws where you need an unbiased number.

How it works

Each die roll uses Math.floor(Math.random() ร— sides) + 1 to produce a uniformly distributed integer in [1, sides]. All dice are summed and the modifier is added. Results are displayed as individual die faces plus the running total.

Formula

Roll = Math.floor(Math.random() ร— sides) + 1, for each die. Total = ฮฃ(rolls) + modifier