Dice Roller & Coin Flip
Guide: How Random Number Generators Work and Why Fair Picks Matter
Nothing you enter or choose here leaves your device. This tool runs in your browser.
Rolling plain dice
Choose from one to six dice and press Roll. The total and each die are shown, and the last 15 results are kept until you clear them or leave the page. Switch to Coin flip for heads or tails. The numbers come from your browser's secure random generator, so every face has an equal chance.
Game dice and notation
Open Advanced for the dice used in tabletop games. The notation is compact: 2d6 means two six-sided dice added together, d20 is one twenty-sided die, and 3d8 plus a number is three eight-sided dice with a bonus. You can roll up to 100 dice with up to 1,000 sides.
Two extras are worth learning. Keep highest, written kh, keeps the best dice and drops the rest. 4d6kh3 means roll four six-sided dice and keep the highest three, a popular way to create character stats. Keep lowest, kl, does the opposite.
What the odds look like
Adding two dice doesn't give a flat spread. There's only one way to roll a 2 and six ways to roll a 7, so the middle totals come up far more often:
| Total on 2d6 | Ways | Chance |
|---|---|---|
| 2 or 12 | 1 each | 2.8% each |
| 3 or 11 | 2 each | 5.6% each |
| 5 or 9 | 4 each | 11.1% each |
| 6 or 8 | 5 each | 13.9% each |
| 7 | 6 | 16.7% |
Keep-highest rolls shift the average up. A plain 3d6 averages 10.5. Rolling 4d6 and keeping the best three averages about 12.2. A single d20 averages 10.5, and rolling two and keeping the higher (often called advantage) averages about 13.8.
Fair play tips
- Roll in the open where everyone can see the screen, or agree on who rolls.
- Decide the rule before the roll, not after. If a 1 means a retry, say so first.
- For a coin flip between two people, let one call it before the flip.
- Don't read streaks as a sign something is broken. Three sixes in a row will happen to everyone.
When you don't need dice
To pick a number in a range, use the random number generator. To choose between named options or split a group, use the random picker. Everything runs in your browser, and nothing is sent to a server. The guide to random picks explains how fairness is checked.
Notation cheat sheet
| Write | Meaning | Average |
|---|---|---|
| d6 | One six-sided die | 3.5 |
| 2d6 | Two six-sided dice, added | 7 |
| d20 | One twenty-sided die | 10.5 |
| 4d6kh3 | Four d6, keep the highest three | About 12.2 |
| 2d20kh1 | Two d20, keep the higher | About 13.8 |
| 2d20kl1 | Two d20, keep the lower | About 7.2 |
Written by Akinrinmade Michael · Updated October 24, 2026
How to use
- 1Choose how many dice to roll, from 1 to 6.
- 2Press Roll. For game dice like d20, open Advanced.
- 3Switch to Coin flip for heads or tails.
Frequently asked questions
What is 4d6kh3?
Roll four six-sided dice and keep the highest three. Use kl to keep the lowest.
Is it fair?
Yes. It uses your browser's secure random generator with no bias.
How many dice can I roll?
Up to 100 dice with up to 1000 sides.
Does it keep a history?
It shows your last 15 results until you clear them or leave the page.
Is anything sent to a server?
No. Everything runs in your browser and nothing is sent to us.
Read the guide
Learn how this works and how to get the most from it.
Developer
How Random Number Generators Work and Why Fair Picks Matter
The difference between ordinary and secure randomness, how to pick fairly without repeats, and what dice and coins really do.
3 min read
Related tools
Random Name Picker & Team Maker
Spin a wheel to pick a name, or split people into teams.
UUID & Random Number Generator
Generate secure UUIDs (v4, v7) and random numbers.
Password Generator
Create strong random passwords or passphrases, one or many at a time.
Online Stopwatch
A simple stopwatch with lap times.