# 5e HP calculator by class and level

Works out a 5e character’s hit point maximum from the class, level and Constitution score, with the fixed-value total, the lowest, highest and average totals when rolling, and the hit dice.

- Page: https://www.acalculator.org/game/dnd-hp-calculator
- JSON spec: https://www.acalculator.org/game/dnd-hp-calculator.json
- Version: bb8dc22bfb6f

## Default answer

Example with the default inputs (Class Fighter (d10), Level 5, Constitution score 14, Extra hit points per level 0): A level 5 character with 5d10 hit dice and a +2 Constitution modifier has 44 hit points.

## Inputs

| Key | Label | Description |
| --- | --- | --- |
| class | Class | The character’s class, which sets the hit die (d6 to d12). |
| level | Level | The character level, from 1 to 20. |
| con | Constitution score | The Constitution ability score, from 1 to 30; the modifier comes from it. |
| extra | Extra hit points per level | A bonus added every level: 1 for a hill dwarf or a draconic bloodline sorcerer, 0 for none. |

## Outputs

| Key | Label | Description |
| --- | --- | --- |
| fixed | Hit point maximum (fixed value) | The maximum at 1st level, then the class’s fixed value each later level, all with the Constitution modifier. |
| average | Average when rolling | The expected maximum if each later level is a roll of the hit die. |
| lowest | Lowest when rolling | The maximum if every later roll is a 1. |
| highest | Highest when rolling | The maximum if every later roll is the top of the die. |
| modifier | Constitution modifier | (score − 10) ÷ 2, rounded down. |
| hitDice | Hit dice | One hit die per level, such as 5d10. |
| perLevel | Hit points per later level | The fixed value + the Constitution modifier + the extra, at least 1 before the extra. |

## Method

HP = max(1, die + CON mod) + extra at 1st level, plus max(1, fixed value + CON mod) + extra for each later level; fixed value = die ÷ 2 + 1; CON mod = ⌊(score − 10) ÷ 2⌋.

## Assumptions

- One class from 1st level (no multiclassing). Hit dice: barbarian d12; fighter, paladin and ranger d10; bard, cleric, druid, monk, rogue and warlock d8; sorcerer and wizard d6.
- Each level adds at least 1 hit point before the per-level bonus, even with a very low Constitution. The SRD sets no floor; this page uses one so a level never lowers the maximum.
- The Constitution modifier counts at every level, as if the current score had applied from 1st level.

## Worked examples

1. class = fighter, level = 5, con = 14, extra = 0 gives fixed = 44, lowest = 24, highest = 60, average = 42, modifier = +2, hitDice = 5d10. Source: Wizards of the Coast, System Reference Document 5.1 (CC BY 4.0), Classes, Hit Points (1st level: the hit die’s maximum + Constitution modifier; later levels: 1 roll of the hit die, or the fixed value, + Constitution modifier) and Ability Scores and Modifiers. https://media.wizards.com/2023/downloads/dnd/SRD_CC_v5.1.pdf.
2. class = barbarian, level = 1, con = 16, extra = 0 gives fixed = 15, lowest = 15, highest = 15, hitDice = 1d12. Source: At higher levels 1d12 (or 7) + your Constitution modifier. https://5thsrd.org/character/classes/barbarian/.
3. class = wizard, level = 3, con = 8, extra = 1 gives fixed = 14, perLevel = 4, modifier = −1. Source: Wizards of the Coast, System Reference Document 5.1 (CC BY 4.0), Classes, Hit Points (1st level: the hit die’s maximum + Constitution modifier; later levels: 1 roll of the hit die, or the fixed value, + Constitution modifier) and Ability Scores and Modifiers. https://media.wizards.com/2023/downloads/dnd/SRD_CC_v5.1.pdf.
4. class = sorcerer, level = 2, con = 1, extra = 0 gives fixed = 2, lowest = 2, highest = 2, modifier = −5. Source: Wizards of the Coast, System Reference Document 5.1 (CC BY 4.0), Classes, Hit Points (1st level: the hit die’s maximum + Constitution modifier; later levels: 1 roll of the hit die, or the fixed value, + Constitution modifier) and Ability Scores and Modifiers. https://media.wizards.com/2023/downloads/dnd/SRD_CC_v5.1.pdf.

## FAQ

### How do I calculate hit points in 5e?

At 1st level take the highest roll of your class’s hit die plus your Constitution modifier. At each later level add one roll of the hit die (or its fixed value) plus your Constitution modifier. A 5th-level fighter with Constitution 14 has 10 + 2 = 12, then 4 × (6 + 2) = 32, for 44 hit points.

### What is the fixed value of each hit die?

The average roll rounded up: 4 for a d6, 5 for a d8, 6 for a d10 and 7 for a d12. It is half the die plus 1.

### How do I get the Constitution modifier?

Subtract 10 from the score, divide by 2 and round down. A score of 14 gives +2, 10 gives 0, 8 gives −1 and 1 gives −5.

### Should I roll or take the fixed value?

The fixed value is a little above the average roll, so over many levels it gives more hit points on average and no bad luck. Rolling can give more or less; the page shows the range and the average.

### What does a hill dwarf or a draconic sorcerer add?

Both add 1 hit point at every level (Dwarven Toughness and Draconic Resilience in the SRD). Type 1 in "Extra hit points per level".

### Can a level give 0 or fewer hit points?

With a very low Constitution, the fixed value plus the modifier can be 0 or less (a d6 with −5). The SRD gives no floor, but this page counts at least 1 hit point for each level, before any per-level bonus.

## Sources

- Wizards of the Coast, System Reference Document 5.1 (CC BY 4.0), Classes (Hit Points at 1st Level and at Higher Levels for each class), Ability Scores and Modifiers, Dwarf (Dwarven Toughness) and Sorcerer (Draconic Resilience). https://media.wizards.com/2023/downloads/dnd/SRD_CC_v5.1.pdf (retrieved 2026-10-02)
- 5th Edition SRD, an HTML copy of SRD 5.1: Barbarian (Hit Points at 1st Level: 12 + your Constitution modifier; at Higher Levels: 1d12 (or 7) + your Constitution modifier per barbarian level after 1st). https://5thsrd.org/character/classes/barbarian/ (retrieved 2026-10-02)
