How Many Players Can a 4 GB Minecraft Server Hold?
Published
Short answer: a 4 GB Minecraft server usually holds about 10 to 20 players on Paper with a pre-generated world, fewer on plain vanilla, and only 2 to 5 on most modpacks. There's no fixed number because RAM doesn't hold players, it holds loaded chunks and entities. Ten friends standing in one base cost far less than ten players flying off in ten directions. Past a point the limit isn't RAM at all, it's the server's main thread on one CPU core.
Most results for this search give one number ("4 GB = 20 players") with no setup behind it. This post shows where the numbers come from, gives ranges for each size, and lists the exact settings that move them, so you can size your own server instead of guessing.
Players per GB: starting points
These are common starting points for a group that plays together, not results from one benchmark. Your mods, plugins and play style move them in both directions.
| RAM | Vanilla / Paper (no mods) | Light Fabric or Forge mod list | Modpack (1.18+) |
|---|---|---|---|
| 3 GB | 5 to 10 players | 2 or 3 friends | Too small for most packs |
| 4 GB | 10 to 20 players | 2 to 5 players | Light or older packs, 2 or 3 players |
| 6 GB | 20 to 30 players | 6 to 10 players | 2 to 5 players on most packs |
| 8 GB | 30 to 40 players | 10+ players | 6 to 10 players on mid-size packs |
| 10 to 12 GB | 40+ players, if the CPU keeps up | Large mod lists | 6 to 10 players on kitchen-sink packs (ATM10, Vault Hunters) |
For modpacks the number that matters most is the pack's own base load, before anyone joins. A big pack can use 4 to 5 GB just sitting at spawn. Our modpack RAM guide has per-pack sizes, and the Cobblemon RAM post shows a measured idle read on a real Cobblemon server.
Why "players per GB" isn't a fixed number
Each player keeps a square of chunks loaded around them. The side of that square is 2 × view-distance + 1 chunks:
| view-distance | Chunks loaded per player (on their own) |
|---|---|
| 10 (the default) | 21 × 21 = 441 |
| 8 | 17 × 17 = 289 |
| 6 | 13 × 13 = 169 |
So two things decide memory use far more than the head count:
- How spread out players are. Players near each other share most of their chunks. Ten players in one town might load 600 chunks. Ten players exploring in different directions can load over 4,000.
- View distance. Dropping from 10 to 6 cuts the chunks per player by more than half.
Then come entities (mobs, item frames, dropped items, villagers), and for modded servers, machines, pipes and modded mobs. A 200-villager trading hall or a big mob farm can use more than several players do.
RAM vs CPU: which one runs out first
Minecraft runs the world on one main thread. Every tick (20 a second) it has 50 ms to update every loaded chunk, mob, redstone circuit and machine. When a tick takes longer than 50 ms, the server drops below 20 TPS and everyone feels lag, even with gigabytes of free memory.
That's why adding RAM often doesn't fix lag on a busy server. Signs you're short on RAM: memory stays near full after garbage collection, long pauses, and OutOfMemoryError in the log. Signs you're short on CPU: TPS falls when players spread out or a farm runs, while memory has room to spare.
Check both with spark:
/spark tps
/spark health show --memory
/spark tps shows TPS and MSPT (milliseconds per tick). Under 50 MSPT means the main thread keeps up. If MSPT is high, run /spark profiler start --timeout 300 while players are on, and the report names what's using the tick.
Settings that let you fit more players
All of these are in the files your server already has. Change one at a time and watch /spark tps after each.
server.properties
view-distance=10(default): try8, or6on a modded server. Players still see terrain loaded around them, just less far.simulation-distance=10(default): try6. This is how far from a player mobs move and crops grow. Lowering it saves a lot of CPU.max-players=20(default): this is only a cap on joins, not a performance setting. Raising it doesn't make the server handle more.
Paper: config/paper-world-defaults.yml
chunks.delay-chunk-unloads-by: 10s(default): keeps chunks loaded for a while after players leave them. A lower value frees memory sooner; too low and chunks reload over and over.entities.spawning.per-player-mob-spawns: true(default): keeps mob counts spread fairly across players. Leave it on.environment.optimize-explosions: false(default): settrueif players blow up a lot of TNT.hopper.cooldown-when-full: true(default): leave on. Hoppers are a common lag source on survival servers.
Paper and Spigot: spigot.yml (under world-settings > default)
entity-activation-range: defaults areanimals: 32,monsters: 32,raiders: 64,misc: 16,water: 16,villagers: 32. Mobs outside these ranges tick less often. Loweringanimalsandvillagershelps servers with big farms and trading halls.merge-radius.item: 0.5(default): raising it a little (to2.5, for example) merges dropped items into fewer entities.
Pre-generate the world. Generating new chunks is one of the heaviest things a server does. Pre-generating a fixed area with Chunky before players arrive, and setting a world border, removes most of the lag from exploring. On modded servers this matters even more, because modded world generation is slower.
Use Paper (or Fabric with Lithium) instead of the vanilla jar. Paper's changes to chunk loading and entity ticking are why it holds more players than vanilla on the same RAM. For Fabric, the Lithium and FerriteCore mods do a similar job.
How to size your own server
- Start from the pack. Use our RAM calculator: pick your pack or server type and the number of players online at the same time.
- Count peak players online together, not everyone on your Discord. A group of 15 friends rarely has more than 6 online at once.
- Add room if players spread out, if you play a pack with big machines, or if the world isn't pre-generated.
- Run it for a week and read
/spark healthat peak time. If memory stays well under the limit and TPS is 20, you're sized right. If TPS drops while memory has room, more RAM won't help: lowersimulation-distanceand find the lag source first.
A server you can resize as your group grows on Packyard
Packyard charges per GB of RAM, so you pay only for the size your group needs: $1.50 per GB per month, with a $5 minimum (up to 3 GB). Our pick for a vanilla Paper server is 3 GB for a small group, and more players usually need a bigger size. A 3 GB Paper server is $5 a month, 4 GB is $6, 6 GB is $9 and 8 GB is $12 (USD, plus applicable taxes). The order page shows which sizes are in stock right now.
Every plan includes backups you can make yourself, the modpack installer, your own address (renamable), SFTP, sub-users for friends who help run it, a one-click plugin installer for Paper and DDoS protection. Every player needs Minecraft: Java Edition, signed in with a Microsoft account. Open to the US & Canada (outside Quebec). See how the per-GB price compares with other hosts on our price per GB page, or read more on Minecraft server hosting.
Start a Paper server, 3 GB for $5 a month
Minecraft is a trademark of Mojang Synergies AB. Packyard is not affiliated with Mojang or Microsoft.
FAQ
How many players can a 4 GB Minecraft server hold?
Usually about 10 to 20 on Paper with a pre-generated world, fewer on the vanilla jar, and 2 to 5 on most modpacks. Players who stay close together use much less than players exploring in different directions.
How much RAM do I need for 10 players?
For Paper or vanilla, 4 GB is a comfortable start. For a light mod list, about 6 GB. For a modpack, check the pack's own size first: most 1.18+ packs need 8 GB or more for 6 to 10 players.
How many players can a 2 GB Minecraft server hold?
A handful on Paper, around 3 to 5, with a lower view distance. It's too small for almost every modpack.
Does more RAM mean more players?
Only up to a point. RAM decides how many chunks and entities fit in memory. The main thread on one CPU core decides whether the server keeps 20 TPS, and past that point extra RAM doesn't help.
Does max-players in server.properties affect performance?
No. It's only the cap on how many people can join. Performance depends on what those players load and do.
How much RAM per player does a Minecraft server need?
There's no fixed amount, because players share chunks when they're close together. On modded servers, a common rule of thumb is about 1 GB for every 3 extra players.
More guides and posts on the Packyard blog.