How it works
Roll virtual dice with various side counts and track the total sum.
Input query strings and outputs
Use an input name in this page’s URL as ?name=value, and join additional inputs with &. Portable shared links may instead use the compact ?ac= state parameter.
Input query strings
3-
?sides=SidesChoice · Optional · Default: 6
-
?count=CountNumber · Optional · Default: 1
-
?seed=SeedText · Required · Default: askcalculators
Outputs
1-
resultResultText · Primary output
result contains the calculator’s complete rendered result area, including its visible result cards, tables, charts, and messages.
Roll virtual dice for tabletop games and probability
Description
The Dice Roller is a digital tool for generating random numbers using standard polyhedral dice formats. Whether you’re playing a tabletop RPG (like Dungeons & Dragons), a classic board game, or just need a random selection, this tool provides a fair, unbiased result for any number of dice.
Inputs
- Sides (d4 - d20): Select the type of die you want to roll (e.g., a standard 6-sided die is
d6). - Count: How many of those dice you want to roll at once (up to 100).
Outputs
- Total: The sum of all individual dice rolled.
- Breakdown: A visual list of the individual result for each die.
Chart
- N/A: This tool provides direct random results.
“Good to Know”
- Polyhedral Dice: Different shapes are used for different games.
- d4: Tetrahedron (4 sides)
- d6: Cube (standard 6 sides)
- d10: Decahedron (often used for percentages)
- d20: Icosahedron (the standard “action” die for D20 systems)
- Probability: Rolling more dice creates a “Bell Curve” (Normal Distribution). For example, if you roll 2d6, you are much more likely to see a “7” than a “2” or a “12.”
Examples
Example 1: Critical Hit Check
- Input: d20, Count: 1
- Output: (Random result between 1 and 20)
Example 2: Fireball Damage
- Input: d6, Count: 8
- Output: (Total of 8 dice, e.g., 28)
Example 3: Stats Generation
- Input: d6, Count: 3
- Output: (Total of 3 dice, e.g., 11)