Asistente RD

Dice roller

Free online dice roller: D4, D6, D8, D10, D12, D20 and D100, from 1 to 20 dice with cryptographic randomness. See each die, the total sum and history.

Free · No sign-up · In your browser

Die type

Number of dice

From 1 to 20 dice per roll.

Modifier

Added to or subtracted from the total, like in 2d6+3.

Roll history

You haven't rolled any dice yet.

Every die is generated in your browser with crypto.getRandomValues and rejection sampling, so all faces have the same probability. Nothing is sent to any server.

Share on WhatsApp Last reviewed: July 9, 2026

What this dice roller does

This dice roller is a digital version of ordinary dice, made for when you don’t have a set handy or need to throw many at once. You pick the type of die, choose how many to roll and hit Roll: you see the value of every die and the total sum instantly, with a history of your recent throws.

Everything happens inside your browser: nothing to install, no account to create, and no data ever leaves your device. You can roll a single 1d20 or twenty dice at once without the page slowing down.

What people use it for

  • Tabletop role-playing games like Dungeons & Dragons (D&D): roll 1d20 for attacks and saving throws, or 3d6 for a character’s ability scores. The modifier settles a 2d6+3 in one click.
  • Board games: replace the lost dice from Ludo, Monopoly or Catan. Two six-sided dice (2d6) cover most classics.
  • Giveaways and quick decisions: give each person a number and let the die pick, or use the D100 to split percentages.
  • Classroom and probability: a great way to teach chance and statistics with real, repeatable rolls.

Polyhedral dice

Beyond the familiar six-sided cube, role-playing games popularized a whole set of polyhedral dice. Each one has a different number of faces and is named with the letter D followed by that number:

DieFacesRangeTypical use
D441–4Damage from small weapons
D661–6The classic board-game die
D881–8Damage from medium weapons
D10101–10Percentages and d10 systems
D12121–12Damage from large weapons
D20201–20The star of RPGs: checks and attacks
D1001001–100Percentage tables

Dice notation

Role-playing games and many others use a compact notation shaped like NdX+M. The N is the number of dice, the X is the number of faces, and the M is a modifier added to or subtracted from the end. So 2d6+3 means “roll two six-sided dice and add 3.” This tool does that math for you: pick the die, the count and the modifier, and the result already has the sum applied.

Fair randomness

A die is only fair if every face has the same probability. That is why this tool does not use Math.random() (built for simulations). It uses crypto.getRandomValues, the browser’s cryptographically secure generator, with rejection sampling to remove the bias you would get from splitting 2³² values across a face count that is not a power of two. That keeps a D6 or a D20 perfectly balanced.

Worked example

Say your D&D character attacks with a sword and the sheet lists 2d6+3 damage. You choose the D6, set the count to 2 and the modifier to 3, then roll. The tool comes up with, for instance, a 4 and a 5:

  • Sum of the dice: 4 + 5 = 9
  • Modifier: +3
  • Total: 9 + 3 = 12 damage

With 2d6 the most likely result is 7, because more combinations add up to 7 (1-6, 2-5, 3-4…) than to 2 or 12: the sum of two dice leans toward the middle.

Frequently asked questions

What is a D20?

A D20 is a twenty-sided die shaped like an icosahedron. It is the signature die of Dungeons & Dragons: almost every important action (attacking, dodging, persuading someone) is resolved by rolling 1d20 and adding your bonuses. A natural 20 is usually a critical success, and a natural 1 a failure.

What does 2d6 mean?

2d6 means “roll two six-sided dice and add their values.” The result ranges from 2 to 12, with 7 as the most frequent outcome. If you also see 2d6+3, that +3 is a modifier added to the sum of the two dice.

Is this dice generator fair?

Yes. Every face comes up with the same probability because the result is drawn from crypto.getRandomValues, the same randomness source that powers security keys, and modulo bias is corrected with rejection sampling. No face is favored and the outcome cannot be predicted.

How many dice can I roll at once?

Up to 20 dice per roll, of any type from the D4 to the D100. You will see the value of each die separately along with the total sum, modifier already applied.

Related tools