Dice Roller

Roll virtual dice for tabletop RPGs, board games, and decisions. Supports D4, D6, D8, D10, D12, D20, and D100 with modifiers.

Total Roll
Average Expected
Individual Rolls

How to Use This Calculator

  1. Enter the Number of Dice to roll (1–20).
  2. Select the Die Type (D6, D20, etc.).
  3. Optionally add a Modifier to add or subtract from the total.
  4. Click the calculate button to roll — each click gives a new result.

Formula

Each die is rolled: Random integer from 1 to N (where N = number of sides)

Total = Sum of all dice + Modifier

Average = Number of Dice × (Sides + 1) / 2 + Modifier

Example

Rolling 2D6 + 3 (two six-sided dice with +3 modifier).

  • Die 1: 4, Die 2: 5
  • Total = 4 + 5 + 3 = 12
  • Average expected = 2 × 3.5 + 3 = 10

Frequently Asked Questions

  • D20 means a 20-sided die. The "D" stands for die, and the number is the number of faces. Common dice are D4, D6, D8, D10, D12, D20, and D100.
  • A modifier is a fixed number added to or subtracted from the total roll. In D&D, modifiers come from character stats and abilities. +5 on a D20 roll means the result + 5.
  • This roller uses JavaScript's Math.random(), which is a pseudo-random number generator. It is fair for gaming purposes but not suitable for cryptography.
  • Roll each die type separately and sum the results. For example, for 2D6 + 1D4, roll 2 six-sided dice, then 1 four-sided die, and add the totals.

Related Calculators