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.

Edition:
Overworld
Nether

Type in either side and the other side updates. Your position is on the F3 screen in Java, or under Show Coordinates in Bedrock.

    Teleport commands (cheats on)

    How to use the nether portal calculator

    1. Pick your edition. Java and Bedrock use the same 8:1 coordinates but search different distances for an existing portal, and that changes which portals link.
    2. Convert coordinates: stand where your Overworld portal is (or will be), read X, Y and Z from the F3 screen (Java) or the Show Coordinates line (Bedrock), and type them in. The Nether side shows where to build the matching portal. It works the other way too.
    3. Link checker: list every portal you have or plan, in either dimension. Each one shows where it leads, which portal it will join, and whether the trip back returns you to the same place.
    4. Portal size & obsidian: enter the outside width and height of the frame to get the obsidian count with and without corners.

    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.

    Nether portal coordinates: the 8:1 rule

    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, ZNether X, ZNote
    0, 00, 0World center matches
    1,000, โˆ’480125, โˆ’60Exact multiples of 8
    1,003, โˆ’485125, โˆ’61โˆ’485 รท 8 = โˆ’60.6, rounds down to โˆ’61
    โˆ’100, 250โˆ’13, 31Floor of โˆ’12.5 is โˆ’13
    8,000, 8,0001,000, 1,0001,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.

    How portal linking works in Java and Bedrock

    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 areaJava EditionBedrock Edition
    Arriving in the Nether16 blocks around the target (= 128 Overworld blocks)128 blocks around the target (= 1,024 Overworld blocks)
    Arriving in the Overworld128 blocks around the target128 blocks around the target
    Which portal winsThe closest one in rangeThe 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.

    1. Write down the Overworld portal’s X, Y and Z (stand inside it).
    2. Convert them with the calculator and travel through the Nether to those X and Z values.
    3. Build and light the Nether portal there. Any Y works, but stay away from the lava sea at Y 31 and below the bedrock roof at Y 127.
    4. Break any auto-generated portal that is now closer to the target, or it may keep taking your trips.
    5. Check the pair in the Link checker tab: you want a โœ” two-way link for each pair.

    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.

    Nether portal size and obsidian count

    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 cornersWith cornersOpening
    4 ร— 5 (minimum)10142 ร— 3
    5 ร— 512163 ร— 3
    6 ร— 616204 ร— 4
    10 ร— 1032368 ร— 8
    23 ร— 23 (maximum)848821 ร— 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.

    Limits of this calculator

    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.

    • Distances in the link checker are straight-line distances from the exact target block. The game uses the same idea, so ties between two portals at nearly the same distance can go either way.
    • Modded servers, Paper settings and data packs can change the search radius or the 8:1 scale.
    • Planning a big build around the hub? Our Minecraft circle generator lays out round rooms block by block. If friends will use the portal network on a server, check the Minecraft server RAM calculator first. For gear before a long Nether trip, the Minecraft enchantment calculator finds the cheapest anvil order.

    Frequently Asked Questions

    How do I calculate Nether coordinates?

    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.

    How do I convert Nether coordinates to the Overworld?

    Multiply Nether X and Z by 8 and keep Y. Nether 125, 70, โˆ’60 becomes Overworld 1,000, 70, โˆ’480.

    How close do portals need to be to link?

    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.

    Why does my Nether portal take me to the wrong portal?

    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.

    How much obsidian do I need for a Nether portal?

    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.

    Sources and further reading