How to convert Overworld coordinates to Nether coordinates
One block walked in the Nether covers eight blocks in the Overworld, but only sideways. To find where a portal's partner belongs, change X and Z and leave the height alone:
| Going from | X and Z | Y |
|---|---|---|
| Overworld to Nether | Divide by 8, round down | Stays the same |
| Nether to Overworld | Multiply by 8 | Stays the same |
Round down means toward the lower number, so an Overworld X of -1 becomes -1 in the Nether, not 0. Each Nether
block stands for a square of 8 by 8 Overworld blocks, and the calculator lists that square under the result. To read your coordinates,
press F3 in Java Edition (Fn+F3 on some laptops) or switch on Show Coordinates in the game settings in Bedrock Edition.
Worked example
Your base portal stands at X 1200, Y 64, Z -840 in the Overworld.
- 1200 divided by 8 is 150, so the Nether X is 150.
- -840 divided by 8 is -105, so the Nether Z is -105.
- Y stays at 64.
Build the Nether portal at X 150, Y 64, Z -105. Now walk 100 blocks east in the Nether to X 250 and build another portal there. It comes out at Overworld X 2000, which is 800 blocks from home for 100 blocks of walking.
How the game decides which portal you come out of
Portals are not saved as pairs. Every time you step through, the game converts your position and then looks around that spot in the other dimension for a lit portal. How far it looks depends on the edition:
| Edition | Arriving in the Nether | Arriving in the Overworld |
|---|---|---|
| Java Edition | 16 blocks | 128 blocks |
| Bedrock Edition | 128 blocks | 128 blocks |
The range runs along X and Z from the converted spot, and every height is searched. If several lit portals are in range, the closest one wins, and that distance counts height too. A portal 3 blocks to the side but 60 blocks above you loses to one 20 blocks away on your own level. If no portal is in range, the game builds a new one within 16 blocks sideways of the converted spot, at whatever height has room.
The 16 block figure dates from Java Edition 1.16.2. Before that, Java also searched 128 blocks in the Nether, which is 1024 blocks in the Overworld. That is why older guides tell you to keep Overworld portals 1024 blocks apart. On Bedrock Edition that spacing still applies, as of October 2026. The Minecraft Wiki documents the full search on its Nether portal page.
How to make two portals link reliably
- Build and light the first portal, stand inside it and note X, Y and Z.
- Enter the numbers above and write down the result.
- Go through. You arrive at a portal the game found or built. A new one can be up to 16 blocks off to the side and at any height.
- Travel to the calculated X and Z, at the same Y if the terrain allows, then build and light a second portal there.
- If the game built a portal you do not want, break one obsidian block from its frame. Its purple blocks vanish, and a portal that is not lit cannot be picked.
- Test the trip in both directions. A Survival player has to stand in the portal for 4 seconds.
A portal on the exact converted spot is closer than any other portal can be. That is how you run several pairs close together, for example a base, a farm and a village all inside 128 blocks: give each one its own partner on the calculated coordinates, at a matching height.
Common mistakes
- Dividing Y. Height is never scaled. Below the Nether's bedrock ceiling, a full portal frame fits between Y 6 and Y 119, because bedrock sits at Y 0 to 4 and Y 123 to 127. If your Overworld portal is lower or higher than that, the calculator gives the nearest height that fits. Lava seas fill the Nether at Y 31 and below, so dig toward a low spot carefully.
- Rounding negative numbers toward zero. -100 divided by 8 is -12.5, which rounds down to -13, not -12.
- Lighting a second portal nearby and expecting a new exit. Inside the ranges in the table, it reuses the portal that is already on the other side.
- Trusting the portal the game built. It can sit far enough from the converted spot that the trip back finds a different portal. Rebuild it on the exact coordinates.
- Standing in a portal on a server and nothing happens. On a Java server the Nether can be switched off. As of October
2026 that is the game rule
allow_entering_nether_using_portals, so an operator runs/gamerule allow_entering_nether_using_portals true. If the command is not recognized, your version spells the ruleallowEnteringNetherUsingPortals, the name it had when it was added in 1.21.9. Servers older than 1.21.9 setallow-nether=trueinserver.propertiesinstead, the file the server.properties generator writes for you.
More calculators and generators for server owners are on the tools page.
Sources
The data and rules in this tool were last checked on against:
- Nether Portal: coordinate conversion, portal search and portal creation (Minecraft Wiki)
- Tutorial: Nether portals, on pairing portals by hand (Minecraft Wiki)
- The Nether: bedrock layers, lava sea level and build limits (Minecraft Wiki)
- Coordinates: how to show X, Y and Z in each edition (Minecraft Wiki)
- Game rule: allow_entering_nether_using_portals (Minecraft Wiki)