Docs → Game Tools → Using the Stacking Calculator
⚔️ Using the Stacking Calculator
Every part of the Stacking Calculator, step by step: pick the epic, fill in your army from your own battles, tick your troops, read what to send, and check afterwards whether the battle went as calculated.
You are about to march on an epic and you want the biggest number you can get on the damage counter. The TB Stacking Calculator takes the troops you own, the three pools you can lead and the bonuses your army really has, plays the battle through strike by strike, and tells you how many of each troop to send and in which order to type them into the march screen. Afterwards it can hold your calculation up against the battle you actually fought and show you where the two parted.
It is under Game Tools → Stacking Calculator. The page walks you through five steps, and you can jump between them at any time from the step bar:
| Step | What you do there |
|---|---|
| 1 · Epic | Choose the epic squad and its level. The calculator fills in the monsters you will fight. |
| 2 · Your army | Read your bonuses, Temple level and captains from your own battles with one button, and set the three pools you can lead. |
| 3 · Troops | Tick the troops you have and are willing to send. |
| 4 · What to send | The list to type into the march screen, the strongest plan for your army, and what the battle will cost you to revive. |
| 5 · Check a battle | Compare a calculation you saved with the battle you fought with it. |
The screenshots in this article come from a demo player called Demo Knight, planning an attack on Epic Fenrir squad. Your own numbers will differ.
The rule the whole calculator is built on
In an epic battle the stack with the highest total HP dies first. The portal measured this on more than seventeen million strikes from real battles, and it held in almost every one of them. It turns the usual instinct upside down: to keep a stack alive until the end you do not make it bigger, you make its total HP smaller than every stack in front of it.
That matters because a stack only does damage while it is alive. The stack that dies first may never strike at all, while the stack that dies last strikes in every round. So the job is not to send more troops, it is to put the right troops at the bottom of the death order and to keep that order from breaking. Every plan the calculator offers is a different answer to that job.
The battle itself is simulated strike by strike with the rules read from 1,500 real battles, for both possible openings: you strike first in about 52 % of battles and the monster strikes first in the other 48 %. The damage you see is the average of the two, unless you tell the calculator to plan for the worse opening (see After the battle).
The top of the page

- Expected damage is the damage the plan in use will do, with the worst and best of the two openings underneath.
- Epic points turns that damage into epic points, using the rate measured from battles against the same epic. The line underneath says how many battles the rate comes from. It reads No shared battles against this epic yet until the portal holds at least one.
- Revive in the Temple is what reviving the units you lose will cost, in Sacred Potions or in gold, after your Temple's discount.
- Troops used counts the stacks in the plan and shows how much of your Leadership, Authority and Dominance it uses.
Above the figures, Setup shows the name of the setup you are working on and whether it has unsaved changes. On the right are Setups, Save setup with its menu, and ?, which opens a short guide on the page itself. Saving and sharing are covered in Saving, loading and sharing setups.
Step 1 · Epic

Epic lists every epic squad the calculator has data for. You can type to search.
Level appears once the squad has more than one. A squad with only one level shows Only one level and fills it in for you.
Stacks left in the squad starts at the full squad. If other players have already killed some stacks, lower it, and the calculator fights only the strongest stacks that are still standing.

The squad you will fight lists every monster stack with its number of units, HP and strength per unit, and total HP. You do not type anything here; it is there so you can see what your army is up against.
Step 2 · Your army
This step tells the calculator how strong your army really is. It has five parts: a button that fills most of it in from your battles, your three pools, your captains, the bonus fields, and an advanced section.
Fill in from your game

