<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) > [bitburner](./bitburner.md) > [HacknetServersFormulas](./bitburner.hacknetserversformulas.md) > [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