MinMeanMaxVarianceModes

Operations

Dice:

dx

Rolls a dice with x sides, where x is a number, and returns the result.

Addition:

a + b

Adds a to b.

Subtraction:

a - b

Subtracts b from a.

Multiplication:

a * b

Multiplies a with b.

Minimum:

min(a, b)

Returns the minimum of a and b.

Maximum:

max(a, b)

Evaluates a, then evaluates b that number of times and returns the sum of those outcomes.

Settings

About

This is a dice formula calculator, using Dungeons & Dragons style dice notation. It calculates the distribution of possible outcomes, and makes it easy to compare properties of different formulas. To start using it, click "Add formula", input some formula (e.g. d20 + d6) and press Enter.

The backend of this website was written in Rust and compiled to Webassembly. It furthermore uses Web Workers to calculate distributions in parallel.

It was inspired by Tadeo Hepperle's Dice Roller and Distribution Calculator. Some icons are from Tabler Icons, by Paweł Kuna.