Player lists the players linked to your portal account. If yours is missing, link it first, see Linking your players.
Battle to read starts on My latest epic battles together, which reads your most recent epic battles as one, so a single unlucky battle does not throw the numbers off. You can also pick one battle from the list. A battle where other players struck too, a raid, cannot give your own numbers and is refused with a note saying so.
The calculator shows what it measured before it changes anything: each bonus field as it is now and as your battles show it, plus your double damage and second strike chances. Press Use these numbers to take them, or Cancel to keep what you had. You can change every number afterwards.
Under the button, four lines tell you what was filled in and from where:
| Line | What it tells you |
|---|---|
| Bonuses | How many bonus fields were read from your battles, and from which battle. If you typed them yourself it counts how many are set. |
| Temple | Your Temple level, read from your city, and how much it divides the revive price by. If the level is unknown, the revive cost is shown at full price. |
| Captains | Which captains were added to your bonuses. When your bonuses come from a battle, the captains who rode in it are already inside those numbers, so they are not added a second time. |
| Pools | Where your three pools came from: your commanders and your measured bonus, a battle, or what you typed. |
How many troops you can lead

Each pool pays for a different part of the army and they are spent separately:
- Leadership pays for guardsmen, specialists and engineers.
- Authority pays for mercenaries.
- Dominance pays for monsters.
Under each field you see how much the plan uses, how much is left, or how much it is over. When the pools were filled in from your commanders, a note explains that the portal cannot see every bonus you have (equipment, artifacts, items), so the numbers are an estimate. Check them against your march screen and correct them if they differ. The march screen is always right.
Captains on the march

You can tick up to three captains beside the Hero, as in the game. Load my captains fetches the captains the portal has seen for your player, with their level and stars, strongest first. Each captain shows the bonus that counts in an epic battle. A captain marked No battle bonus still adds Leadership, Authority and Dominance to your pools, but nothing to your bonuses. When the portal knows your Hero's level from a battle, the Hero has its own row: it adds to your pools only.
When your bonus numbers come from a battle journal, the captains who rode in that battle are already in them, so ticking captains here would count them twice. The card says so. If you know your numbers were measured without captains, press My numbers are without captains and the ticked captains are added again.
Bonus fields

Open Bonus fields to see or type every bonus yourself. They are split into health and strength, with General, Guardsmen, Specialists and Monsters groups. Two rules decide how they add up:
- A troop type bonus, such as Ranged or Flying, adds to the All bonus of the same group.
- Guardsmen and Specialist bonuses add on top of General.
So never type the same bonus into All and into each type: it is counted once for every field you put it in. Step 5 points this out when it sees it in a saved calculation. With every field at zero the plan uses the game's base numbers, and step 4 warns you about it.
Advanced

- Margins between stacks: how many units more each stack has than the one that dies after it, so the death order holds. Between stacks, Specialists before guardsmen and Between tiers all start at 1. Raise them if your battles keep dying in a different order than planned.
- Catapults in front: none, or one to three engineer stacks that die first and shield the rest. Pick which engineers in each slot, and type your researched catapult health and strength bonuses, which add on top of General.
- Your battle extras: your extra double damage chance, your second strike chance and your strength against epic monsters, in percent. Fill in my numbers fills the first two. When your bonuses come from battles, the field for strength against epic monsters shows Included in your strength bonuses above instead of a number you can type in. The battles already include that bonus, so typing it again would count it twice.
- Revive in the Temple: your Temple level, which divides the revive price, and the Share of lost units that is lost for good, which is not revived and so not priced.
- Only what I own: switch on Limit each unit to what I own and type how many of each chosen unit you have. A stack over its limit is cut down, and what it frees goes to the other stacks. A unit you leave empty has no limit.
Step 3 · Troops

