[Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [hacknetServerCost](./bitburner.hacknetserversformulas.hacknetservercost.md)
## HacknetServersFormulas.hacknetServerCost() method
Signature:
```typescript
hacknetServerCost(n: number, mult: number): number;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| n | number | |
| mult | number | |
Returns:
number