Dice Roller

Format

XdY to roll X dice of Y sides. Prefix N# to roll the dice N separate times.

Operators allowed are +, -, *, and / which follow order of operations. Division rounds down. Use parentheses if needed. Full format is any number of terms combined with the operators, where term is a literal number or a roll. N can be a term itself.

Combinatorics are possible as well. N-choose-K results can be of the form NcK, the value will be the number of combinations to choose K items from a set of N items, and return a random one of these sets in the details. (i.e. 4c2 might result in 6 [4c2=1,3]) Permutations are possible in the form NpK. These terms are useful for generating sequences.

Options

Append the following modifiers as desired, if using multiple then they must be added in the order below. Some combinations may be invalid.

rZ - reroll die if result is Z or lower (Brutal property in D&D, etc.)
roZ - reroll die only once if result is Z or lower
mZ - count result as Z if roll is lower than Z
eZ or oZ - extra / open roll when the die is Z or higher, extra grants one bonus roll only
kZ or lZ - keep the highest / lowest Z rolls, drop others
tZ - target number Z, count rolls that meet or exceed Z as successes (if Z > Y, implicit oY)
hZ - hits Z, count rolls that meet or exceed Z as successes, max roll grants bonus roll (implicit oY) (WoD)
xZ - hits Z, count rolls that meet or exceed Z as successes, max roll grants bonus success (Exalted)
uZ - under Z, count rolls that are equal to or under Z as successes
! - when at the end of any roll, turns on verbose mode (shows all dice rerolled and modified)

Other Dice

Special system dice are available as XdY, where Y is one of:

F - Fudge (-1, 0, +1)
C - Cthulhutech (d10: scoring for highest multiple or straight)
H - Hero System damage (d6: Stun is sum of dice and Body is X modified -1 or +1 for each 1 or 6 rolled)

Edge of the Empire - XeY, where Y is the first letter of the die type: Ability, Boost, Challenge, Difficulty, Force, Proficiency, or Setback.

Warhammer Fantasy Roleplay 3e - XwY, where Y is the color of the die: Characteristic (Blue), Expertise (Yellow), Challenge (Purple), Reckless (Red), Conservative (Green), Fortune (White), or Misfortune (blacK).

Other symbol dice are available as XxY, where Y is one of:

K - King of Tokyo die (d6: 1, 2, 3, Heart, Energy, Attack)
M - Mage Knight mana die (d6: Black, White, Red, Green, Blue, Gold)
R - Fate of the Norns runes (draw from 24 runes)

Double Cross dice are available as XxxY to roll X dice (d10s) with a crit threshold of Y. Takes the highest single result, unless one or more dice are Y or higher. The result is increased by 10 and the dice Y or higher are rerolled and the process repeated.

Examples

D&D: 2#1d20+6 close blast 3 vs Reflex; (1d6+4)/2 damage, 2d20k1+8 Oath of Enmity attack
SR3: 5d6t8 Electronics 5 vs TN 8, 4d6o6k1 Stealth 4 open roll
WoD: 7d10o9h7 Seven dice, hits on 7+, roll again on 9+
Fudge: 4dF fudge dice! (-4 to +4)
Cthulhutech: 3dC+7 Marksmanship
Hero System: 8.5dH damage roll with a half-die!
Edge of the Empire: 2eA+1eP+3eD 2 Ability 1 Proficiency 3 Difficulty dice
WFRP 3e: 2wB+1wY+1wP+1wK 2 Characteristic 1 Expertise 1 Challenge 1 Misfortune dice
Double Cross: 6xx8 Pool of 6 dice, critical 8+

Return to index | Roll some dice