Troops are in four blocks, each paid from its own pool: Guardsmen and Specialists (Leadership), Monsters (Dominance) and Mercenaries (Authority). The counters at the top show how many of each you have ticked.
- Tick fast. In the grids, click a tier such as G8 to tick the whole row, or a column name such as Melee to tick the whole column. Select all and Clear work on one block.
- Show switches between All units and Only ticked, which is handy once you know your army.
- Tiers you have not opened are hidden. When you picked your player in step 2, tiers above that player's levels are hidden, and a line says which levels it used. Show them brings them back. A tier you already ticked is never hidden.
- Show unavailable units shows the gaps where the game has no unit, and units the calculator cannot use yet.
- Clear all unticks every troop after a question. Your pools, margins and bonuses stay as they are.
- Mercenaries are listed with their HP and Authority cost per unit. Their special bonuses are not part of the calculation.
Tick only troops you are willing to send. The calculator will happily use a troop you would rather keep at home.
Step 4 · What to send
This is the step you take into the game. On a computer the list is on the left and the cards that help you decide are on the right. On a phone the deciding cards come first, so you choose the plan before you scroll to the list.
What to send

The line under the title names the plan in use: the best of the three ladder plans, Strongest mix when that is stronger, or the plan you chose yourself. Do this sums it up in one sentence: how many stacks to send, against which epic, and the damage to expect.
Row order decides how the list is sorted:
- As in the game lists the stacks in the order of the game's march screen, so you can type the numbers in from top to bottom. This is the order to use when you march.
- Order they die in lists them in the death order, first to die at the top. This is the order to read when you want to understand the plan.
| Column | Meaning |
|---|---|
| Unit | The troop, its tier and faction, and underneath it why it dies: in which round, to which monster, and whether that monster has a bonus against it. Survives the battle means it is still standing at the end. |
| Send | How many to send. This is the number that matters. |
| Dies as | Its place in the death order. #1 dies first. |
| Strikes | How many times the stack strikes before it dies. Two numbers mean it differs between the two openings. |
| Damage | The damage this stack adds to the total. |
| Lost | How many of its units die, which is what you pay to revive. |
Click a row to jump to that unit in step 3, which is the quickest way to untick a troop you do not want to field. If two stacks end up with the same total HP, an amber warning names the positions where the death order may break. Raise Between stacks in the advanced section of step 2, or choose Safe (2× per tier) under Other plans.
Strongest mix

The three classic plans build a ladder of stacks with nearly equal HP. Against an epic that kills a whole stack with each strike, that wastes your pools: every stack dies after one hit, however big it is. Strongest mix searches for a better split instead, usually big stacks of your cheapest units and token stacks of the expensive ones, and keeps a change only when the simulation says it does more damage. The death order stays strict while it searches, and your pools are never exceeded.
Because a mix can ask for far more of one unit than a ladder does, you choose what each unit is limited to. This is the setting Limit each unit to:
| Setting | What it does | Choose it when |
|---|---|---|
| What I’ve sent before | Each unit is limited to the most you sent of it in one battle in the last 30 days, read from your own battles. A unit you have not sent stays as in the plan. | You want a plan you know you can field. This is where it starts. |
| Only what I own | Each unit is limited to the number you typed under Only what I own in step 2. A unit without a number has no limit. | You have more troops than you have sent before, and you have typed what you own. |
The line under the setting says where the limits came from, for example how many battles were read. What I’ve sent before needs your player picked in step 2 and battles of yours in the last 30 days; without them the card tells you what is missing and offers Go to step 2. While it searches, the card shows how far it has come.
When it is done, the two figures show the mix's damage compared with the best ladder plan, and its revive cost. When the mix is stronger it is used in What to send automatically and the card says This plan is in use in What to send. If you picked another plan, Use this plan switches back to the mix. When nothing beats the ladder within your limits, the card says the ladder plan is already the strongest.
After the battle

- Plan for: Average judges every plan by the average of the two openings. Worst opening judges them by the opening that does the least damage, which suits you when a safe result matters more than the best one.
- Expected damage and Epic points, as at the top of the page.
- Sacred Potions to revive, or the same in gold, with your Temple level and discount.
- Damage per gold: damage divided by the revive bill in gold, and the epic points you get per 1,000 gold. Dragon Coins are not counted.
- Units lost: how many units die, how many of them can be revived, and the share lost for good.
- Rounds: how many rounds the battle lasts when you strike first and when the monster does.
Other plans

