Dice roller for d4, d6, d20 and more

Choose a die type, how many dice to roll and an optional modifier, then press Roll. The dice roller shows each die, the sum and the total, and it uses your browser's secure random generator so every face is equally likely.

  • Free
  • No sign-up
  • Runs in your browser

Runs in your browser — nothing you enter is sent to our servers.

How to use Dice roller

  1. Pick a die type in the dice roller: d4, d6, d8, d10, d12, d20, d100, or choose Custom for 2 to 100 sides.
  2. Set the number of dice, from 1 to 100, and a modifier such as +3 or -2 if your game uses one.
  3. Press Roll to see every die, their sum and the total.
  4. Roll again as often as you like. Recent rolls stay listed below, and you can copy the last one.

Features

  • Standard dice d4, d6, d8, d10, d12, d20 and d100, plus custom dice from 2 to 100 sides
  • Roll 1 to 100 dice at once
  • Modifier support, for rolls like 1d20+3
  • Shows each die, the sum, the total, and the possible range and average
  • Secure browser randomness (crypto.getRandomValues) with no modulo bias
  • Runs in your browser with no daily limit

Examples

InputResult
2d6A total between 2 and 12 — The average is 7.
1d20+3A total between 4 and 23 — The average is 13.5.
3d6A total between 3 and 18 — The average is 10.5.

Limitations

  • Results are random, so each press gives a new roll. There is no seed or repeat option.
  • Dice must have 2 to 100 sides, at most 100 dice per roll, and a whole-number modifier.
  • Rules such as advantage, exploding dice or drop-lowest are not built in.
  • Not for gambling. It is meant for games, teaching and quick decisions.

Learn more

A die roll is one of the simplest random events, and it is a good way to learn about probability. On a fair six-sided die each face has a chance of 1 in 6. With a d20 each face has 1 in 20, or 5 percent.

When you add several dice the outcomes are no longer equally likely. With two six-sided dice there are 36 combinations, but only one gives 2 and six give 7, so 7 is the most common total. As you roll more dice, totals cluster around the middle of the range in a bell shape, which is a simple example of the central limit theorem. The expected value of one die with n sides is (n + 1) / 2, so three d6 average 10.5.

The notation XdY+Z used in tabletop games means roll X dice with Y sides, add them, then add the modifier Z. The tool shows the notation, every individual die, and the possible minimum and maximum.

Fairness depends on the random source. This roller uses crypto.getRandomValues with rejection sampling to avoid bias, so it is suitable for games, classroom demonstrations and quick decisions.

Frequently asked questions

Are the rolls fair?

Yes. Each face is chosen with your browser's cryptographic random generator and an unbiased method, so every face has the same probability.

What does d20 mean?

The number after d is how many sides the die has. A d20 is a 20-sided die, and 2d6 means roll two six-sided dice and add them up.

What is the average of 2d6?

The average of one six-sided die is 3.5, so two dice average 7. The tool shows the average for your chosen roll.

How do I roll with a bonus?

Set the modifier box. For 1d20+5, choose d20, one die and a modifier of 5.

Can I roll a die with an unusual number of sides?

Yes. Choose Custom and enter any number of sides from 2 to 100.

Sources

Last reviewed: October 1, 2026