[Home](./index.md) > [bitburner](./bitburner.md) > [GangFormulas](./bitburner.gangformulas.md) > [calculateWantedPenalty](./bitburner.gangformulas.calculatewantedpenalty.md) ## GangFormulas.calculateWantedPenalty() method Calculate the wanted penalty. Signature: ```typescript calculateWantedPenalty(gang: GangGenInfo): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | gang | [GangGenInfo](./bitburner.ganggeninfo.md) | Gang info from [getGangInformation](./bitburner.gang.getganginformation.md) | Returns: number The calculated wanted penalty.