[Home](./index.md) > [bitburner](./bitburner.md) > [GangFormulas](./bitburner.gangformulas.md) > [calculateWantedPenalty](./bitburner.gangformulas.calculatewantedpenalty.md)
## GangFormulas.calculateWantedPenalty() method
Signature:
```typescript
calculateWantedPenalty(gang: GangGenInfo): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| gang | [GangGenInfo](./bitburner.ganggeninfo.md) | |
Returns:
number