How to Fix Minecraft Server Lag: Free TPS and RAM Calculator With server.properties Values
This guide explains how to fix Minecraft server lag with numbers, not guesses. Enter your player count, server software, plugins or mods, allocated RAM and current TPS in the free calculator. It returns the RAM you need, the view distance and simulation distance to set, and a ready-to-copy block for server.properties and the start command.
A Minecraft: Java Edition server runs the world in ticks, 20 every second. When one tick takes longer than 50 milliseconds, the server falls behind, and players see blocks reappear, mobs freeze and doors open late. That is server lag, and it is caused by the server’s processor, its settings or its memory, not by your frame rate. The sections below show how to measure it, find the cause and fix it on vanilla, Paper, Fabric, Forge and NeoForge servers.

Table of Contents
How to Fix Minecraft Server Lag With the Calculator
The calculator turns the question of how to fix Minecraft server lag into six numbers you already know.
- Players online at peak. The busiest hour, not the average. Every player loads and simulates their own area of the world.
- Server software. Vanilla, Paper, Fabric or a Forge or NeoForge modpack. Modded servers need more memory and smaller distances.
- Plugins or mods. Each one adds memory use and tick time.
- RAM allocated. The -Xmx value in your start command, or the plan size at your host.
- Current TPS. Measure it with the commands in the next section. The lower it is, the harder the calculator cuts.
- Where it runs. Adds advice for home PCs and rented hosts.
Copy the block at the bottom of the result into server.properties and your start script, restart the server, and measure again.

What Minecraft Server Lag Is: TPS and MSPT
Three different problems get called lag in Minecraft. Only one of them is the server.
| Type | What players see | Who is affected | Cause |
|---|---|---|---|
| Server lag (low TPS) | Blocks reappear, mobs freeze, slow furnaces and crops | Everyone at once | The server cannot finish ticks in time |
| Network lag (high ping) | Rubber-banding, delayed hits | One player, or players in one region | The connection between player and server |
| Client lag (low FPS) | Choppy picture | One player | That player’s own PC |
TPS is ticks per second. The target is 20. MSPT is milliseconds per tick, the time the server spends on each tick. The budget is 50 milliseconds, because 20 ticks of 50 milliseconds fill one second. MSPT is the better number: a server at 20 TPS and 48 MSPT is one busy farm away from lagging, and TPS alone will not show that.
Milliseconds per tick at each TPS level
The budget is 50 ms. Everything above it is lag
How to check TPS and MSPT
| Server | Command | What it shows |
|---|---|---|
| Vanilla, 1.20.3 and later | /tick query | Target tick rate, average and percentile tick times |
| Paper and forks | /tps | TPS over 1, 5 and 15 minutes |
| Paper and forks | /mspt | Average, minimum and maximum tick time |
| Paper and forks | /spark profiler start | Records which plugins, entities and chunks use the tick |
| Vanilla dedicated server | /perf start | A 10-second performance report saved to the debug folder |
Run these from the server console or as an operator in game, at the busiest time of day.
How to Fix Minecraft Server Lag in server.properties
The fastest answer to how to fix Minecraft server lag is two lines in server.properties. They decide how much of the world the server has to run for each player.
| Key | Default | Recommended | What it does |
|---|---|---|---|
| simulation-distance | 10 | 4 to 8 | Radius in chunks where mobs move, crops grow and redstone runs. The largest lever on TPS |
| view-distance | 10 | 5 to 10 | Radius in chunks sent to players. Affects memory, network and chunk loading |
| network-compression-threshold | 256 | 256 | Packet size above which data is compressed. Leave it |
| sync-chunk-writes | true | false | Stops chunk saves from blocking the tick on slow drives |
| entity-broadcast-range-percentage | 100 | 75 to 100 | How far away entities are sent to players |
| max-players | 20 | Your real peak plus a few | Does not affect lag by itself |
- Stop the server.
- Open server.properties in the server folder with a text editor.
- Change simulation-distance first. Each step down removes a ring of chunks from every player’s simulated area.
- Change view-distance second. Keep it equal to or higher than simulation-distance.
- Save the file, start the server and measure TPS at peak time.
Chunks simulated per player at each simulation distance
A distance of 10 means a square 21 chunks wide
Dropping simulation distance from 10 to 6 cuts the simulated area per player by 62 percent, and players barely notice, because view distance still shows them the far terrain. Both keys accept values from 3 to 32.
| Players online | view-distance | simulation-distance |
|---|---|---|
| 1 to 10 | 10 | 8 |
| 11 to 20 | 8 | 6 |
| 21 to 40 | 7 | 5 |
| 41 to 80 | 6 | 4 |
| Over 80 | 5 | 4 |

