Latest Roll Total
{{ latestTotal }}
{{ r }}
# Total Breakdown
{{ item.seq }} {{ item.total }} {{ item.rolls.join(' + ') }}

Introduction:

Rolling dice converts mathematical probability into a tactile, suspenseful experience fundamental to tabletop role-playing and board games. Each die face represents an equally likely outcome, and combinations quickly create complex distributions that affect gameplay balance, difficulty, and narrative tension. Understanding those distributions helps players and designers predict averages, extremes, and the likelihood of pivotal critical hits or catastrophic failures.

Dice Roller pairs an in-browser random engine with a lightweight reactive interface, allowing you to specify the number of dice and sides, generate rolls instantly, and log every result in a scrolling table and live histogram. Because everything runs locally, results appear without delay, while the charting layer updates to reveal emerging probability curves.

Use it before your next campaign session to preview how swapping two six-sided dice for a single twelve-sider changes encounter lethality, or during play when you forget physical dice. The exportable CSV history lets you copy averages into spreadsheets for deeper analysis later. Outcomes are purely random and hold no monetary value.

Features:

  • Simulate between one and ninety-nine dice, each with two to one-hundred sides.
  • View the latest total alongside an at-a-glance breakdown of individual rolls.
  • Automatic running history with instant copy or downloadable CSV export.
  • Switch effortlessly between a sortable history table and a live histogram.
  • Runs entirely in your browser; no accounts, servers, or tracking required.

Step-by-Step Guide:

Follow these steps to explore custom dice distributions:

  1. Enter the desired Number of dice.
  2. Enter the Number of sides each die should have.
  3. Select Roll Dice to generate results instantly.
  4. Check the latest total and individual rolls in the summary box.
  5. Open the Chart tab to view frequency bars or copy/download the CSV from the History tab for later analysis.

FAQ:

Why allow any side count?

Non-standard polyhedrals, such as d7s or d30s, appear in niche systems; supporting any positive integer lets you model them without restriction.

Is my data stored?

No. All rolls, charts, and CSV exports are generated locally in your browser and vanish when the page is closed.

How accurate is the randomness?

The tool uses the browser’s native pseudorandom source, suitable for gameplay but not for cryptographic needs.

Can I clear results?

Select Clear History to reset totals, charts, and the summary box to their initial states.

Does the histogram update live?

Yes. Each new roll instantly refreshes bar heights so you can watch distributions stabilise as sample size grows.

Glossary:

d-notation
Shorthand stating dice count and sides, e.g. 2d6.
Critical Hit
Maximum possible roll, often triggering bonus effects.
Histogram
Chart displaying frequency of each total across rolls.
Mean
Average of all totals; tends toward centre of distribution.
Standard Deviation
Measure of how widely roll totals spread around the mean.