Dice Roller
Roll any number of dice with any number of sides.
🔒 Runs entirely in your browser — nothing is uploaded.
Total:
How Dice Roller works
How does the dice roller work?
For each die you roll, the script calls Math.floor(Math.random() * sides) + 1, so every face has an equal chance of coming up. You can roll between 1 and 20 dice at once, choose from d4, d6, d8, d10, d12, or d100, and the page adds up all the individual results into a running total.
When would I use this?
It's a straightforward stand-in for physical dice during a tabletop RPG session, a board game where you've lost a die, or any quick decision that needs a random number from a fixed set of faces. Rolling several dice of the same type at once is faster than reaching for a handful of real ones.
Does it support mixed dice types, like a d6 and a d20 in the same roll?
No - one roll uses a single die type applied across however many dice you choose, so you can't combine a d20 and a d6 in the same batch. If your game needs mixed dice, you'd roll each type separately and add the totals yourself.