40k Damage Calculator






40k Damage Calculator – Mathhammer Statistics Tool


40k Damage Calculator

Master the Mathhammer: Optimize Your Unit Efficiency

Attacker Profile


Total shots or swings


Die roll needed to hit


Weapon Strength value


Enter as positive number (e.g., 1 for AP -1)


Damage per successful wound

Defender Profile


Target’s Toughness value


Target’s base armor save


Maximum save regardless of AP


Final chance to ignore damage

Expected Total Damage

2.78
Expected Hits
6.67
Expected Wounds
3.33
Failed Saves
2.78

Calculation: Hits (3+) → Wounds (S4 vs T4) → Save (3+ vs AP1) → Total Damage


Damage Profile vs. Various Toughness

Shows how your weapon performs against T3 through T12 targets

Comparative Performance Table


Target Type Toughness Save Expected Damage Efficiency

What is a 40k Damage Calculator?

A 40k damage calculator is an essential tool for Warhammer 40,000 players, commonly referred to as “Mathhammer.” This utility allows players to determine the statistical average of how much damage a specific unit will deal to a target under various conditions. By inputting variables such as the number of attacks, Ballistic Skill (BS), Weapon Strength, Armor Penetration (AP), and the defender’s Toughness and Armor Save, the 40k damage calculator provides a reliable prediction of outcome.

Who should use it? Competitive players use it to optimize their army lists, while casual players find it helpful for understanding why certain units consistently underperform or overperform on the tabletop. A common misconception is that a 40k damage calculator guarantees results; in reality, it provides the “expected value,” while actual dice rolls will fluctuate due to variance.

40k Damage Calculator Formula and Mathematical Explanation

The math behind the 40k damage calculator follows a sequential probability chain. Since each step in a Warhammer 40k attack sequence depends on the previous success, we multiply the probabilities of each stage.

The Core Equation:
Expected Damage = Attacks × P(Hit) × P(Wound) × P(Failed Save) × Damage Characteristic × P(Failed FNP)

Variable Breakdown

Variable Meaning Unit Typical Range
Attacks (A) Number of dice rolled for the attack Integer 1 – 40+
BS / WS The roll needed to score a hit Target Number 2+ to 6+
Strength (S) The power of the weapon Integer 2 – 20
Toughness (T) The resilience of the target Integer 3 – 14
AP Armor Penetration reducing the save Modifier 0 to -6

Practical Examples (Real-World Use Cases)

Example 1: Space Marine Intercessor vs. Ork Boy

An Intercessor unit fires 10 Bolt Rifle shots. S4, AP-1, D1. The Ork Boy is T5 with a 5+ save. Using the 40k damage calculator:

  • Hits: 10 shots on 3+ = 6.67 hits.
  • Wounds: S4 vs T5 requires 5+ = 2.22 wounds.
  • Saves: 5+ save becomes 6+ due to AP-1. Failed saves = 83.3%.
  • Result: 1.85 total damage.

Example 2: Lascannon vs. Rhino Tank

A single Lascannon shot: S12, AP-3, D d6+1 (Average 4.5). Target Rhino is T9, Sv 3+.

  • Hit: 1 shot on 3+ = 0.67 hits.
  • Wound: S12 vs T9 requires 3+ = 0.44 wounds.
  • Save: 3+ save becomes 6+ due to AP-3. Failed saves = 83.3%.
  • Damage: 0.37 unsaved wounds × 4.5 damage = 1.66 total damage.

How to Use This 40k Damage Calculator

  1. Enter Attacker Stats: Fill in the number of attacks and the skill required to hit (e.g., 3+).
  2. Set Weapon Power: Input the Strength and AP. Note that AP should be entered as a positive number (if it’s AP-2, enter 2).
  3. Target Selection: Input the defender’s Toughness and their base Armor Save.
  4. Advanced Defense: If the target has an Invulnerable save or Feel No Pain, select those from the dropdowns.
  5. Analyze Results: View the “Expected Total Damage” and use the SVG chart to see how the weapon scales against different toughness brackets.

