Warhammer 40,000 Damage Calculator
Mathhammer for Warhammer 40K 11th Edition
Mathhammer uses probability to compare possible Warhammer 40K outcomes instead of relying on a single dice result. Tactical Cogitator is a free damage calculator for 11th Edition. It simulates 10,000 complete attack sequences for the selected attacker, target, phase and modifiers, then reports Average Damage, Models Killed, Wipe Chance and damage distributions.
How to get started
Open an example from Examples, enter units manually, load current units with Unit Search or import a roster from pasted Warhammer App export text or a New Recruit JSON file, all without an account. A free account saves profiles and Roster Sets. Comparison tests multiple attackers against multiple defenders.
Set the game state
The calculation uses the values, weapon abilities, defensive options, selected Army rules and the All, Shooting or Melee phase choice. Set the visible controls and inputs to match the current game state; changing them clears the previous result, so press Calculate again after an adjustment.
Frequently Asked Questions
Short answers for the main calculator workflow.
How do I start a calculation?
Open an example from Examples or enter the attacking weapons and target manually. Choose All, Shooting or Melee, select the weapons under Calculate these weapons, then press Calculate.
What is the difference between Unit Search and roster import?
Choose “Import Army List” in the unit panel. Paste the text exported from the Warhammer App, or upload a New Recruit JSON file. Then select the unit you want to use as attacker or defender. Unit Search loads one current unit by faction and name. Unit Search and roster import work without an account; saving profiles and Roster Sets uses a free account.
How do I set rules and modifiers?
Use weapon abilities, defensive abilities, rerolls and Army rules as needed. Combat Modifiers accepts BS/WS, Hit and Wound from −2 to +2. BS/WS change the profile; Hit/Wound bonuses and penalties are added, then capped at −1/+1 (+2 −1 = +1). Army rules → Stratagems & more adds named rules such as Stratagems. Enable rules and confirm their timing and conditions yourself.
Why run 10,000 simulations?
Repeated attack sequences show how outcomes are distributed, including the chance of low or high damage. This is more informative for risk decisions than a single average, but it still depends on the selected inputs and modeled rules.
What is Mathhammer and how do I read the results?
Mathhammer uses probability to compare possible Warhammer 40K outcomes. Tactical Cogitator reports Average Damage, Models Killed and Wipe Chance from 10,000 simulated attack sequences, with Distributions, Weapon Results and Summary views to show expected output and risk.
Is Tactical Cogitator free?
All calculator and rules features remain free. The calculator, Unit Search, roster import, example matchups, Comparison, At the Table and Matchup Brief work without an account; saved data uses a free account. Optional one-time support includes a Founding Supporter badge and storage for up to 100 Roster Sets instead of 20.
Can I install it on a phone?
Tactical Cogitator is a Progressive Web App. On iOS, use Share and Add to Home Screen. On compatible Android browsers, use Install app from the browser menu.
JavaScript is required to use the interactive application.