Army Strength Calculator

Add up the attack, defence and upkeep of your army in a strategy game, work out how long until you reach a resource target and compare attack with defence after bonuses to see whether a battle is a win.

Infantry
Cavalry
Archers
Siege units
Total units
—
Total attack
—
Total defence
—
Attack ÷ defence
—
Upkeep per hour
—
Upkeep per day
—

Army: totals add up number × attack, defence and upkeep of each unit type; the example stats are placeholders, so enter the values your game shows. Resources: shortage = target − stock, time = shortage ÷ production per hour, days = hours ÷ 24. Battle: power with bonus = power × (1 + bonus ÷ 100); the attacker wins when attack ÷ defence is at least 1 and wins confidently from 1.3, and the extra power is the raw attack to add before the bonus. Real games add randomness, unit counters and losses, so treat the result as an estimate.

How the army calculator works

Army: totals add up number × attack, defence and upkeep of each unit type; the example stats are placeholders, so enter the values your game shows. Resources: shortage = target − stock, time = shortage ÷ production per hour, days = hours ÷ 24. Battle: power with bonus = power × (1 + bonus ÷ 100); the attacker wins when attack ÷ defence is at least 1 and wins confidently from 1.3, and the extra power is the raw attack to add before the bonus. Real games add randomness, unit counters and losses, so treat the result as an estimate.

Frequently asked questions

How is the battle outcome estimated?

50,000 attack with a +20 % bonus gives 60,000; 35,000 defence with +15 % gives 40,250. The ratio 1.49 is above 1.3, so it is a confident win.

How long until I reach a resource target?

With 50,000 wood in stock, 5,000 per hour and a target of 200,000 you are 150,000 short: 30 hours, or 1.25 days.

How we verified this calculator

The calculator is checked against 4 reference cases computed independently of its code. Last passed: .

# Inputs Expected result
1
What to calculate = army strength
Total units: 1750
Total attack: 25000
Total defence: 18250
Attack ÷ defence: 1.37
2
What to calculate = army strength
Number of units = 0
Attack per unit = 10
Defence per unit = 5
Upkeep per unit per hour = 2
Number of units = 0
Attack per unit = 15
Defence per unit = 20
Upkeep per unit per hour = 4
Number of units = 0
Attack per unit = 50
Defence per unit = 5
Upkeep per unit per hour = 15
Number of units = 333
Attack per unit = 12.5
Defence per unit = 7.25
Upkeep per unit per hour = 0.75
Total units: 333
Total attack: 4163
Total defence: 2414
Attack ÷ defence: 1.72
3
What to calculate = resources
Resource in stock = 50000
Production per hour = 5000
Resource target = 200000
Shortage: 150000
Hours to target: 30.00
Days to target: 1.25
Progress: 25.0 %
4
What to calculate = resources
Resource in stock = 12345
Production per hour = 678
Resource target = 987654
Shortage: 975309
Hours to target: 1438.51
Days to target: 59.94
Progress: 1.2 %

How we test our calculators →

Also try:

Back to category →