Dice Roller

Roll virtual dice — d4, d6, d8, d10, d12, d20 — with animated rolls and totals.

Dice Roller
Die Type
d4 d6 d8 d10 d12 d20
2

📐 How to Use

  1. Select the die type: d4, d6, d8, d10, d12, or d20.
  2. Choose how many dice to roll (1–10).
  3. Click Roll — see each die result and the total.
  4. Click Roll again to re-roll with the same settings.

🎯 When to Use This

  • Running a tabletop session when the dice bag is at home, since d4 through d20 covers the standard polyhedral set most role-playing systems call for.
  • Settling turn order at a board game night by having each player roll the same die type and comparing the numbers.
  • Demonstrating in a statistics lesson how the sum of several dice bunches toward the middle, by rolling ten d6 repeatedly and watching the total.
  • Playing a game that needs the same handful rolled over and over, because the die type and count stay set between rolls.

❓ Frequently Asked Questions

QWhat do d4, d6, d8 etc. mean?
d6 means a 6-sided die (the standard cube). d20 means a 20-sided die. The number after "d" is the number of faces, so every result from 1 to that number is equally likely.
QCan I roll multiple dice?
Yes — you can roll up to 10 dice of the same type at once. The total is shown alongside each individual result.
QIs this suitable for D&D and tabletop RPGs?
Absolutely — this tool covers all the standard polyhedral dice (d4, d6, d8, d10, d12, d20) used in D&D, Pathfinder, and most other TTRPGs.
QAre the rolls truly random?
Yes — each die uses Math.random() which gives a statistically uniform result across all faces.

ℹ️ About This Tool

Five of the six dice here are Platonic solids. The tetrahedron, cube, octahedron, dodecahedron and icosahedron are the only convex shapes whose faces are all identical regular polygons, and that interchangeability of faces is exactly what makes a die fair. The d10 is the exception: it is a pentagonal trapezohedron built from ten identical kite-shaped faces, fair for the same reason but not a regular solid, because no regular solid with ten faces exists.

Every die is rolled on its own with Math.floor(Math.random() * sides) + 1, which returns an integer from 1 up to the face count. Choose a type from d4 to d20, set one to ten dice on the slider, and the faces reveal in sequence about sixty milliseconds apart. A total appears whenever more than one die is rolled, and the last five rolls are logged below in the form 2d6 followed by the individual values.

⚠️ Notes & Limits

  • Rolls come from Math.random(), a pseudo-random generator that is uniform in distribution but reproducible from its internal state, so treat the numbers as entertainment only.
  • Only one die type per roll, so a 2d6 plus 1d8 attack takes two separate rolls added by hand, and there is no modifier field for something like d20+5.
  • The log holds the last five rolls and lives in page memory, so a reload starts it empty and there is no way to save or export a session.
  • The slider stops at ten dice, which is short of the large handfuls that dice-pool systems such as Shadowrun or World of Darkness sometimes require.