Builds / DPR calculator

DPR calculator

Damage per round for 5e-compatible games: compare fighters across a range of armour classes, with exact odds rather than a simulation.

What it does

  • Compares up to four fighters, each with up to six kinds of attack.
  • Works out hit, crit and miss chances, average damage, a typical round and a big round, for every armour class in the range you pick.
  • Shows who out-damages whom, round by round, when two fighters are on the page.
  • Starts from six level 5 example builds, or from presets other visitors have saved. You can save your own too. Saved presets are public: anyone who uses the calculator can see and load them.
  • Downloads the full results as a CSV.

How it's built

I first built this as a Python app to compare characters from my own game. That version simulated 100,000 rounds for each armour class. This one works out the exact chance of every possible damage total instead, so the same build always gets the same answer, and it's fast enough to recalculate as you type. I checked it against the old simulation: hit chances match exactly, and average damage lands within the simulation's own margin of error.

The original also supported exploding dice and bigger dice against Large targets. Both were house rules from my table, so I left them out here and kept to standard 5e mechanics.

The lettering is Sanguine Eye, a blackletter typeface I made. I used ChatGPT to generate alternate versions of several letters, so repeated letters don't look stamped. It has no numerals, so I kept it to the titles. Everything else is in Fondamento, a quill hand by Brian J. Bonislawsky, released under the SIL Open Font License.

Shared presets are the one part with a server behind it. Saves go through a bot check and per-visitor limits, and only numbers and short names are ever stored. I can hide a preset if something inappropriate gets through.

What it doesn't do yet: once-per-turn damage like Sneak Attack, and effects that only trigger when another attack hits. Both need the engine to treat a round's attacks as linked rather than independent, which is the next thing I'd add.