Dice Notation Calculator
Parse standard dice notation such as 4d6+2 and roll it, showing each die.
Last updated · View algorithm, constants and default inputs (JSON)
Seed
About this calculator
This tool parses standard NdS notation with an optional flat modifier, then generates reproducible pseudo-random rolls from the seed. The same notation and seed always produce the same sequence; change the seed for a different sequence. It is not a source of physical or cryptographic randomness.
Worked example
calculated with the default values below
Dice notation 4d6+2 · Seed 4 Total 13 · Individual rolls 6, 2, 2, 1 · Number of dice 4 · Sides per die 6 · Flat modifier 2 · Minimum possible 6 · Maximum possible 26
Disclaimer
These calculators give general estimates for information and entertainment. Platform algorithms, metrics and definitions change without notice, and none of these results are official figures from the platforms named.
Implementation source
This record describes the implementation used by this page. It is not independent validation. External references, when available, support only the stated formula or definition; estimates and custom rules retain their own assumptions.
Formula and variables
r_i = int(u_i × s) + 1 → T = m + Σ r_i (i = 1..n)
- n
- dice count
- s
- sides per die
- m
- flat modifier
- r_i
- result of die i
- u_i
- seeded random value, 0–1
Notation n d s with optional +m or −m; n is clamped to 1–500 and s to 2–1000. The u_i stream is generated from the seed and the loop stops after n rolls; total ranges from n+m to n×s+m.
Frequently asked questions
Why can I reproduce the same dice result?
The calculator uses a pseudo-random generator initialized from the seed, so identical notation and seed reproduce the same sequence. Change the seed for a different sequence. This is useful for repeatable examples, but it is not physical or cryptographic randomness.