Understanding D&D 5e Hit Points
This calculator computes a Dungeons & Dragons 5th Edition character's hit point maximum from the standard Player's Handbook rule. Hit points combine your class's hit die (a d6, d8, d10, or d12 depending on class), your character level, and your Constitution modifier, which is derived from your Constitution score.
The formula
At 1st level, hit points equal the maximum possible roll of your class hit die plus your Constitution modifier — no roll is made. For example, a 1st-level Fighter (d10) with a +2 Constitution modifier starts with 10 + 2 = 12 hit points.
For each level after 1st, you gain one more hit die and either:
- Roll it and add your Constitution modifier, or
- Take the fixed average value — half the hit die's number of sides, rounded down, plus 1 (4 for a d6, 5 for a d8, 6 for a d10, 7 for a d12) — and add your Constitution modifier.
Either way, a single level's hit point gain can never be less than 1, even if the roll (or fixed value) plus your Constitution modifier would be zero or negative. The Constitution modifier itself is floor((score − 10) / 2), so a score of 14 gives +2, a score of 8 gives −1, and a score of 20 gives +5.
Total hit points
Putting it together, total HP at level L = (hit die max + CON modifier) + (L − 1) × (average die value + CON modifier), when using the fixed method — each term floored at a minimum of 1 per level. The "Random roll per level" option instead simulates rolling the hit die for every level after 1st and sums the actual results, which will vary each time you press Calculate.
Optional bonuses
Some features add flat hit points per level on top of the base formula — most notably the Tough feat, which grants +2 hit points per character level, applied retroactively. Enter that value in "Bonus HP per level" to include it in the total.