Dice Roller

A virtual dice roller and online simulator for d4, d6, d8, d10, d12 and d20 polyhedral dice.

Runs entirely in your browser. Nothing is uploaded, and every roll is generated on your own device.

How to use this tool

Pick the dice type you need from the dropdown, anything from a four-sided d4 up to the classic twenty-sided d20. Set how many dice to throw at once, then add an optional modifier such as a strength or attack bonus that gets added to the grand total. Press Roll dice and the tool draws fresh random numbers for each die, shows every individual face, and adds them up for you. Press Roll dice again for a brand new throw, or use Copy result to paste the outcome into a chat, character sheet, or game log.

How the dice rolls are generated

total = (sum of each die from 1 to N sides) + modifier

Each die produces a whole number between 1 and the number of sides it has. A d6 gives a value from 1 to 6, a d20 gives a value from 1 to 20, and so on. This tool uses your browser's cryptographically strong random source (crypto.getRandomValues) when it is available, and falls back to Math.random on older browsers, so each click produces a genuinely different and fair result. After all the dice are rolled it adds your modifier to the sum to give the final total, exactly the way a tabletop roll like "2d6 + 3" works.

A real example

Imagine your RPG character is making an attack roll of 2d6 + 3. You set the dice type to d6, the count to 2, and the modifier to 3, then press Roll dice. Suppose the first die lands on 4 and the second lands on 5. The tool shows both faces, adds them to get 9, then applies the +3 modifier for a final total of 12. The summary line reads "2d6 + 3 = 4 + 5 + 3 = 12" so you can see exactly how the number was built.

Common questions

What polyhedral dice can this online dice roller simulate?

It supports the standard polyhedral set used in most tabletop and RPG games: d4, d6, d8, d10, d12 and d20. You choose one type per roll and can throw several of that die at the same time, such as four d6 or a single d20.

Are the dice rolls actually random?

Yes. The virtual simulator draws from your browser's cryptographically strong random generator when it is available, which is the same source used for secure tokens. Each click is independent, so a fresh result appears every time you roll and no number is favored over another.

How do I roll something like 3d8 + 2?

Set the dice type to d8, the dice count to 3, and the modifier to 2. Press Roll dice. The tool rolls three eight-sided dice, shows each face, sums them, and adds the modifier of 2 to give the final total.

Can I roll a d100 or percentile dice?

This tool covers the common d4 through d20 polyhedral dice. For percentile results you can roll a d10 for the tens digit and a second d10 for the ones digit, which is the traditional way many RPG systems produce a 1 to 100 range.

Does this dice roller work offline?

Once the page has loaded, yes. Every roll is generated locally in your browser with no server contact, so you can keep rolling even if your connection drops during a game session.