Dice Calculator with Rerolls and Keep Rules

Calculate dice probability with one-time rerolls, keep-highest or keep-lowest rules. Use the same tool for advantage, disadvantage and dropping the lowest dice.

Try an example

Set up your calculation

Whole number from 1 to 10

Whole number from 2 to 20

One rule at a time; keep rules allow at most 1,000,000 starting outcomes

From 1 to the dice count

How the kept or final total is compared

Whole number from 0 to 200

Shared links store inputs in the URL fragment. Results are recalculated; no calculator inputs are sent to the server.

Exact calculation

Exact calculation

23.15%

300/1,296 · 25/108

Expected total 12.2446 · Range 3–18

Choose one rule

Keep highest and keep lowest roll the pool once and retain the requested number of dice. Reroll once replaces each die at or below the threshold one time, even if the replacement is low again.

Keep the highest three

For 4d6 keeping the highest 3, there are 1,296 equally likely starting outcomes. The expected kept sum is 15,869/1,296, about 12.2446.

A target example

Of those 1,296 outcomes, 300 have a kept total of at least 15. That is 25/108, or about 23.15%.

Reroll once is a precise rule

A D6 that rerolls 1 once has expected value 47/12, about 3.9167. It can still finish on 1. Repeating until a non-1 appears is a different rule and is not enabled here.

Finite calculations only

Keep rules are capped at one million starting outcomes. Exploding dice and combined keep-plus-reroll rules are not supported in this version. For plain totals without a keep or reroll rule, the dice probability calculator handles up to 20 dice.

Dice advantage and disadvantage calculator

For advantage, choose two D20s, Keep highest and Keep count 1. For disadvantage choose Keep lowest instead. If a single D20 succeeds on 15 or higher, its success probability is 6/20 = 30%. Advantage raises it to 1 − (14/20)2 = 51%; disadvantage lowers it to (6/20)2 = 9%.

The expected result is 13.825 with advantage or 7.175 with disadvantage. Enter a target after subtracting any fixed modifier: a +5 check against 15 needs a retained die of at least 10. Game-specific automatic successes or failures need separate consideration.

Drop lowest dice probability

Dropping the lowest die from 4d6 is exactly Keep highest with Dice count 4 and Keep count 3. To drop two dice from five, keep the highest three. Dropping the highest uses Keep lowest. This computes the retained total and its distribution, not a random roll or an entire character-stat generation process.

Reroll 1s once: probability and expected value

Select Reroll once and a threshold of 1. A D6 finishing on 1 has probability 1/36, while each face 2–6 has probability 7/36. The chance of At least 5 is 14/36 = 7/18. Its expected value is 47/12. Raising the threshold rerolls every original face at or below that threshold once; the replacement is always accepted.

For exploding dice, where a maximum face adds another roll repeatedly, see the exploding dice probability guide. Explosions are a different rule and are not computed by this finite reroll tool.

Keep rules and one-time rerolls

Keep rules select the highest or lowest specified number from the starting dice. A reroll replaces a qualifying face once and accepts its replacement. Repeated explosions and game-specific critical rules need their own explicit models.

Read the calculation methodology for exact counting, display rounding and reference checks. To report an unexpected result, send the inputs and the rule you expected through the contact page.

Open probability tool