Dice Roller

Tap dice into the pool, or type notation such as 2d6+3, and throw them on a 3D table. Lock dice you want to keep, roll with advantage, and see the exact odds of every total.

Tap a die after rolling to lock it.

Total

Add dice

    Examples: 2d6+3, 4d6kh3 (keep highest 3), 2d20kl1 (keep lowest), 1d20ro1 (reroll a 1 once).

    D20 roll

    Advantage and disadvantage apply when the pool is a single d20.

    Presets, rerolls and looks
    Options

    3D dice are an illustration. The result is drawn first, then a real physics throw is turned (by one of the die’s own symmetries) so the drawn face lands on top. Falls back to flat dice if 3D isn’t available.

    Odds for

    History (this visit only)

    Nothing yet. Results appear here.

      Quick answer: each die is fair, so a d6 lands on each face 1 time in 6 and a d20 1 time in 20. Totals are not equally likely: with 2d6, a 7 comes up 6 times in 36 (16.7%) and a 2 or a 12 only 1 time in 36 (2.8%). The chart under the dice shows the exact chance of every total for your pool.

      Dice notation

      TypeMeans
      2d6Roll two six-sided dice and add them
      1d20+5One d20 plus a modifier of 5
      2d6+1d8-1Mixed pool with a negative modifier
      2d20kh1 / 2d20kl1Advantage / disadvantage: roll two d20s and keep the higher / lower
      4d6kh3Roll four d6 and keep the highest three (a common way to roll character stats)
      1d20ro1, 2d6ro<2Reroll a 1 (or anything 2 or lower) once, and keep the new result
      d% or 1d100Percentile roll, shown as two d10s (tens and units)

      Limits: up to 100 dice in total, 2 to 1,000 sides, and 12 terms per roll.

      Odds worth knowing

      • Advantage raises a d20’s average from 10.5 to 13.825, and the chance of a natural 20 from 5% to 9.75%. Disadvantage makes a natural 20 a 1-in-400 event (0.25%).
      • 4d6, keep 3 averages about 12.24, compared with 10.5 for a straight 3d6.
      • Adding dice makes middle totals far more likely: 3d6 lands on 10 or 11 a quarter of the time (25%), but on 18 just once in 216 rolls (0.46%).

      How to use it

      1. Tap d4–d100 to add dice, or type notation and press Enter. Use the − and + on each chip to change counts.
      2. Set a modifier. With a single d20, choose Advantage or Disadvantage.
      3. Press Roll. Tap any die to lock it, then Reroll unlocked to roll only the rest.
      4. Under Presets, rerolls and looks: quick presets, reroll-once rules, dice colours, table surface, d6 pips, percentile display and opt-in sound.

      How the dice work

      Each die is an unbiased draw from your browser’s cryptographic random generator, using rejection sampling. The whole roll is decided before anything moves. The odds chart is calculated exactly, by combining each die’s probabilities (convolution), not by simulation. Keep-highest/lowest pools are counted outcome by outcome, and very large pools show only their range.

      The 3D table

      On devices that support it, the dice are thrown on a 3D table using a real physics engine (Rapier), with fixed markings on every face. Here is how they land on a result that has already been drawn: we simulate a genuine throw, see which face ends up on top, and then display each die turned by one of its own symmetries, a rotation that leaves its shape exactly the same, so the drawn face is the one that comes up. The motion you see is a real physics trajectory, and no face is ever relabelled mid-roll. The animation shows the result; it doesn’t produce it. Turn the 3D table off under Presets, rerolls and looks to use flat dice. Reduced-motion settings place the dice without the throw.

      The 3D table handles up to 24 standard dice (d4, d6, d8, d10, d12, d20 and percentile). Larger pools, unusual dice such as a d7, older browsers without WebGL 2, and data-saver mode all use flat dice, which work everywhere.

      Dice conventions

      • d6: opposite faces add up to 7, and 1, 2 and 3 run anticlockwise around their shared corner (the usual Western layout).
      • d8, d12, d20: opposite faces add up to 9, 13 and 21.
      • d4: each corner carries a number, printed at that corner on all three faces that touch it. Read the number at the top point.
      • d10: kite-shaped faces numbered 0–9 (opposites add up to 9). On a single d10, 0 means 10.
      • d100: a tens die (00–90) and a units die (0–9) are read together, and 00 + 0 means 100. Numbers 6 and 9 are underlined on d10, d12 and d20 faces.

      Questions

      Is this dice roller fair?

      Yes. Every face of every die is equally likely, drawn with cryptographic randomness and no modulo bias. We don’t claim it is audited or certified.

      What does “keep highest” do?

      It rolls all the dice, then counts only the highest few. Dropped dice are greyed out, and shown struck through in the breakdown.

      How does locking work?

      After a roll, tap a die to lock it (a padlock appears). Reroll unlocked rolls every other die again and recalculates the total. History keeps both rolls.

      Can I roll a d3 or a d7?

      Yes, type it: 1d3, 2d7. Any number of sides from 2 to 1,000 works; non-standard dice are drawn as round tokens.

      Are the 3D dice “real” physics?

      The throw is a real physics simulation, but the result is drawn first and the dice are shown turned so that it lands face up. The randomness comes from the draw, not from the animation.

      The 3D table is slow on my phone. Can I turn it off?

      Yes. Untick 3D table under Presets, rerolls and looks. Flat dice are instant, and the choice is remembered in this browser.

      References

      1. W3C. Web Cryptography Level 2: Crypto.getRandomValues(). World Wide Web Consortium specification.
      2. Daniel Lemire. Fast Random Integer Generation in an Interval. ACM Transactions on Modeling and Computer Simulation 29(1), 2019 (discusses modulo bias and rejection).
      3. Dimforge. Rapier physics engine. open-source (Apache-2.0) rigid-body physics used for the 3D dice table.

      Page reviewed 1 December 2026.