mikaio.dev

Dice Roller

Choose a die type and how many to roll, then click Roll. See individual results and the total.

Roll any polyhedral die, anytime

Tabletop role-playing games, board games, and many classroom activities rely on dice. When physical dice are not available — or when you need a type your collection does not include — a virtual dice roller fills the gap immediately. This tool simulates every standard polyhedral die used in gaming: d4, d6, d8, d10, d12, d20, and d100. Roll a single die or up to twenty at once.

The standard polyhedral dice

d4 (tetrahedron): Four faces numbered 1 to 4. Used in D&D for small weapons like daggers and for certain spells.

d6 (cube): Six faces, the most familiar die shape. Used in most board games, D&D damage rolls, and games like Yahtzee.

d8 (octahedron): Eight faces numbered 1 to 8. Common for longsword damage and hit dice for some character classes.

d10 (pentagonal trapezohedron): Ten faces numbered 0 to 9 (or 1 to 10). Also used as the tens digit alongside another d10 to make a d100 roll.

d12 (dodecahedron): Twelve faces. Used for greataxe damage and hit dice for barbarians.

d20 (icosahedron): The iconic die of Dungeons & Dragons. Roll to attack, to make ability checks, and for saving throws. Results of 1 and 20 are critical misses and critical hits.

d100 (percentile): Simulated by rolling two d10s to get a value from 1 to 100. Used for random tables, percentile skills in some game systems, and loot tables.

Rolling multiple dice

Many game situations call for rolling multiple dice and summing the results: 2d6 for sword damage, 3d8 for a fireball spell, 8d6 for a dragon's breath weapon. Set the number of dice to the desired count, choose the die type, and click Roll. The individual result of each die is shown alongside the total, which is useful when rules require checking individual dice (for example, "if any die shows a 1, reroll").

Randomness and fairness

The tool uses the browser's built-in pseudorandom number generator, which produces results that are statistically fair across a large number of rolls. For casual gaming purposes this is entirely adequate. Over millions of rolls each face will appear approximately equally often, just as physical dice should when they are fair.

Uses beyond gaming

Dice rollers are used in teaching probability — rolling a d6 many times and charting the distribution shows students what uniform probability looks like in practice. Teachers use them to generate random numbers for classroom exercises. Statisticians and simulation enthusiasts sometimes use dice notation to describe random processes.

How to use the roller

Choose the die type, set how many dice to roll at once, and tap roll to see each individual result along with the running total. This matters for game rules that care about individual dice rather than just the sum — a rule that triggers on any die showing a 1, for instance, or advantage mechanics that ask you to compare two separate rolls rather than adding them together.

Why d20 and d100 get special attention

The d20 carries outsized importance in tabletop gaming because so many systems, most famously Dungeons & Dragons, use it as the core resolution mechanic for nearly every action a character attempts: attacking, resisting an effect, persuading a stranger, or noticing a hidden trap all typically come down to a single d20 roll compared against a target number. Rolling a natural 1 or a natural 20 on this die often carries special narrative weight beyond the numeric result — a critical failure or a critical success — which is why many virtual dice rollers, including this one, make the d20 particularly easy to reach for. The d100, meanwhile, is built from two d10s rather than a true hundred-sided solid, since a physical polyhedron with a hundred faces would be impractical to roll fairly, making the two-d10 combination the standard workaround across the hobby.

Advantage and disadvantage rolls

Some modern game systems, including recent editions of Dungeons & Dragons, introduce a mechanic where certain situations call for rolling two d20s and taking either the higher result (advantage, representing a favourable circumstance) or the lower result (disadvantage, representing a hindrance). This tool's per-die result display makes checking advantage and disadvantage rolls straightforward: roll two d20s at once and simply read off whichever value the rule in play calls for, rather than needing a specialized advantage-roll button.

Dice notation

Tabletop game rules commonly describe dice rolls using a compact notation: the number before the "d" is how many dice to roll, and the number after is the die type. So "3d6" means roll three six-sided dice and sum them, while "1d20+5" means roll one twenty-sided die and add 5 to the result. Learning to read this notation at a glance is a basic skill for any tabletop gamer, and it maps directly onto the die-type and quantity controls this tool provides.

Loot tables and random generation

Game masters frequently use dice rolls not just for combat resolution but to generate content on the fly: rolling on a d100 table to determine what treasure a defeated monster drops, or a d12 table to pick a random encounter while the party travels. Having a fast, reliable roller at hand speeds up this kind of improvisational table use considerably compared to searching for a physical die of the right type mid-session.

Private and instant

No roll is ever recorded or sent anywhere, and the tool works entirely offline once the page has loaded, so it is ready even at a table with no signal.

Dice roller FAQ

Which dice types are supported?
The roller supports d4, d6, d8, d10, d12, d20, and d100 (percentile dice). These cover the full standard polyhedral set used in tabletop role-playing games.
Are the rolls truly random?
The tool uses the browser's Math.random() function, which provides pseudorandom numbers suitable for games. It is not cryptographically random but is more than fair enough for any gaming use.
Can I roll multiple dice at once?
Yes. Set the number of dice to any value from 1 to 20, choose your die type, and click Roll. Each die shows its individual result and the total is displayed prominently.