<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [bitburner](./bitburner.md) &gt; [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) &gt; [hashGainRate](./bitburner.hacknetserversformulas.hashgainrate.md)

## HacknetServersFormulas.hashGainRate() method

<b>Signature:</b>

```typescript
hashGainRate(level: number, ramUsed: number, maxRam: number, cores: number, mult?: number): number;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  level | number |  |
|  ramUsed | number |  |
|  maxRam | number |  |
|  cores | number |  |
|  mult | number |  |

<b>Returns:</b>

number