The Util Box

Dice Roller

Free online dice roller. Roll 1-6 dice with various sides. Have fun right in your browser.

Embed this tool

Copy and paste the code below into your website to embed this tool for free. An attribution link to The Util Box is required.

<iframe src="https://www.theutilbox.org/embed/dice-roller" width="600" height="500" frameborder="0" style="border: none; max-width: 100%;" title="Free Dice Roller tool from The Util Box"></iframe>
<!-- Free tool by The Util Box — https://www.theutilbox.org/tools/dice-roller -->
<a href="https://www.theutilbox.org/tools/dice-roller">Dice Roller by The Util Box</a>

Frequently Asked Questions about Dice Roller

Dice Roller — d4 to d100, One Die or Ten

This dice roller throws up to ten dice at a time in seven different sizes — d4, d6, d8, d10, d12, d20 and d100. Set how many dice you want and which size, press Roll, and the result appears as actual dice faces with the total underneath.

A d6 is drawn as a proper dice face with the pips in the right arrangement. Every other size shows the number itself, which is how real polyhedral dice are marked. The last ten rolls are kept in a history panel underneath, each with its own sum, so you can check back on a result instead of re-rolling.

Rolling and the Animation

The roll is animated. When you press the button the dice cycle through random values for roughly half a second before settling on the result that was generated at the moment you pressed it. The animation is cosmetic — the numbers you end up with were decided up front, not by whatever the last animation frame happened to show.

Because the button is disabled while a roll is in flight, you cannot accidentally queue up several rolls and have them land in a confusing order.

What the Dice Can and Cannot Tell You

Every die of n sides has an expected value of (n + 1) / 2 — 3.5 for a d6, 10.5 for a d20, 50.5 for a d100. That is the long-run average of rolling it a very large number of times, not something any single roll can produce.

Two dice of n sides each average n + 1 between them, so two d6 average 7 and two d20 average 21. The totals cluster around that figure and thin out towards the extremes, which is why a pair of d6 produces a total of 2 far more often than a total of 12 — the middle combinations have more ways of being rolled.

A single roll, however, tells you almost nothing statistically. The tool is a decision aid, not an analysis: it shows you what came up and what it adds up to. If you need to know how likely an outcome is, roll many times and count, which is what the frequency distribution tool is for.

Limits Worth Knowing

  • The dice are not a cryptographically secure source. They are generated with Math.random(), which is fine for games but not for anything where the outcome has to be unpredictable — a raffle draw or a contest winner should use a proper random number generator.
  • The dice count is clamped to between 1 and 10. Anything outside that range is pulled back to the nearest valid number.
  • There is no modifier. You cannot add "+3" to a roll, and there are no advantage or disadvantage dice.
  • The history holds ten rolls and is not saved between visits, so it clears when you reload the page.

Related Random Tools

The dice run entirely in your browser, so no roll is ever sent anywhere.