Dice Roller

Free online dice roller. Roll any count of dice with any number of sides (d6, d20, d100 and more) and see each roll, total, average, min, and max.

AI-ready Use this tool with AI

This tool has a free JSON API. Copy a prompt or skill below to use it with ChatGPT, Claude, or any AI agent — no API key needed.

API docs
Set the dice and roll.

How dice roller works

A dice roller simulates rolling physical dice using a random number generator. Each die produces an integer from 1 to the number of sides, with equal probability for each face. Rolling multiple dice at once gives a set of independent results whose total follows an approximately bell-shaped distribution — the more dice, the more the total clusters around the middle.

Enter how many dice to roll and how many sides each die has. Common shapes are the d6 (a standard cube), d20 (used in tabletop RPGs), and d100 (percentile). The roller returns every individual result plus the total, average, minimum, and maximum, so you can use it for board games, role-playing games, probability demonstrations, or any task that needs fair random integers.

The API accepts an optional seed for reproducible results, which is useful for testing and verified rolls. Without a seed, the browser or server uses a cryptographically ordinary random source good enough for games. For security-sensitive randomness, use a dedicated cryptographic tool instead.

Frequently asked questions

What dice sizes can I roll?
Any integer with at least 2 sides — d6, d8, d10, d12, d20, d100, or custom values like d7. Enter the count and the number of sides and the roller produces that many random integers from 1 to the side count.
Is the roll truly random?
It uses JavaScript's built-in random number generator, which is fine for games and casual use but not cryptographically secure. The API accepts a seed for reproducible results in testing.
Can I roll multiple dice and see the total?
Yes. The roller shows each individual result plus the sum, average, minimum, and maximum. Rolling 4d6 gives four values from 1 to 6 and their total.
What is the d20 used for?
The d20 is the signature die of tabletop role-playing games like Dungeons & Dragons, where skill checks and attack rolls are made by rolling 1d20 and comparing to a target number.