<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [GangFormulas](./bitburner.gangformulas.md) > [wantedPenalty](./bitburner.gangformulas.wantedpenalty.md) ## GangFormulas.wantedPenalty() method Calculate the wanted penalty. <b>Signature:</b> ```typescript wantedPenalty(gang: GangGenInfo): number; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | gang | [GangGenInfo](./bitburner.ganggeninfo.md) | Gang info from [getGangInformation](./bitburner.gang.getganginformation.md) | <b>Returns:</b> number The calculated wanted penalty.