Dice Roller
Free web tool: Dice Roller
About Dice Roller
The online Dice Roller simulates all seven standard tabletop RPG dice — d4, d6, d8, d10, d12, d20, and d100 (percentile die) — directly in your browser using cryptographically uniform Math.random(). Select a die type by clicking one of the seven quick-select buttons, then choose how many dice to roll (1 through 10) and click the Roll button. Each die face result appears in a blue tile, and the total sum is shown below when rolling multiple dice.
This tool is designed for players of Dungeons & Dragons, Pathfinder, Call of Cthulhu, and other tabletop role-playing games who need a reliable virtual dice roller on desktop or mobile. Because physical dice are sometimes unavailable — during online play, when traveling, or during spontaneous sessions — a browser-based roller that needs no app install is invaluable. The results are generated entirely client-side, so there is no latency from a server round-trip and your rolls are never logged.
The tool maintains a rolling history of up to the last 20 roll sessions. Each history entry shows the number of dice, die type, all individual values in bracket notation (e.g., 2d20: [14, 7]), and the total. This allows you to review previous rolls during a game session without needing to take manual notes. The history resets when you refresh or close the page, ensuring privacy for in-game moments.
Key Features
- Supports all seven standard RPG dice: d4, d6, d8, d10, d12, d20, and d100
- Roll 1 to 10 dice simultaneously with a single click
- Individual results displayed as large numbered tiles for easy reading at a glance
- Running total calculated automatically when rolling multiple dice
- Persistent roll history showing the last 20 sessions with die type, results, and total
- History entries use bracket notation (e.g., 3d6: [4, 2, 6] = 12) for compact logging
- 100% client-side — results generated locally with no server requests or logging
- Responsive layout optimized for both desktop sessions and mobile tabletop play
Frequently Asked Questions
What dice types does this roller support?
The roller supports d4 (4-sided), d6 (6-sided), d8 (8-sided), d10 (10-sided), d12 (12-sided), d20 (20-sided), and d100 (100-sided, also called a percentile die). These are the standard dice used in most tabletop RPGs including Dungeons & Dragons 5th Edition and Pathfinder.
How many dice can I roll at once?
You can roll between 1 and 10 dice in a single roll. Set the number using the "Number of Dice" input field. If you roll more than 1 die, the total sum of all dice is automatically calculated and displayed below the individual results.
Is the random number generation fair?
The tool uses JavaScript's Math.random() function, which in modern browsers is implemented using a pseudo-random number generator (typically xorshift128+) that provides uniform distribution across all faces. Each die result is equally likely. Math.random() is suitable for gaming purposes but is not a cryptographically secure random source.
What does d20 mean in Dungeons & Dragons?
In D&D 5e, the d20 is the most important die. It is rolled for attack rolls (adding your attack bonus to beat the target's Armor Class), ability checks (adding the relevant ability modifier and proficiency bonus if applicable), and saving throws. Rolling a natural 20 is a critical hit on attack rolls, dealing double dice damage.
What is a d100 (percentile die) used for?
A d100 generates a number from 1 to 100, making it useful for percentage-based chance events — such as wild magic surges, random encounter tables, or skill chance rolls in older RPG systems. In physical play, a d100 is typically simulated by rolling two d10s (one for tens, one for units), which this tool replaces with a direct 1–100 roll.
Can I use this for board games or non-RPG purposes?
Absolutely. A d6 is the standard die used in most board games (Monopoly, Catan, etc.). A pair of d6 rolls works for games like Backgammon. The d10 is used in some card games and wargames. Select the die type and count that your game requires.
Does the roll history save between sessions?
No. The history is stored in React component state and shows up to the last 20 rolls within the current page visit. When you refresh or close the tab, the history resets. This is intentional to keep the tool simple and private — no roll data is ever saved to a server or local storage.
How do I roll with advantage or disadvantage (D&D 5e)?
Set the number of dice to 2 and select d20. Roll both dice and take the higher result for advantage, or the lower result for disadvantage. The individual values are displayed as tiles so you can clearly see which is higher and which to use.