How to use the Dice Roller
- Choose how many dice and how many sides.
- Add a modifier if your game uses one.
- Press Roll.
How it works
Each die uses the browser's cryptographic random generator with rejection sampling, so every face is exactly equally likely.
Worked examples
D&D attack
1d20 + 5 modifier: roll 14 → total 19.
Frequently asked questions
Is it really random?
Yes — it uses crypto.getRandomValues, the same source used for security keys.
G
Built and reviewed by Guru G
Calculation logic is covered by automated tests against known values. Last reviewed Nov 8, 2026. Found a problem? Let us know — see our editorial policy.