How Much RAM a Minecraft Server Needs
Too little RAM causes lag spikes. So does far too much, because the Java garbage collector has more to clean in each pause.
| Server | Players | RAM |
|---|---|---|
| Vanilla or Paper, few plugins | 1 to 10 | 2 to 4 GB |
| Paper with 20 to 40 plugins | 10 to 30 | 4 to 6 GB |
| Paper with 40 or more plugins | 30 to 60 | 6 to 10 GB |
| Light modpack, up to 100 mods | 1 to 10 | 4 to 6 GB |
| Large modpack, 150 mods or more | 5 to 20 | 8 to 12 GB |
Set the minimum and maximum heap to the same value in the start command, so Java takes its memory once and does not resize it:
java -Xms6G -Xmx6G -jar server.jar nogui
- -Xms is the starting heap and -Xmx is the maximum. Use the same number for both.
- Leave 1 to 2 GB of the machine’s memory for the operating system. On an 8 GB machine, give the server 6 GB at most.
- Current 26.x versions of Minecraft: Java Edition run on Java 25. Versions 1.20.5 to 1.21.x need Java 21. The wrong Java version stops the server from starting.
- Java’s default G1 garbage collector suits Minecraft. You do not need a long list of extra flags to fix lag.

Find What Is Lagging the Server
Settings buy headroom. To really fix lag you have to find what is using the tick. On most servers one or two things use more than half of it.
| Cause | Sign | Fix |
|---|---|---|
| Mob and item farms | Hundreds of entities in one chunk | Limit mobs per chunk, add a kill switch, collect items in water streams |
| Hoppers | Long hopper lines under farms | Put a container on top of each hopper, or use water streams and fewer hoppers |
| Redstone clocks | Lag stops when one player logs off | Add an off switch, slow the clock |
| Chunk generation | Lag when players explore or fly with elytra | Pre-generate the world and set a world border |
| A heavy plugin or mod | One name at the top of the profiler | Update it, configure it or replace it |
| Villager trading halls | Dozens of villagers pathfinding | Keep each villager in a one-block cell with its workstation |
| Slow processor | High MSPT with few players and no farms | Move to a host or PC with faster single-core speed |
- On Paper, run /spark profiler start at peak time.
- Wait five minutes, then run /spark profiler stop.
- Open the report link it prints. Expand the server thread and read down the largest percentages.
- If one plugin tops the list, that is your cause. If entity ticking tops it, find the chunk with the most entities.
- Fix that one thing and profile again.
Minecraft runs most of the world on one processor thread. That is why a server with sixteen slow cores lags and one with four fast cores does not. When you compare hosts, ask about single-core speed.

