GlobalFree to use

Dice roller: roll d4, d6, d8, d10, d12, d20 and d100

Roll any dice with standard notation such as 2d6+3, d20, 1d8+1d6 or 4d6kh3 (keep the highest three). See every die, the total, and the lowest, highest and average possible result.

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Input

Tip: press Ctrl + Enter to run

Your result

Your result will appear here.

About this tool

Board games, tabletop role-playing games and classroom probability lessons all need dice, and not every table has the right ones. This roller understands the notation players already use: 2d6 means two six-sided dice, d20 a single twenty-sided die, 2d6+3 adds a fixed bonus, and 4d6kh3 rolls four dice and keeps the highest three. You can mix terms, such as 1d8+1d6-2, and roll the same thing up to 50 times in one go.

Next to the random result it shows the lowest and highest total the roll can produce and, for plain rolls, the long-run average. That makes it useful for checking whether a homebrew rule or weapon is balanced before the game starts, not only for rolling.

How to use it

  1. Type the dice in notation, for example 2d6+3, d20, d% (a hundred-sided die) or 4d6kh3.
  2. Enter how many times to roll if you need several results, for example 6 for a full set of ability scores.
  3. Run it to see each die, which dice were kept, and the total of every roll.
  4. Read the lowest, highest and average possible totals to judge the roll before you use it.

How the calculation works

Each die is a random whole number from 1 to the number of sides, drawn with the Web Crypto API. Values that would make some faces more likely (modulo bias) are rejected and drawn again. For keep-highest (kh) or keep-lowest (kl) terms, the dice are sorted and only the kept ones are added. The lowest total uses 1 on every kept die, the highest uses the top face, and the average is count × (sides + 1) ÷ 2 plus any fixed numbers.

total = sum of the dice kept + modifiers; average = count × (sides + 1) ÷ 2 + modifiers

Worked example

A player’s greatsword deals 2d6+3 damage. Rolling once shows the two dice and the total; whatever the dice say, the possible totals run from 5 to 15 and average 10 over many rolls. A longsword at 1d8+3 averages 7.5 with the same bonus, so the greatsword is the stronger weapon on average.

Sample input and result

2d6+3, rolled once: the two dice, the total, lowest possible 5, highest 15, average 10

Limitations

  • Exploding dice, rerolls and target numbers (count successes) are not supported.
  • The average is not shown for keep-highest or keep-lowest rolls, because it is not a simple formula.
  • Results are not saved or shared, so record important rolls yourself.

Last updated:

Frequently asked questions

What does 4d6kh3 mean?

Roll four six-sided dice and keep the highest three. It is the usual way to roll ability scores in many tabletop role-playing games, and it gives totals from 3 to 18 that lean towards the middle and high end.

Is an online dice roller fair?

This one draws each die from the Web Crypto random generator and rejects values that would favour some faces, so every face is equally likely. Like real dice, short series can still look streaky.

What does d% mean?

A hundred-sided roll, the same as d100, giving 1 to 100. Many games use it for percentage tables.

How do I roll with advantage or disadvantage?

Use 2d20kh1 for advantage (keep the higher of two d20s) and 2d20kl1 for disadvantage (keep the lower).

Can I roll several different dice at once?

Yes. Join them with plus or minus signs, for example 1d10+2d4+1, up to 20 terms and 200 dice in one roll.

Troubleshooting

It says the dice notation was not understood.

Use the form NdS with optional + or − terms, for example 3d6+2. Dice need at least 2 sides, at most 1,000, and kh or kl must be followed by a number no larger than the dice count.

The same number came up several times in a row.

That happens with real dice too. Each roll is independent; streaks are expected over many rolls.

Privacy & Free to use

Are my inputs stored?

Your inputs stay in this tab. We do not receive your files, pasted text or calculation values.

Is this tool free?

Yes. No signup or payment is required.

Processed in your browser

Useful next steps