| Plan | How it builds the army | When it shines |
|---|---|---|
| Tightest order | Keeps the HP gaps between stacks as small as possible while the order stays strict. | Getting the death order exactly right. It may leave some Leadership unspent. |
| Safe (2× per tier) | Gives each lower tier about twice the Leadership of the tier above, which makes wide HP gaps. | Your bonuses may not be exactly what you typed, and you want the order to hold anyway. |
| Strongest per HP | Sorts by strength per point of HP, so the most efficient troops die last. | Armies with many mercenaries or monsters. |
| Strongest mix | The search described above, within the limits you chose. | Epics that kill a whole stack with each strike. |
Each plan shows its expected damage, its number of stacks and how far it is behind the best. Picking one here makes it the plan in What to send and in the figures at the top.
Check it afterwards

- Save for later analysis keeps this calculation exactly as it is now: the settings, the plan, the numbers. After your next battle against the same epic, step 5 compares the two. It needs the epic chosen in step 1 and your player chosen in step 2. Saved calculations are kept with no time limit.
- Try leaving units out for more damage leaves out each unit you chose, one at a time, and keeps only what raises the simulated damage. Your pools stay the same. If it finds something, it lists the units and how much more damage leaving them out gives, and Leave them out unticks them. If every unit adds damage, it says so.
Step 5 · Check a battle
Step 5 holds a calculation you saved up against a battle you fought with it, and tells you whether the battle went as calculated. If it did not, it tells you why, and offers to fix the calculation.
Which calculation, which battle?

- Saved calculation lists everything you saved with Save for later analysis, newest first. The step bar counts them.
- Battle lists only battles against the same epic, fought after you saved. The first one is picked for you and marked first after you saved. Your choice is remembered.
If you have saved nothing yet, the step says so and offers Go to step 4. If you saved but have not fought the epic since, or the battle has not reached the portal yet, the battle list is empty. See Getting your battles into the portal for how long a battle takes to arrive.
Did it go as calculated?

The verdict is As calculated when the battle's damage is within 5 % of the calculation, and Not as calculated otherwise. Under it:
- Bonuses: the health and strength bonus your calculation gave against what the battle shows. If you typed the same bonus into fields that add up, it says how many times it was counted.
- Troops: whether you sent what the calculation said. Kinds you sent that were not in it, planned kinds you did not send, and how close each stack's size came to the plan.
- Captain: who rode with you, and whether the calculation had them.
- Battle extras: how often your strikes did double damage or struck twice, against what the calculation had.
- The calculator: the battle replayed with the troops you really sent and the bonuses measured from the battle itself. If the replay lands close to the battle, the miss came from what was typed in, not from bad luck. If even the replay is far off, chance played a bigger part this time: double damage, second strikes and who struck first.
Bonuses and stacks, side by side

Bonuses: your calculation against the battle lists health and strength per faction and troop type, plus your battle extras, with the difference in percentage points. The battle's numbers are measured from every strike in it, so they hold everything that rode with you. Use the battle’s bonuses puts them into your setup.

Stacks: your calculation against the battle lists every stack in the order the calculation said they die: how many units were calculated and sent, where it died in the calculation and in the battle, and how often it struck in each. Kinds you sent that were not in the calculation are listed at the end. This is the table that shows a broken death order.
The battle in numbers, captains and artifacts


Fix the calculation

- Use the battle’s bonuses in this setup puts the bonuses measured from the battle into your bonus fields.
- Add a captain appears when a captain rode with you who was not in the calculation, and adds them.
- Open the calculation puts the saved calculation back on the page exactly as it was. If the page has unsaved changes, you are asked first.
Saving, loading and sharing setups
A setup is everything on the page: the epic, your pools, bonuses, captains, the advanced settings and the troops you ticked. Press Save setup to keep it under a title, with an optional description, and optionally linked to a player, an epic and the damage you dealt. The line at the top shows Unsaved changes the moment the page differs from the setup you loaded.

