Dice Roller
Roll any dice type with modifiers, dice notation, roll history, and statistics
Roll History
Roll D4, D6, D8, D10, D12, D20, or D100 dice instantly — with modifiers, multi-dice support, and standard notation like 2d6+3. Every result gets logged to a history panel with running stats, so you can settle that "what did I roll last round" debate on the spot.
Uses your browser's crypto.getRandomValues() for genuinely fair results, not the weaker Math.random(). And everything runs in your browser. Nothing gets uploaded.
How It Works
The browser's crypto.getRandomValues() API picks a number within the die's range — 1 to 6 for a D6, 1 to 20 for a D20, and so on. It is not using Math.random(), which can show patterns over large sample sizes. Each roll, modifier, and total gets saved to a history panel so you can review or compare past results.
Examples
D&D Attack Roll with Modifier
Your fighter swings a longsword. You need a D20 plus your +5 attack modifier.
1d20+5
Roll: 14
Modifier: +5
Total: 19
Rolling Fireball Damage
Wizard casts Fireball — 8d6 fire damage. That's eight six-sided dice at once.
8d6
Rolls: 3, 5, 6, 2, 4, 6, 1, 5
Total: 32
Percentile Roll for a Random Encounter Table
DM checks a d100 table to see what the party runs into while camping. Results between 1 and 100 map to different encounters in the sourcebook.
1d100
Roll: 73
(Look up entry 73 on your encounter table)
Who Uses This
Quick rolls during D&D, Pathfinder, or Call of Cthulhu sessions — especially online or when dice are missing.
Secret rolls behind the screen, random encounter checks, and NPC stat generation without fumbling through a dice bag.
Picking random students, running probability exercises, or demonstrating statistics concepts with visible roll history.
Replacement for lost or missing dice during Monopoly, Risk, Yahtzee, or any game that needs a fair roll.
Common Mistakes
Typing 2d6 3 instead of 2d6+3. The modifier needs a plus or minus sign directly attached, no spaces. Without it, the roller ignores the number.
A D10 gives you 1–10. A D100 gives 1–100. If your table calls for a percentile roll and you pick D10, you'll only ever see single digits. Double-check which one the rules actually ask for.
Rolling 1d4-5 can produce negative totals (like -3). Some game systems floor results at 0 or 1 — the roller shows the raw math, so apply your system's floor rule yourself.
Technical Details
- Processing: 100% client-side — nothing sent to any server
- Randomness:
crypto.getRandomValues()(CSPRNG) - Dice Types: D4, D6, D8, D10, D12, D20, D100
- Max Dice Per Roll: 100
- History: Stores last 20 rolls in-browser (cleared on page close)
- Browser Support: Chrome, Firefox, Safari, Edge
Frequently Asked Questions
Are online dice rollers truly random?
This one uses crypto.getRandomValues(), which is a cryptographically secure random number generator built into your browser. It's the same API used for generating encryption keys. Statistically, it produces better randomness than physical dice, which can have manufacturing imperfections that bias certain faces.
What does 2d6+3 mean?
It means "roll two six-sided dice and add 3 to the total." The format is always [number of dice]d[sides][modifier]. So 4d8-2 means roll four eight-sided dice, then subtract 2. You can type these directly into the notation input field.
Can I use this for Dungeons & Dragons?
Yes, it covers every die type D&D uses — D4, D6, D8, D10, D12, and D20. You can also roll D100 for percentile checks. Add modifiers for attack rolls, damage, and saving throws. The history panel keeps a log so nobody has to remember what was rolled two turns ago.
How many dice can I roll at the same time?
Up to 100 dice in a single roll. Set the count using the number input or type something like 100d6 in the notation field. The tool shows each individual die result along with the total.
Does this save my roll history?
Only while the page is open. The last 20 rolls show in the history panel, and you can click any of them to see the details again. Once you close or refresh the tab, the history is gone. Nothing gets saved to a server or stored between sessions.