Dice Roller
Each die uses Math.random(), then floor(random × sides) + 1. The sum and history statistics describe the completed rolls.
Copied
Copy failed. Select the result and copy it manually.
Popular Tools
Play, method and practical limits
Each die uses Math.random(), then floor(random × sides) + 1. The sum and history statistics describe the completed rolls.
Limits and problems
This is a recreational simulation, not certified fair or cryptographically secure randomness. A small sample need not be balanced.
Counts are clamped to 1–20; unsupported sides fall back to D6. Invalid saved records are ignored. Clear cancels a pending roll.
Game data
History uses sessionStorage under diceRollerHistory. Clearing history keeps the last completed result; storage denial does not erase in-memory rolls.
About Dice Roller
Roll virtual dice for board games, RPGs, and random decisions. Supports multiple dice types (D4, D6, D8, D10, D12, D20) and rolling multiple dice at once. This is a recreational simulation, not certified fair or cryptographically secure randomness. A small sample need not be balanced.
Use Cases
Pro Tips
- Use multiple D6 for games like Yahtzee
- D20 is standard for D&D attack rolls
- The history shows your previous rolls
- No. A roll uses one die type for all 1–20 dice. Roll different types separately; mixed expressions are not supported.
How to use
Select the type of dice to roll
Choose how many dice to roll
Click Roll to generate random results
View individual dice and total sum
Choose 1–20 dice and D4, D6, D8, D10, D12, D20 or D100; alternatively choose one of eight presets.
Use Roll or Space outside interactive controls. The 400 ms animation keeps the count and sides selected when it started.
Frequently Asked Questions
Each die uses Math.random(), then floor(random × sides) + 1. The sum and history statistics describe the completed rolls. This is a recreational simulation, not certified fair or cryptographically secure randomness. A small sample need not be balanced.
A D20 is a 20-sided die commonly used in Dungeons & Dragons and other tabletop RPGs.
No. A roll uses one die type for all 1–20 dice. Roll different types separately; mixed expressions are not supported.
Yes, your recent rolls are saved during the session for reference.
Its minimum, maximum and highlights belong to the completed roll. Changed settings apply to the next roll.