Setups belong to your account. Nobody else in your clan sees them, and there is no limit on how many you keep. Loading a setup while the page has unsaved changes asks whether to discard them or save first.

| Menu item | What it does |
|---|---|
| Save as new… | Saves the page as a new setup and leaves the one you loaded as it was. |
| Edit details… / Rename… | Changes the title, description, player, epic or damage of the setup. |
| Duplicate | Makes a copy of the setup. |
| Revert to saved | Throws away your unsaved changes and puts the last saved version back. |
| Copy share link… | A link that gives anyone who opens it in the portal exactly these settings. Nothing is saved on the server. |
| Export as file / Import from file… | Saves the setup as a file, or loads one. Importing replaces what is on the page, unsaved changes included. |
| Reset all to defaults | Returns every field to its starting value. |
| Detach from setup | Keeps your settings on the page but stops tracking them against the saved setup. |
| Delete setup… | Removes the setup from your list after a question. The settings on the page are not changed. |

On a phone

The calculator works the same on a phone. The only difference is the order in step 4: Strongest mix, After the battle and Other plans come before What to send, so you choose the plan before you start typing numbers into the game.
When something looks wrong
- The epic points say No shared battles against this epic yet. The portal holds no battle against that epic, from anyone. Points appear once one arrives.
- Fill in my numbers finds no battle. The portal holds no epic battle for that player. Get your battles in first, see Getting your battles into the portal.
- The death order broke in the game. Almost always the bonuses. Use Fill in my numbers instead of typed bonuses, or raise Between stacks. Step 5 shows exactly which stacks died out of place.
- The battle did far more damage than the calculation. Look at Strongest mix. A ladder plan against an epic that kills a stack per strike leaves a lot of damage unused.
- A troop you own is missing in step 3. Its tier may be hidden because it is above your player's levels: press Show them. Or turn on Show unavailable units.
Common questions
Do I need a game account to use the calculator?
No. The calculator works for anyone, and you can type every number yourself. What a game account adds is that the portal reads your own battles, so it can fill in your real bonuses, your battle extras and how many units you have sent before. Your clan can give you the same through its chat group, if it has set that up. Both ways are explained in Getting your battles into the portal.
Why is Strongest mix so different from the other plans?
The other three plans build a ladder of stacks with nearly equal HP, which is the classic way to stack. Against an epic that kills a whole stack with every strike, each of those stacks dies after one hit however big it is, so most of your pools do little. Strongest mix searches for a split that does more damage in the battle simulation, which is usually a few big stacks of cheap units and small stacks of the expensive ones. It never goes past your pools or the limits you chose.
What is the difference between What I’ve sent before and Only what I own?
What I’ve sent before limits each unit to the most you sent of it in a single battle in the last 30 days, read from your own battles. It is the safe choice: you have marched with those numbers before. Only what I own limits each unit to the number you typed under Only what I own in the advanced section of step 2. A unit you left empty has no limit, so type every unit the mix may use.
My calculation and my battle do not match. What should I look at first?
Save the calculation with Save for later analysis before you march, then open step 5 after the battle. Its verdict tells you whether the miss came from the bonuses, from the troops you sent, from your battle extras, or from chance. The line called The calculator is the quickest test: if the replay with the battle's own numbers lands close to the battle, the miss came from what was typed in, and Use the battle’s bonuses in this setup fixes most of it.
Can my clan see my setups and saved calculations?
No. Setups and saved calculations belong to your portal account and are only listed for you. If you want someone else to use your setup, send them a share link from the menu next to Save setup, or export it as a file. Opening a share link gives them the settings; nothing is saved on the server.
How long does it take before a new battle shows up in the calculator?
It depends on how the battle reaches the portal. A battle shared in your clan's chat group usually arrives within the hour. A battle read from your own game account is fetched every night, and also when you open the calculator. The details are in Getting your battles into the portal.
Related