Free tool · Minecraft
Minecraft server RAM calculator
How much RAM does your Minecraft server need? Pick Java or Bedrock, your server software, mods or plugins, players and view distance. You get a memory range, how we worked it out, and the plan that fits.
Work out your server's RAM
The result updates as you change the settings. It is a starting point: watch real memory use once your world is busy and adjust.
Recommended RAM
3 GB to 5 GB
Our estimate: 3.4 GB. The top of the range leaves room for busy evenings and updates.
- Paper or Purpur server2 GB
- 5 plugins0.2 GB
- 10 players at view distance 101.2 GB
Every Minecraft plan runs on AMD Ryzen 9 with NVMe in the Netherlands, with DDoS protection and daily backups. Grass is free for 7 days. See Minecraft hosting.
Minecraft RAM by players and server type
The same formula for common setups at the default view distance of 10. Use it as a quick reference.
| Players | Vanilla | Paper, 10 plugins | Fabric, light pack | Forge, medium pack | Forge, heavy pack (ATM10) | Bedrock, no add-ons |
|---|---|---|---|---|---|---|
| 5 | 2.5 GB to 4 GB | 3 GB to 4 GB | 5.5 GB to 7 GB | 8 GB to 11 GB | 11 GB to 15 GB | 1.5 GB to 3 GB |
| 10 | 3.5 GB to 5 GB | 3.5 GB to 5 GB | 6.5 GB to 9 GB | 9.5 GB to 12 GB | 12.5 GB to 16 GB | 2 GB to 3 GB |
| 20 | 5 GB to 7 GB | 4.5 GB to 6 GB | 8.5 GB to 11 GB | 12 GB to 15 GB | 15 GB to 19 GB | 3 GB to 4 GB |
| 40 | 8 GB to 10 GB | 7 GB to 9 GB | 12.5 GB to 16 GB | 17 GB to 22 GB | 20 GB to 25 GB | 5 GB to 7 GB |
How we calculate
We add up four parts. The server software gets a base amount: 2 GB for Vanilla, Paper and Purpur, 2.5 GB for Fabric and 3 GB for Forge or NeoForge. Bedrock Dedicated Server starts at 1 GB because it is lighter than a Java server.
Mods add 2, 4 or 7 GB for a light, medium or heavy pack. Bedrock add-ons add 0.5 to 2 GB. Plugins on Paper add about 40 MB each. Players add 0.1 to 0.25 GB each, depending on the software, scaled by view distance: the server keeps about (2 × view distance + 1)² chunks loaded around every player, so going from 10 to 16 chunks more than doubles that part.
The low end of the range is the estimate rounded down. The high end adds 25% headroom. These numbers line up with our guide to how much RAM a Minecraft server needs: about 2 to 4 GB for a small Paper server, and 12 GB or more for packs with 150 mods or more.
PaperMC's page on Aikar's flags recommends 6 to 10 GB for a smooth Java server whatever the player count. A small private server can start lower, which is why our ranges begin at 2 GB, but if you see lag spikes from garbage collection, more memory helps. If you run Minecraft on your own VPS, leave about 1 to 1.5 GB for the operating system on top of the server's memory, as PaperMC advises.
Sources:
- PaperMC documentation: Aikar's flags (memory size, operating system headroom)
- All the Mods guides: setting up a server (use the pack's server files and its memory advice)
- CyprusNode guide: how much RAM does a Minecraft server need?
More RAM is not the only fix for lag
View distance
Lowering view distance from 12 to 8 cuts the chunks each player keeps loaded by more than half. Simulation distance works the same way for game logic.
CPU and ticks
World generation, big farms and redstone load the processor. If memory is fine but the game stutters, look at tick time and entity counts first.
Plugins and mods
Remove what nobody uses and add new ones one at a time, so you can see which change affects memory and performance.
Minecraft RAM questions
How much RAM does a Minecraft server need?
How much RAM do I need for ATM10 or another big modpack?
Does more RAM fix lag?
How much RAM does a Bedrock server need?
Can I upgrade my plan later without losing my world?
Start your Minecraft server
Plans from €4.99 a month. Try Grass free for 7 days.