Paper, Pre-Generation and Other Lasting Fixes
- Use Paper for a survival server. Paper is server software that runs vanilla worlds and Bukkit plugins with heavily optimised chunk loading and entity handling. Moving from vanilla usually only means replacing the server jar.
- Pre-generate the world. Generating new terrain is the heaviest thing a server does. A pre-generation plugin such as Chunky builds the map in advance, while nobody is playing.
- Set a world border. Use /worldborder set 10000 for a 10,000-block-wide world. It stops endless exploration and keeps the save small.
- Restart daily. A scheduled restart at a quiet hour clears memory that plugins leak.
- Keep everything updated. Server software, plugins and Java all receive performance fixes.
- Fabric servers: add server-side optimisation mods such as Lithium, which speeds up game logic without changing behaviour.
If the server software crashes on start after you change memory flags, the Minecraft exit code analyzer explains the code it prints.
Hosting a Server on Your Own PC
A server on the same PC you play on shares everything with the game.
- Give the server no more than half the PC’s RAM. With 16 GB, allocate 4 to 6 GB.
- Use a wired connection. Friends connect through your upload, and Wi-Fi adds packet loss for all of them.
- Allow about 0.5 Mbps of upload per player.
- Lower the game client’s own render distance, since the client and server compete for the same processor.
- If the server lags only when you play on it, the processor is the limit. Run the server on a second PC or a rented host.
How to Fix Minecraft Server Lag: Worked Example
Here is how to fix Minecraft server lag on a typical community server. A Paper server with 40 players, 35 plugins and 8 GB of RAM runs at 15 TPS in the evening. The calculator returns view-distance 6, simulation-distance 5 and about 8 GB of RAM, so memory is fine. The owner sets both distances and restarts: TPS rises to 18. A five-minute profile then shows one iron farm with 400 golems in a single chunk. With a mob cap on that farm, the server holds 20 TPS at 41 MSPT.
About Minecraft
Minecraft is a sandbox game developed by Mojang Studios, part of Microsoft. Minecraft: Java Edition is the version used for community servers, and it moved to year-based version numbers in 2026, starting with 26.1.
A Java Edition server can run the official vanilla software or community software such as Paper, Purpur, Fabric, Forge and NeoForge. All of them read the same server.properties file and run on the Java Virtual Machine.
The Minecraft server lag calculator on this page is free to use, and we update it when the game changes its numbers.
Official page: Minecraft: Java Edition server download, the official page.
Related Calculators
If this Minecraft server lag calculator helped, these free tools work the same way.
- Minecraft exit code analyzer
- Minecraft recording lag fix
- How to fix FPS drops
- Discord lag fix
- Best game settings hub
- All free gaming and tech calculators
New this month: FPS drop fixer, Marvel Rivals lag fixer, Discord lag fixer, Minecraft recording settings generator.
Frequently Asked Questions
Quick answers about Minecraft and the Minecraft server lag calculator.
How do I fix Minecraft server lag?
Measure TPS with /tick query or /tps. If it is below 20, lower simulation-distance and view-distance in server.properties, make sure the server has enough RAM, pre-generate the world and profile the server to find heavy farms or plugins.
What is a good TPS for a Minecraft server?
20 TPS is the target and the maximum. 18 to 20 is fine. Below 15, players notice delayed blocks and slow mobs.
What is MSPT in Minecraft?
Milliseconds per tick: the time the server needs for one tick. The budget is 50 ms. Above 50 ms the server cannot hold 20 TPS.
How much RAM does a Minecraft server need?
2 to 4 GB for up to 10 players on vanilla or Paper, 4 to 6 GB for 10 to 30 players with plugins, and 8 to 12 GB for large modpacks.
Does more RAM fix Minecraft server lag?
Only if the server was short of memory. Most lag comes from the processor running too many entities, chunks or redstone. Extra RAM does not help that.
What is the difference between view distance and simulation distance?
View distance is how far chunks are sent to players. Simulation distance is how far mobs, crops and redstone are active. Simulation distance has the bigger effect on TPS.
Is Paper better than vanilla for lag?
Yes. Paper runs the same game with optimised chunk and entity handling and usually holds a much higher TPS with the same players.
Is the Minecraft server lag calculator free?
Yes. It runs in your browser and needs no sign-up.
More Lag and FPS Fixes
Every guide starts with a free diagnoser. See them all on the fix lag and FPS drops hub.
Axee Davies is the founder of AxeeTech, publishing gaming guides, codes, and Windows how-tos since March 2013. A tech enthusiast for 13+ years — starting with smartphones and Android rooting — he now runs a site that puts out a new guide every day for Roblox players, traders, and Windows users. More about AxeeTech
More Games You May Like
Blue Lock Rivals 8v8 Update: New Modes, Codes, and Strategies for 2026
Crane in Steal An Egg: How to Get It and Use It
Best Anti Aliasing Setting: Free Picker for DLAA, TAA, FXAA, MSAA, SMAA and FSR Native
How to Fix Recording Lag in Minecraft: Free OBS Settings Generator by GPU
How to Fix Discord Lag: Free Fixer for App, Voice, Stream and In-Game Lag (Step by Step)
How to Fix Marvel Rivals Lag: Free FPS vs Ping Diagnoser With the Right Fix List
How to Fix FPS Drops: Free Diagnoser Finds the Cause in 7 Answers (CPU, GPU, Heat or Windows)
Best R6 Settings: Free Sensitivity Converter and Graphics Generator for Siege X (2026 Guide)