How the Minecraft RAM calculator works
A Minecraft server needs memory before anyone joins: for the area around spawn, the server software itself and Java. After that, every player loads chunks around them, and every plugin or mod adds its own share. So the calculation is a base amount, plus a little extra for each player:
- Vanilla: 2 GB base, then 1 GB per 3 players
- Plugins: 2 GB base, then 1 GB per 2 players
- Modded: 5 GB base, then 1 GB per 2 players
- Modpack: 8 GB base, then 1 GB per player
Count the busiest moment, not the average. If twenty players are on your whitelist but never more than ten are online at the same time, you need a server for ten players. Bedrock servers are sized like vanilla servers, because Bedrock uses add-ons instead of Java mods. Crossplay servers start at 4 GB. On a plugin server, 10 to 25 plugins add 1 GB, 25 to 50 add 2 GB, 50 to 100 add 3 GB and more than 100 add 4 GB.
The Advanced settings make the estimate more specific. The player allowance assumes the default view distance of 10 chunks: at 16 chunks it is about 1.7 times as large, and at 6 chunks about 0.7 times. Farms and redstone add 1 GB, a web map 1 GB and every extra world, such as a creative or resource world, another 1 GB. On a modded server, 100 to 200 mods add 1 GB and more than 200 add 2 GB. Room to grow puts a quarter on top of the total, for a world that will keep growing for months.
Minecraft server RAM requirements at a glance
| Players online | Vanilla | Plugins | Modded | Modpack |
|---|---|---|---|---|
| 2 to 5 | 4 GB | 5 GB | 8 GB | 13 GB |
| 6 to 10 | 6 GB | 7 GB | 10 GB | 18 GB |
| 11 to 20 | 9 GB | 12 GB | 15 GB | 28 GB |
| 21 to 30 | 12 GB | 17 GB | 20 GB | 38 GB |
| 31 to 50 | 19 GB | 27 GB | 30 GB | 58 GB |
| 51 to 75 | 27 GB | 40 GB | 43 GB | 83 GB |
| 76 to 100 | 36 GB | 52 GB | 55 GB | 108 GB |
Modpacks vary the most. The Modpack column is for a large kitchen-sink pack of around 300 mods, which starts at 8 GB. A light modpack of about 100 mods starts at 6 GB, a pack of about 200 mods at 7 GB and an expert pack at 10 GB, each plus 1 GB per player. If the modpack's own page recommends a server size, use whichever number is higher.
How to tell if your Minecraft server needs more RAM
- The server freezes for a second every now and then, and then catches up.
- The console shows out of memory errors, or the server stops by itself.
- The panel shows memory usage at the maximum all the time.
If the lag comes with high CPU usage instead, the cause is the processor or something on the server, such as a farm or a plugin, not the memory.


