Dice Roller

Roll virtual dice online free. This dice roller handles d4 to d100 (or custom sides), multiple dice and modifiers like 3d6+2 — showing each die and the total. Perfect for D&D, board games and classrooms.

Roll the dice
dice
sides
±

Pick a die type or set custom sides, choose how many dice and an optional modifier, then roll. Each die is shown plus the total.

Total
—
Press roll to begin

A fair virtual dice roller for board games, tabletop RPGs (D&D and others), classrooms or quick decisions. Uses your device’s random number generator.

How the Dice Roller Works

This tool simulates rolling one or more physical dice using your device’s random number generator, so you get a fair, unpredictable result every time without needing actual dice on hand. You choose the die type (or a custom number of sides), how many dice to roll, and an optional modifier that gets added to the total — just like writing a roll as “3d6+2” in a tabletop game.

Formula: Total = (sum of N random whole numbers, each independently drawn from 1 to S) + Modifier. For every one of the N dice, the calculator generates a uniformly random integer between 1 and the chosen number of Sides, displays each individual die result, adds them all together, then adds (or subtracts) the Modifier to produce the final Total.

  • Number of dice (N) — how many dice to roll in a single roll, from 1 up to 100
  • Sides (S) — how many faces each die has; pick a preset (d4, d6, d8, d10, d12, d20, d100) or type a custom value from 2 to 1000
  • Modifier — a fixed positive or negative number added to the summed total after the dice are rolled

Example Scenarios

Number of diceSidesModifierAverage total (expected value)
2607
36+212.5
120010.5
48-117
210+516
1100050.5

Dice Roller FAQ

Is this dice roller truly random and fair?Each die uses your device’s random number generator to independently pick a whole number between 1 and the chosen number of sides, so every face has an equal chance of appearing on every roll, the same as a physical fair die.
Can I roll dice with more than the standard preset sides?Yes. Beyond the d4, d6, d8, d10, d12, d20 and d100 presets, you can type any custom number of sides from 2 up to 1000 into the Sides field.
What does the modifier actually do?The modifier is a flat number added to (or subtracted from) the total after all the dice are summed. It doesn’t change any individual die’s result — it only adjusts the final total, matching notation like “+2” in “3d6+2”.
How do I roll something like 3d6+2?Set Number of dice to 3, set Sides to 6, and set Modifier to 2, then press Roll. The result shows each of the three individual dice plus the combined total with the modifier applied.
Can I roll different types of dice together in one roll, like a d20 and a d6?No — each roll uses one shared Sides value for all the dice in that roll. To combine different die types, such as a d20 plus a d6, roll each type separately and add the totals yourself.
Does the roller keep a history of past rolls?Yes, recent rolls are listed below the current result so you can glance back at previous totals without re-rolling.

Related Calculators

Curious about the odds behind your rolls? The probability calculator can help you work out the chance of hitting a specific number, while the random number generator is handy for picking a random value outside the fixed-sided-die format. If you’re tracking scores across many rolls, the average calculator can total them up for you.

Related Calculators