[Home](./index.md) > [bitburner](./bitburner.md) > [Hacknet](./bitburner.hacknet.md) > [hashCapacity](./bitburner.hacknet.hashcapacity.md)
## Hacknet.hashCapacity() method
Get the maximum number of hashes you can store.
Signature:
```typescript
hashCapacity(): number;
```
Returns:
number
Number of hashes you can store.
## Remarks
RAM cost: 0 GB
This function is only applicable for Hacknet Servers (the upgraded version of a Hacknet Node).
Returns the number of hashes you can store.