Minecraft Server RAM Calculator

Pick your server type, how many players will be online at the same time and your view distance. You get a recommended RAM size and the monthly price of that much RAM at each host we compare.

Free · runs in your browser · how we estimate

Your server

The default is 10. Lower values use much less RAM.
Recommended RAM—
Cheapest at this size—

Hosts for this server, cheapest first

How much RAM does a Minecraft server need?

RAM holds the loaded world, the players and everything they do, plus the server software and any mods or plugins. Hosts sell plans by RAM, so it’s the first number to get right: too little causes lag spikes and crashes, while too much wastes money without making the server faster.

This table uses the same rule of thumb as the calculator, at the default view distance of 10:

Players onlineVanillaPaper / Spigot with pluginsLight modpackLarge modpackBedrock Dedicated Server
5 players 3 GB5 GB4 GB6 GB1 GB
10 players 4 GB6 GB5 GB8 GB2 GB
20 players 6 GB8 GB8 GB10 GB3 GB
30 players 8 GB10 GB8 GB10 GB4 GB
50 players 10 GB12 GB10 GB12 GB6 GB
100 players 16 GB16 GB16 GB24 GB10 GB

“Paper / Spigot with plugins” assumes 20 plugins. Rounded up to common plan sizes.

How the calculator works

  1. Start from the server type. A modern vanilla or Paper server needs about 2.5–3 GB for a handful of players. Light modpacks start at 4 GB and large 1.17+ modpacks at 6 GB. The official Bedrock server starts at 1 GB.
  2. Add players. About 1 GB for every 5 players above 5, up to 20 players. Beyond that, each extra GB covers about 10 more players, because the world and the server software are shared.
  3. Add plugins. About 1 GB per 10 plugins on Paper or Spigot. Heavy plugins (Dynmap, big economy or minigame plugins) use more.
  4. Adjust for view distance. Every chunk of view distance above 10 adds about 5%. Dropping to 8 or less saves about 10%.
  5. Round up to the next plan size hosts actually sell.

These rules follow the guidance hosts publish for their customers; for example, Shockbyte recommends 3 GB for 1.17+ vanilla or Paper plus 1 GB per 5 extra players and per 10 plugins, and 4–6 GB for modpacks. Your server may need more if players build huge redstone farms or explore far and wide.

Ways to use less RAM

  • Run Paper or Purpur instead of vanilla. They handle the same players with less memory and CPU.
  • Lower view-distance and simulation-distance to 6–8. Use the server.properties generator.
  • Pre-generate the world with a plugin such as Chunky, so new chunks aren’t generated while people play.
  • Use Aikar’s flags so Java’s garbage collector doesn’t pause the server. Get them from the Aikar’s flags generator.
  • Remove plugins and mods you don’t use.

RAM isn’t everything

Most lag on busy servers comes from the CPU, not RAM: Minecraft runs most of the world on one main thread, so a fast modern CPU matters more than an extra few gigabytes. When you compare hosts, check which CPU they use as well as the price per GB. Our host comparison lists the hardware each host publishes.

Frequently asked questions

How much RAM does a Minecraft server need?
A small vanilla or Paper server for up to 5 friends needs about 3 GB on current versions (2 GB can work for very old versions or tiny worlds). Add about 1 GB for every 5 more players and about 1 GB per 10 plugins, and start modded servers at 4–6 GB. Big modpacks often list their own recommended RAM, which you should follow.
Is more RAM always better?
No. Past what the server actually uses, extra RAM does nothing, and very large Java heaps can make garbage-collection pauses longer. CPU speed matters more than RAM for most lag. Size RAM to your players and mods, then upgrade if the server runs short.
How much RAM for a modded Minecraft server?
Light modpacks (up to about 100 mods, or packs for 1.12 and earlier) usually need 4–5 GB. Large 1.17+ modpacks need 6–8 GB or more, plus about 1 GB for every 5 extra players.
How much RAM does a Bedrock server need?
The official Bedrock Dedicated Server is lighter than Java. 1–2 GB is enough for a handful of players; larger worlds and more players need 3–4 GB.
What happens if my server doesn’t have enough RAM?
You’ll see lag spikes, slow chunk loading and, in the worst case, crashes with an “OutOfMemoryError” in the console. Lower the view distance, remove heavy mods or upgrade your plan.