Key Factors That Affect 40k Damage Calculator Results

  • Weapon Strength vs. Toughness: This is the most critical threshold. A weapon with S8 is twice as effective against T4 (wounds on 2+) as it is against T8 (wounds on 4+).
  • Armor Penetration (AP): AP values are massive force multipliers. Reducing a 3+ save to a 5+ save doubles the amount of damage that gets through.
  • Invulnerable Saves: These create a “damage floor.” No matter how high your AP is, an invulnerable save ensures the defender always has a specific chance to survive.
  • Damage Variance: Weapons with random damage (like D6) are riskier. Our 40k damage calculator uses averages, but in-game variance can be swingy.
  • Feel No Pain (FNP): This is a secondary layer of defense that reduces damage after saves are failed. It is particularly effective against high-damage weapons.
  • Volume of Fire: High attack counts (A) reduce the impact of “bad dice” by increasing the sample size, making the 40k damage calculator more accurate in practice.

Frequently Asked Questions (FAQ)

1. Why does the calculator show decimals like 2.78?

Because it calculates the statistical mean (average). You can’t roll 0.78 of a wound, but over 100 games, this unit will average that amount of damage per turn.

2. Does this 40k damage calculator account for rerolls?

This basic version uses raw stats. To account for rerolls (like “Reroll 1s”), you would adjust the probability of hitting or wounding manually by roughly 16%.

3. How does AP affect Invulnerable Saves?

AP does not affect Invulnerable Saves. The 40k damage calculator automatically chooses the better of the two saves for the defender.

4. Is Toughness 12 much better than Toughness 10?

Yes, especially against S6 weapons. S6 wounds T10 on a 5+, but T12 on a 6+, doubling the defensive efficiency.

5. What is “Mathhammer”?

Mathhammer is the application of probability theory to Warhammer 40,000 to determine the most efficient units for their point cost.

6. Can this calculator handle “Mortal Wounds”?

Mortal wounds bypass hit/wound/save sequences. You can calculate them separately and add them to the total expected damage.

7. How does the “Feel No Pain” mechanic work?

FNP is rolled for every point of damage taken. If you take 3 damage and have a 5+++, you roll 3 dice and ignore each 5 or 6.

8. Why use a 40k damage calculator instead of rolling dice?

The calculator helps in the list-building phase to ensure your army has answers for various threats like heavy tanks or hordes.

Related Tools and Internal Resources


Leave a Comment

40k Damage Calculator






40k Damage Calculator | Warhammer 40,000 MathHammer Tool


40k Damage Calculator

Master the statistics of Warhammer 40,000 with our advanced 40k damage calculator. Predict expected outcomes for any unit engagement.


Total number of attack dice being rolled.
Please enter a valid number of attacks.


The value required to score a successful hit.






Value that reduces the enemy’s armor save (e.g., -1). Enter as positive integer.



7+ = None


TOTAL EXPECTED DAMAGE
0.00
Expected Hits
0.00
Expected Wounds
0.00
Failed Saves
0.00

Calculation: Total Damage = Attacks × P(Hit) × P(Wound) × P(Failed Save) × Damage Characteristic.


Probability Funnel Visualization

Visual representation of how total attacks filter down to final damage based on your 40k damage calculator inputs.

What is a 40k Damage Calculator?

A 40k damage calculator is an essential tool for Warhammer 40,000 players, often referred to as “MathHammer.” It allows generals to calculate the mathematical probability of a unit’s performance against a specific target. Whether you are playing casual games or competitive tournaments, understanding the average output of your weapons is crucial for tactical decision-making.

Who should use a 40k damage calculator? Everyone from beginners learning the interaction between Strength and Toughness to veteran players optimizing army lists. Common misconceptions include thinking that a 3+ save means you’ll always save two-thirds of the time. In reality, variances in AP and re-rolls shift these numbers significantly, making a dedicated 40k damage calculator necessary for accuracy.

40k Damage Calculator Formula and Mathematical Explanation

The math behind Warhammer 40k is based on successive probability chains. To find the expected value, we multiply the probability of each independent event. The core sequence in this 40k damage calculator follows this derivation:

  1. Probability of Hitting: Determining if the dice roll meets or exceeds the WS/BS requirement.
  2. Probability of Wounding: Comparing weapon Strength (S) against target Toughness (T).
  3. Probability of Saving: The target attempts to negate the wound using Armor or Invulnerable saves.
  4. Damage Application: Multiplying the final successful wounds by the weapon’s Damage characteristic.
