Free Online Dice Roller

Roll one or more virtual dice with any number of sides (D4, D6, D20, D100, and more), and get each die plus the total.

Quick answer

A dice roller produces random results for one or more dice. You pick how many dice and how many sides each has; each die shows a uniform random number from 1 to its number of sides. This tool uses secure randomness so every roll is fair.

Formula & method

Each die is rolled by drawing a uniform integer from 1 to the number of sides using the browser’s Web Crypto API, with rejection sampling so no face is favored. Rolls are independent, and the tool sums multiple dice into a total. Everything runs locally in your browser.

Examples

Example 1: One six-sided die
Input
1 × D6
Result
A number from 1 to 6
Why
Each face is equally likely.
Example 2: Two dice for a board game
Input
2 × D6
Result
e.g. 3 + 5 = 8
Why
Totals from 2 to 12, with 7 the most common.
Example 3: Tabletop roll
Input
1 × D20
Result
A number from 1 to 20
Why
Common in role-playing games.

When to use this tool

  • Playing a board game or tabletop RPG without physical dice.
  • Generating a random number within a small fixed range.
  • Teaching probability with dice outcomes.

Common mistakes

  • Expecting two-dice totals to be even. The sum of 2D6 peaks at 7, not a flat spread.
  • Assuming a die is “due” for a high number — each roll is independent.
  • Choosing the wrong die type for a game that specifies, say, D20.

Frequently asked questions

What dice can I roll?

You can choose how many dice to roll and how many sides each has — common types like D4, D6, D8, D10, D12, D20, and D100, plus custom side counts.

Are the rolls fair?

Yes. Each face is equally likely thanks to uniform sampling from a secure random source, and dice are rolled independently.

Why is 7 the most common total on two dice?

There are more ways to make 7 (six combinations) than any other total, so it comes up most often when rolling 2D6.

Can I roll many dice at once?

Yes. Set the number of dice and the tool shows each result along with the combined total.

Is anything uploaded?

No. Rolls are generated in your browser and aren’t sent anywhere.

  • ✓ Free to use
  • ✓ No sign-up required
  • Runs entirely in your browser — nothing is uploaded.
  • ✓ Formula and method shown above

Provided “as is” for general information only — results may be inaccurate, so verify before you rely on them. No warranty; use at your own risk.

Related tools