Nether portal calculator: convert Overworld and Nether coordinates
Convert coordinates between the Overworld and the Nether in a single click. The calculator below works out the exact portal position, generates /tp commands and shows how many blocks you save by traveling through the Nether instead of running across the surface.
/tp @p 0 64 0/tp @p 0 64 0Enter the coordinates of a second point to see how many blocks you save by traveling through the Nether.
The Y coordinate is not converted: it is independent in both dimensions. In the Nether, the best height for a portal is Y 15-120 (the bedrock ceiling is at Y 127 and the floor at Y 0). Minecraft rounds coordinates down (floor) when converting from the Overworld to the Nether.
When you step through a portal, the game looks for an existing portal within 128 blocks (in the Nether) or 1,024 blocks (in the Overworld) of the calculated coordinates. If it finds none in that range, it generates a new one. That is why it pays to build your Nether portals as close to the calculated spot as you can.
The ideal Y level for a Nether portal is Y 15-30: you avoid the lava at lower levels and have easy access to bastions and fortresses. If you are building a portal hub, put it at Y 120, just under the bedrock ceiling and above the lava lake. That height is safe, and tunnels are easy to dig.
How Nether portals work
A Nether portal is a frame of obsidian blocks (at least 4x5) lit with flint and steel. Step into it and you travel from the Overworld to the Nether, or back. The key rule of portal mechanics is the 8:1 distance ratio: one block traveled in the Nether equals eight blocks in the Overworld. That makes the Nether very handy for crossing long distances quickly.
Say your base is at X=0, Z=0 and you want to reach a village at X=2400, Z=800. The straight-line distance is over 2,500 blocks. But if you build a portal at your base and a second one in the Nether at X=300, Z=100 (that is 2400/8 and 800/8), then leave the Nether through it, you come out at the village. The whole trip through the Nether is only about 316 blocks instead of 2,500. You save 87.5% of the distance.
Coordinate conversion formula
Converting Overworld coordinates to the Nether is simple. Take the X and Z coordinates from the Overworld and divide them by 8, rounding down. The Y coordinate is not converted: it is independent in both dimensions.
- Overworld → Nether: Nether X = floor(Overworld X / 8), Nether Z = floor(Overworld Z / 8)
- Nether → Overworld: Overworld X = Nether X × 8, Overworld Z = Nether Z × 8
The game uses the floor() function (rounding down), so negative coordinates behave a bit
differently than you might expect. For example, floor(-10 / 8) = -2, not -1. The
calculator handles this automatically.
Portal search range: 128 blocks
When you step through a portal, Minecraft does not teleport you to the exact converted coordinates. Instead, the game looks for the nearest existing portal within a set radius of the calculated position:
- In the Nether: the search radius is 128 blocks (in the XZ plane)
- In the Overworld: the search radius is 1,024 blocks (128 × 8)
If the game finds an existing portal in that range, it sends you there, even if it is not in the ideal position. If it finds none, it generates a new one at the nearest safe spot it can. That is why portals sometimes "link" to the wrong portals or show up in unexpected places.
To avoid linking problems, always build the Nether portal by hand at the exact calculated position. Do not rely on automatic generation: the game may place the portal somewhere else if the calculated position is dangerous (for example, in lava).
Best Y level for a Nether portal
The Y coordinate does not affect portal linking, but it matters a lot for safety:
- Y 15-30: Safe and practical. Most of the lava is at Y 31 and below, but at this level you have access to bastions and Nether fortresses.
- Y 120: Just under the bedrock ceiling (the ceiling is at Y 127). Ideal for portal hubs: safe, no mobs, easy to dig tunnels.
- Avoid Y below 15: The lava sea in the Nether is at Y 31, and lower down it is very easy to run into numerous lakes of lava.
- Avoid Y 32-60: Lots of open space with ghasts and magma cubes. Possible, but harder to secure.
How to build a Nether portal hub
A portal hub is a central base in the Nether with tunnels branching off to different portals. It is one of the most powerful transport systems in Minecraft, especially on multiplayer servers. Here is a proven way to build one:
- Pick a central point, ideally above your Overworld base. Calculate the Nether coordinates for your base and build the main portal there.
- Build the hub at Y 120, just under the bedrock ceiling. It is safe at this level and easy to dig tunnels through obsidian/netherrack.
- Dig tunnels 2 blocks wide and 3 blocks tall toward each destination. Line the floor with stone bricks or obsidian so ghasts cannot shoot through the walls.
- Label the tunnels with signs showing the Overworld coordinates each portal leads to. Put a sea lantern or torches next to every portal.
- Protect the portals: wall them in with cobblestone or nether brick casings so ghasts cannot put the portal out with a fireball.
On servers with many players, a portal hub saves hours of travel. A distance of 10,000 blocks in the Overworld is only 1,250 blocks in the Nether: a few minutes on foot instead of a dozen or more.
Common Nether portal problems
The portal leads somewhere unexpected
This is usually caused by automatic portal generation. The game tries to place the portal in a safe spot, which may be far from the calculated position. Fix: break the automatically generated portal and build a new one by hand, exactly at the coordinates from the calculator.
Two Overworld portals lead to the same Nether portal
If your Overworld portals are closer than 1,024 blocks to each other, their converted Nether coordinates can point to the same portal (within 128 blocks). Fix: build an extra portal in the Nether by hand, at the converted coordinates of the second Overworld portal.
The Nether portal does not link to the Overworld portal
Make sure the Nether portal is at the exact converted position. Check whether another portal within 1,024 blocks in the Overworld is "intercepting" the connection. As a last resort, break all the portals in the area and rebuild them at the correct coordinates.
Nether travel tips
- Always carry flint and steel (or a fire charge): a ghast can put out your portal with a fireball, and flint and steel lights it again.
- Wear golden armor (even a single piece) and piglins will not attack you.
- When you build tunnels at Y 120, you can lay rails and minecarts for even faster transport.
- Use Nether highways: ice roads with boats can reach speeds of over 70 blocks per second.
- Remember that beds explode in the Nether. Use a respawn anchor to set your respawn point.
Frequently asked questions
How do I convert Overworld coordinates to the Nether?
Divide the X and Z coordinates from the Overworld by 8. The Y coordinate stays the same. For example, X=800, Z=400 in the Overworld corresponds to X=100, Z=50 in the Nether. The calculator does this automatically and generates /tp commands.
What is the best Y level for a Nether portal?
The best Y level in the Nether is Y 15-30 (safely above the lava, with access to structures) or Y 120 (just under the bedrock ceiling, ideal for portal hubs). Avoid anything below Y 15, where lava is common.
How far does the game search for a portal in the Nether?
Minecraft looks for an existing portal within 128 blocks in the Nether and 1,024 blocks in the Overworld of the converted position. If it finds none in that range, it generates a new one.
Why don't my portals link up properly?
Portals can link wrongly when they are too close together (both within the search radius), when the Nether portal is not built at the calculated spot, or when an automatically generated portal missed the exact coordinates. Use the calculator and build the portal by hand at the calculated position.
Does the Y coordinate affect portal linking?
Yes, but less than X and Z. The game searches the full height range (Y 0-256 in the Overworld, Y 0-128 in the Nether) but prefers portals at a similar height. So it is worth building the portal at a level close to the calculated one.