This nether portal calculator converts coordinates between the Overworld and the Nether in both directions, so you know exactly where to build the second portal. It also checks which of your portals will link to each other in Java or Bedrock, warns you about one-way links, and counts the obsidian for any frame from 4 ร 5 to 23 ร 23.
The calculator also gives you a ready /execute in โฆ run tp command, so you can jump to the exact spot in a creative or test world before you build in survival. For /give, /effect, /summon and /fill in any version, try our Minecraft command generator.
One block in the Nether equals eight blocks in the Overworld, but only on the X and Z axes. Divide Overworld X and Z by 8 to get the Nether position. To go back, multiply Nether X and Z by 8. The Y coordinate is not scaled.
Nether X = floor(Overworld X รท 8) ยท Nether Z = floor(Overworld Z รท 8) ยท Overworld X = Nether X ร 8
The game rounds down (floor), not toward zero. That matters for negative numbers: โ100 รท 8 = โ12.5, which rounds down to โ13, not โ12. Many quick calculators get this wrong and send you one block off.
| Overworld X, Z | Nether X, Z | Note |
|---|---|---|
| 0, 0 | 0, 0 | World center matches |
| 1,000, โ480 | 125, โ60 | Exact multiples of 8 |
| 1,003, โ485 | 125, โ61 | โ485 รท 8 = โ60.6, rounds down to โ61 |
| โ100, 250 | โ13, 31 | Floor of โ12.5 is โ13 |
| 8,000, 8,000 | 1,000, 1,000 | 1,000 Nether blocks = 8,000 Overworld blocks |
Because eight Overworld blocks map to one Nether block, all 64 Overworld columns from 1,000โ1,007 X and โ480 to โ473 Z lead to the same Nether block. That is why two Overworld portals only a few blocks apart always share one Nether portal.
A portal does not remember its partner. Every time you step through, the game converts your position, searches a square area around that point for the nearest portal in the other dimension, and sends you there. If nothing is in range, it builds a new portal near the target.
| Search area | Java Edition | Bedrock Edition |
|---|---|---|
| Arriving in the Nether | 16 blocks around the target (= 128 Overworld blocks) | 128 blocks around the target (= 1,024 Overworld blocks) |
| Arriving in the Overworld | 128 blocks around the target | 128 blocks around the target |
| Which portal wins | The closest one in range | The closest one in range |
Java’s small 16-block Nether search came with the 1.16 Nether Update, and Mojang closed the bug report about it as intended. It makes linking more precise in Java. Bedrock’s larger Nether search means portal pairs need much more space between them, about 2,048 Overworld blocks to stay fully separate.
A wrong link almost always means another portal was closer to the converted coordinates than the one you wanted, or the target portal was outside the search area. The fix is to build both ends yourself at matching coordinates.
For several bases, keep Java Overworld portals at least 256 blocks apart (32 Nether blocks) if you rely on auto-generated portals, or simply build every Nether side by hand at the exact converted coordinates.
The smallest working frame is 4 blocks wide and 5 tall on the outside, which needs 10 obsidian because the corners are optional. The largest is 23 ร 23. Portals the game builds for you always include the corners.
| Frame (outside) | Obsidian, no corners | With corners | Opening |
|---|---|---|---|
| 4 ร 5 (minimum) | 10 | 14 | 2 ร 3 |
| 5 ร 5 | 12 | 16 | 3 ร 3 |
| 6 ร 6 | 16 | 20 | 4 ร 4 |
| 10 ร 10 | 32 | 36 | 8 ร 8 |
| 23 ร 23 (maximum) | 84 | 88 | 21 ร 21 |
The count is 2 ร width + 2 ร height โ 8 without corners, and four more with them. A bigger frame does not change where it links, because the search uses the block you step through.
The calculator follows the current linking rules, but the game decides the final spot. If a portal is blocked, the game moves the new portal to the nearest safe space, which can be up to 16 blocks away.
Divide your Overworld X and Z by 8 and round down. Y stays the same. Overworld 1,000, 64, โ480 becomes Nether 125, 64, โ60.
Multiply Nether X and Z by 8 and keep Y. Nether 125, 70, โ60 becomes Overworld 1,000, 70, โ480.
In Java, within 16 blocks of the converted spot in the Nether and 128 blocks in the Overworld. Bedrock searches 128 blocks in both dimensions.
Another portal is closer to the converted coordinates. Build the Nether side yourself at the exact converted X and Z, and break the extra portal that was stealing the link.
10 obsidian for the smallest 4 ร 5 frame without corners, or 14 with corners. The largest 23 ร 23 frame needs 84 without corners and 88 with them.