# Calculating Efficiency

Created:What is the best way to calculate a unit’s efficiency? There is a simple formula that helps a player calculate the ratio of units needed in an attack:

`Ratio = (Power`

_{A} - Shield_{D}) / Armour_{D}

This is a clean formula. You have to adjust for the technology level of the attacker and defender, but the result is how many attacking units are necessary to defeat the enemy in one attack. Against base defenses, you have to remember to multiply by five. You also have to remember to halve the value of the Shield when dealing with Ions.

Base Defenses on the Attack:

`Ratio = (Power`

_{A} - Shield_{D}) * 5 / Armour_{D}

Base Defenses on the Defense:

`Ratio = (Power`

_{A} - Shield_{D}) / (Armour_{D} * 5)

There is another way to approach this. The formula below shows the cost per unit of power delivered against a given target.

`Cost = Cost`

_{A} / (Power_{A} - Shield_{D})

As an example, Let’s try a Battleship against a Titan. We will assume all technologies at level 20.

`Cost = 2000 / (336 - (30/2)) = 6.23 credits`