Dice Roller
Roll dice.
Loading tool…
About this tool
Choose how many dice to roll, from one to four, and press Roll. The dice tumble and the total is shown.
How to use
1
Step 1
Set the number of dice with the plus and minus buttons.
2
Step 2
Press Roll.
3
Step 3
Read the total; the history shows each roll, such as 3+5=8.
How it works
Every die is a standard six-sided die. Each face from 1 to 6 has a one in six chance, drawn independently from the browser's cryptographic random source. The total is the sum of the faces. The expected total of two dice is 7.
expected total = dice × 3.5
Worked example
Rolling two dice
- Input
- 2 dice
- Output
- A total from 2 to 12, shown as for example 3+5=8
- Walkthrough
- There are 36 equally likely pairs. A total of 7 comes up in 6 of them, so its chance is 1 in 6.
Limitations
- Six-sided dice only; no d4, d8, d10, d12 or d20.
- Maximum four dice.
- No modifiers.
Questions
How many dice can I roll?
One to four.
Can I roll a d20?
No. Only six-sided dice are offered.
Is the roll fair?
Each face has a 1 in 6 chance.
Features
- 1 to 4 dice
- Total and history
- Runs in your browser
Related resources
Guides and videos from around the web—opens on YouTube or the publisher’s site.
Reduce image size with srcset
Chrome for Developers
Asset prep often sits next to timers in maker workflows.
Watch on YouTubeLearn JSON - Full Crash Course
freeCodeCamp.org
Structured lists and pickers often store JSON configs.
Watch on YouTube
- Five steps to mental wellbeing
NHS
Healthy pacing alongside focus and decision tools.
- Tips for designing accessible web content
W3C WAI
Accessibility tips for small utility UIs.