Variable Meaning Unit Typical Range
Attacks (A) Number of dice rolled in the hit phase Integer 1 – 100+
WS / BS Weapon Skill or Ballistic Skill D6 Result 2+ to 6+
Strength (S) Power of the attacking weapon Integer 1 – 16+
Toughness (T) Resilience of the target unit Integer 1 – 16+
Armor Save (Sv) Target’s natural defense D6 Result 2+ to 6+

Practical Examples (Real-World Use Cases)

Example 1: Space Marine Intercessors vs. Ork Boyz

Imagine 10 Intercessors firing Bolt Rifles at a unit of Ork Boyz. In our 40k damage calculator, we enter 20 attacks (Rapid Fire range). The BS is 3+, Strength is 4, and Ork Toughness is 5. With AP-1 against a 5+ save (effective 6+), the calculator shows an expected damage of approximately 4.44. This helps the player decide if they need to commit more fire to wipe the squad.

Example 2: Anti-Tank Efficiency

A Lascannon (1 attack, BS 3+, S12, D6+1 damage) fires at a Rhino (T9, 3+ save). Using the 40k damage calculator, the user finds the chance of dealing damage is roughly 44%. If the Rhino has 10 wounds, the player can see that one Lascannon is unlikely to destroy it in a single turn, prompting a change in strategy.

How to Use This 40k Damage Calculator

Using this tool is straightforward and designed for quick referencing during a game:

  • Step 1: Enter the total attacks your unit generates. Don’t forget to account for rapid fire or blast rules.
  • Step 2: Select the “To Hit” value. If your unit has buffs, use the modified value.
  • Step 3: Input Strength and Toughness. The 40k damage calculator automatically determines the wound threshold (e.g., S4 vs T4 = 4+).
  • Step 4: Apply AP and the target’s saves. The tool will automatically pick the best save available (Armor vs Invulnerable).
  • Step 5: Review the “Total Expected Damage” to see the average outcome.

Key Factors That Affect 40k Damage Calculator Results

Several critical variables influence the final output of any engagement in Warhammer 40,000:

  1. Re-rolls: Mechanics like “Re-roll 1s” or “Full Re-rolls” significantly boost reliability and shift the average damage upward.
  2. Strength vs. Toughness Ratio: Being double the toughness (S8 vs T4) yields a 2+ wound roll, while being half (S4 vs T8) yields a 6+.
  3. Armor Penetration (AP): AP is the most common way to bypass high-save units like Terminators. High AP makes the 40k damage calculator favor the attacker.
  4. Invulnerable Saves: These provide a floor for defense. No matter how much AP a weapon has, an invulnerable save (e.g., 4++) ensures the target always has a chance to survive.
  5. Damage Characteristics: Weapons with D6 damage are “swingy,” whereas flat Damage 3 weapons provide consistent results for planning.
  6. Volume of Fire: Sometimes, many low-quality shots (S3, AP0) are mathematically superior to one high-quality shot (S12, AP-4) due to the “law of large numbers” represented in our 40k damage calculator.

Frequently Asked Questions (FAQ)

Does this 40k damage calculator handle Mortal Wounds?
This specific version focuses on standard attack sequences. Mortal wounds bypass the save step entirely and should be added to the final result manually.

What does “MathHammer” mean?
MathHammer is the community term for using a 40k damage calculator or statistical analysis to determine the efficiency of units and weapons in the game.

How do I calculate “Feel No Pain” (FNP)?
To account for FNP, multiply the final damage by (7 – FNP value) / 6. For example, a 5+++ FNP reduces damage by roughly 33%.

Why is my expected damage a decimal?
A 40k damage calculator provides an average. While you can’t deal 4.5 wounds, over 100 games, your average result will be 4.5.

How does AP interact with cover?
Cover usually improves an armor save by 1. Simply lower the Armor Save value (e.g., from 3+ to 2+) before entering it into the calculator.

Does Strength 10 wound Toughness 5 on a 2+?
Yes, if Strength is double (or more) the Toughness, you wound on a 2+. The 40k damage calculator handles this automatically.

What is the most important stat in the calculator?
The volume of attacks and the “To Hit” roll are often the most impactful, as they form the top of the probability funnel.

Can a 1 ever hit if I have a 2+ BS?
No, in 40k, an unmodified hit roll of 1 always fails, regardless of modifiers or BS.

© 2023 40k Damage Calculator Tool. Not affiliated with Games Workshop. For tactical analysis only.


Leave a Comment