Dice Roller
Roll virtual dice for tabletop games, D&D, and more. Choose the number of dice, sides per die (d4, d6, d8, d10, d12, d20, d100), and add modifiers.
About this calculator
Every roll from this calculator comes from a fresh call to the random number generator for each individual die, so a two-dice roll and a hundred-dice roll are both built the same way -- independent, uniformly random draws between 1 and the selected number of sides, summed together and then adjusted by whatever modifier is entered. Because each die is independent, the theoretical average for a single die is always exactly the midpoint of its range (a d6 averages 3.5, a d20 averages 10.5), and the expected sum for multiple dice is that per-die average multiplied by the number of dice -- though any individual roll can and will land anywhere between the true minimum (all 1s) and true maximum (all max faces), which is the entire appeal of rolling dice rather than just computing an average.
Standard tabletop RPG die types are all supported (d4 through d20, plus d100 for percentile rolls), and the modifier applies as a flat addition or subtraction to the total after the dice themselves are summed, matching the standard tabletop notation like "2d6+3" that most games and rulebooks use to describe a roll.
Inputs
Results
Total
4
How to Use This Calculator
- Enter the Number of Dice and the Sides Per Die (e.g., 6 for a standard die, 20 for a D20).
- Enter a Modifier to add or subtract a fixed bonus from the total roll.
- The calculator simulates the dice roll and shows the result with the modifier applied.
- Use different die types (D4, D6, D8, D10, D12, D20, D100) for different tabletop RPG scenarios.
- Re-calculate to simulate new rolls and see probability statistics for your dice configuration.
What each input means
- Number of Dice
- How many dice to roll (1-100)
- Sides per Die
- Number of sides on each die.
- Modifier
- Add or subtract from total (e.g., +5 for attack bonus)
How this is calculated
Worked example, using the default values
- Identify Input ParametersNumber of Dice = 2, Sides per Die = 6, Modifier = 0 = 3 input(s) provided
- Calculate TotalTotal4 = 4
- Calculate Individual Rolls2, 2 = 2, 2
- Calculate Dice NotationDice Notation2d6 = 2d6
Engine last updated . Checked against 1 independently-derived test — how we verify calculators. Built by Paul Gunder, a software engineer, not a licensed financial, medical, or legal professional.
Frequently Asked Questions
How does the calculator generate each dice roll?
Each die gets its own independent random draw between 1 and the number of sides selected, generated fresh every time you roll -- there's no seeding or pattern carried over between dice or between separate rolls, so results are not reproducible and every roll is a genuinely new random outcome. Rolling the same dice configuration twice in a row will typically produce two different results, exactly as physical dice would.
What's the theoretical average versus the actual range for a roll of several dice?
The theoretical average for any single die is the midpoint of its face values -- 3.5 for a d6, 10.5 for a d20 -- and multiplying that by the number of dice gives the expected sum for a multi-dice roll. The actual possible range is much wider than that average suggests, though: two d6 dice can land anywhere from 2 (both dice show 1) to 12 (both show 6), even though the expected average sum is 7.
Does adding a positive modifier change the odds of any individual die face, or just the final total?
Only the final total -- the modifier is applied as a flat addition or subtraction after all the individual dice have already been rolled and summed, so it shifts every possible outcome by the same fixed amount without changing which values are more or less likely to come up on the dice themselves. A +5 modifier on 2d6 shifts the possible total range from 2-12 up to 7-17, but the underlying probability shape (more likely to land in the middle than at the extremes) stays the same.
Is there a limit to how many dice can be rolled at once?
Yes -- this calculator caps the number of dice at 100 per roll. That's a practical display and performance limit rather than a probability rule; there's nothing mathematically special about 100 dice, it's simply capped to keep the individual-rolls display and calculation manageable for a single roll.
Related Calculators
The questions that sit next to this one — chosen by subject, including calculators filed under a different category.
Fun Calculators
Planetary age, love compatibility, and biorhythm calculator for fun.
Math & StatisticsProbability Calculator
Calculate probability of single events, combined events (AND/OR), permutations, and combinations.
Tabletop RPGDice Probability Calculator
Calculate probability distributions, averages, and target number odds for any dice combination.
Tabletop RPGCampaign Cost Calculator
Calculate the total cost of running a TTRPG campaign including books, miniatures, terrain, and recurring supplies.
Tabletop RPGCharacter Point Buy Calculator
Allocate ability scores using the D&D 5e point buy system with automatic cost and modifier calculation.
More in Crafts, Hobbies & Games.