Dicelab

D&D Dice Roller & Probability Calculator

Advanced dice notation with advantage, critical hits, and D&D Beyond integration.

📖 Docs

Simple Dice Roller Mode

Enter your dice expression and roll instantly - perfect for quick D&D 5e rolls.

Simple mode is for one-off rolls. Use Notebook to save aliases or multi-step calculations.

Examples

Click an example to try it:

Single d20 roll

Roll a twenty-sided die.

d20
Percentile roll (d100)

Roll a hundred-sided die for percentile checks.

d100
Advantage on a d20

Roll two d20s and keep the higher result.

d20 adv
Disadvantage on a d20

Roll two d20s and keep the lower result.

d20 dis
Ability score roll

Roll 4d6 and drop the lowest die.

4d6 dl 1
Character creation

Roll 6 ability scores at once.

(4d6 dl 1) ^ 6
Reroll 1s and 2s on damage

Infinite rerolls for 1s and 2s, then add modifier.

2d6 rr 1 rr 2 + 3
Reroll 1s once on each die

Each die rerolls a 1 once if it comes up.

4d6 ro 1
Fireball damage

Roll 8d6 fire damage for the Fireball spell.

8d6
Skill check vs DC 15

Returns 1 on success, 0 on failure.

(d20 + 6) >= 15
Spell save: half damage on success

Half damage on a successful save, full on failure.

(d20 + 2) >= 15 ? 4d6 : 8d6
Basic attack vs AC 15

Attack roll with crit tracking and damage on hit.

(d20 attack + 6) >= 15 ? 2d6 + 4 : 0
Attack with advantage

Roll with advantage and apply damage on hit.

(d20 adv attack + 6) >= 15 ? 2d6 + 4 : 0
Extended crit range (19-20) and advantage

Crits on 19 or 20, with advantage.

(d20 adv attack crit19..20 + 6) >= 15 ? 2d6 + 4 : 0
Crit doubles all dice

On a crit, all dice in the damage expression are doubled.

(d20 attack + 6 oncrit double_all) >= 15 ? 2d6 + 4 : 0
Crit maximizes bonus dice

On a crit, the damage dice are maximized instead of rolled twice.

(d20 attack + 6 oncrit max_second_dice) >= 15 ? 2d6 + 4 : 0
Elven Accuracy

Triple advantage—roll 3d20 and keep the highest.

(3d20 kh 1 attack + 7) >= 17 ? 1d8 + 4 : 0
Multiattack

Repeat the attack expression 3 times and sum.

((d20 attack + 5) >= 15 ? 1d8 + 4 : 0) ^ 3
Analyze 3d6 distribution

View the probability distribution for 3d6.

analyze 3d6
Compare advantage vs normal

Compare probability curves side by side.

analyze 2d20 kh 1 + 5, d20 + 5
Paladin attack with bless

Analysis of a paladin under effects of bless with 2 attacks, with +8 to hit, against an AC of 15, holding a d10 weapon with +5 damage modifier and doing divine smite on crits.

analyze (d20 adv attack crit19..20 + 8 as a1 + d4 > 15 ? (1d10 + 5 + (a1.crit ? 2d8))) + (d20 adv attack crit19..20 + 8 as a2 + d4 > 15 ? (1d10 + 5 + (a1.crit == 0 ? (a2.crit ? 2d8))))

Ctrl/Cmd + Enter evaluates the focused cell

Notebook