Press Space or click the dice to roll.
Up to 100 dice, as in 2d6+3, 1d8+1d6 or 4d6kh3, where kh3 keeps the highest 3.
Roll any dice from d4 to d100, add modifiers like 2d6+3, and see the odds of the total.
Press Space or click the dice to roll.
Up to 100 dice, as in 2d6+3, 1d8+1d6 or 4d6kh3, where kh3 keeps the highest 3.
A dice roller is a tool that rolls virtual dice and shows each die and the total.
Our roller draws every die with the Web Crypto API's crypto.getRandomValues() and rejection sampling, so each face of a d6 comes up 1 time in 6. It rolls up to 100 virtual dice at once, from a two-sided die to a d1000, and works out the exact odds of every total. The only exception is a very large keep roll, such as 24d100kh23.
The notation 2d6+3 will be converted to two dice, a total and the odds of that total:
2d6+3
2d6+3: (4 + 2) + 3 = 9
Range: 5 to 15, average 10
Chance of this total: 13.89%
This total or more: 72.22%
With 4d6kh3, four dice are thrown and the lowest is dropped, so 6, 2, 5 and 3 give 6 + 5 + 3 = 14, a total that comes up 12.35% of the time.
Dice notation writes a roll as the number of dice, the letter d and the number of sides.
So 2d6+3 means roll two six-sided dice and add 3, and d20 means one twenty-sided die. The roller also reads kh and kl, which keep the highest or lowest dice, and d%, a percentile die from 1 to 100.
| Notation | Meaning | Range | Average |
|---|---|---|---|
d20 | One twenty-sided die | 1 to 20 | 10.5 |
2d6 | Two six-sided dice added together | 2 to 12 | 7 |
2d6+3 | Two six-sided dice plus 3 | 5 to 15 | 10 |
3d6 | Three six-sided dice | 3 to 18 | 10.5 |
4d6kh3 | Four six-sided dice, keep the highest 3 | 3 to 18 | 12.24 |
2d20kh1 | Two d20s, keep the higher (advantage) | 1 to 20 | 13.83 |
2d20kl1 | Two d20s, keep the lower (disadvantage) | 1 to 20 | 7.18 |
d% | One percentile die | 1 to 100 | 50.5 |
With two six-sided dice, 7 is the most likely total and 2 and 12 are the least likely.
| Total | Ways out of 36 | Chance |
|---|---|---|
| 2 | 1 | 2.78% |
| 3 | 2 | 5.56% |
| 4 | 3 | 8.33% |
| 5 | 4 | 11.11% |
| 6 | 5 | 13.89% |
| 7 | 6 | 16.67% |
| 8 | 5 | 13.89% |
| 9 | 4 | 11.11% |
| 10 | 3 | 8.33% |
| 11 | 2 | 5.56% |
| 12 | 1 | 2.78% |
For any roll with up to 150 possible totals, type it into the notation box and the chart under the result shows the chance of each one.
Online dice get each face from a random number generator. Physical dice depend on the throw and on the die itself.
| Option | How the number is chosen | Trade-offs | Best for |
|---|---|---|---|
| Online dice roller | A random number generator picks each face | Equal odds by design and dice from 2 to 1,000 sides, but you trust the code and lose the feel of the throw | Many dice, unusual dice, remote games, knowing the odds |
| Physical dice | The throw, the surface and the die's balance decide | Everyone at the table sees the roll, but you need the right dice and a fair throw | Board games and tabletop sessions in person |
These dice-rolling mistakes change the result without anyone noticing.
People roll dice online when the dice are missing or the roll needs unusual dice.
For a two-way choice, the Coin Flip gives heads or tails. Spin the Wheel picks from a list of names, and the Random Number and String Generator makes numbers in any range.
Each die gets a random number, and the numbers are added up. Our roller uses crypto.getRandomValues(), the browser's cryptographic random number generator, with rejection sampling so every face is equally likely.
The odds of rolling a 7 with two dice are 6 in 36, or 16.67%. It is the most likely total, because six pairs make 7, from 1 and 6 to 6 and 1.
Advantage means you roll two d20s and keep the higher one. It raises the chance of a 20 from 5% to 9.75%, and dice notation writes it as 2d20kh1.
Online dice rolls are fair when every face has the same chance. Our rolls use crypto.getRandomValues() and rejection sampling, so no face comes up more often than another.
You can roll up to 100 dice at once, each with 2 to 1,000 sides. Mixed rolls like 1d8+1d6+2 count toward the same limit.
Yes, online dice work in a phone browser with no app to install. Tap Roll the dice or the dice themselves, and the total appears when the dice land.
PHPSecure Login System with PHP and MySQL
PHPShopping Cart System with PHP and MySQL
JavaScriptMulti Select Dropdown with HTML and JavaScript
JavaScript5 Ways to Detect Mobile Devices with JavaScript
PHPImplement Google Login with PHP
PHPEvent Calendar with PHP
PHPSecure Registration System with PHP and MySQL
PHPHow to Send Emails in PHP with Gmail SMTPTop categories
More categories
By language
Collections
Web references
Lookups