Nether Portal Calculator

To find where a Nether portal belongs, divide your Overworld X and Z by 8 and keep Y the same. An Overworld portal at X 800, Y 64, Z −1,600 matches a Nether portal at X 100, Y 64, Z −200 (see it worked out). To go back, multiply by 8.

Overworld and Nether coordinates

Type a portal's coordinates on either side and the other side fills in. You can paste all three numbers from F3 into X.

Overworld
Nether
Edition
The game looks for a Nether portal within 16 blocks.
Examples:

How to Use This Calculator

  1. Type one portal

    Enter X, Y and Z in the Overworld panel or the Nether panel. You can paste the whole F3 line into X and it fills all three boxes.

  2. Read the other side

    The other panel fills in and is marked as the answer. Below it you get the working and a teleport command to copy.

  3. Check the link

    The map shows where the game looks for a portal. Type the portal you already built to see if the pair links both ways, or plan a trip to another base.

How Nether coordinates work

The Nether is a smaller copy of the Overworld map. Each block you walk in the Nether covers 8 blocks in the Overworld on the X and Z axes. Height is not scaled, so Y stays the same. That gives four rules:

Nether X = Overworld X ÷ 8, rounded down
Nether Z = Overworld Z ÷ 8, rounded down
Overworld X = Nether X × 8
Overworld Z = Nether Z × 8

In Java Edition, press F3 to see your coordinates. In Bedrock Edition, turn on Show Coordinates in the world settings. X gets bigger as you go east, Z gets bigger as you go south, and Y is your height.

Rounding down, and why negative numbers trip people up

Most coordinates do not divide by 8 evenly. The game rounds down, to the lower whole number. For positive numbers that just drops the decimals: 805 ÷ 8 = 100.625, so the Nether block is 100. For negative numbers, rounding down moves away from zero. −5 ÷ 8 = −0.625, and the block is −1, not 0. A calculator that simply cuts off the decimals gets many negative coordinates one block wrong.

Overworld X or Z ÷ 8 Nether block
7 0.875 0
8 1 1
100 12.5 12
805 100.625 100
1,000 125 125
−1 −0.125 −1
−5 −0.625 −1
−8 −1 −1
−9 −1.125 −2
−100 −12.5 −13
−1,000 −125 −125

Show −5, 70, 12 near spawn

From the Nether back to the Overworld

Multiply by 8. One Nether block covers an 8 × 8 square of Overworld blocks, so a Nether X of 100 matches any Overworld X from 800 to 807. The calculator shows that range when you type on the Nether side. A fortress at Nether X −120, Z 340 sits under Overworld X −960, Z 2,720, which tells you where to build an Overworld portal that leads straight to it.

Show the fortress at −120, 70, 340

Dividing by 8 in your head

Dividing by 8 is the same as halving three times. 1,600 halves to 800, then 400, then 200. 3,000 goes to 1,500, 750 and 375. If a half lands on a decimal, finish the halving and round down at the end: 805 becomes 402.5, 201.25 and 100.625, so the Nether block is 100. For the trip back, double three times: 50 becomes 100, 200 and 400.

How to link two Nether portals

  1. Build and light your Overworld portal. Stand in it and note X, Y and Z.
  2. Type them into the Overworld panel. The Nether panel shows where the other portal belongs.
  3. Go into the Nether through any portal and travel to those coordinates. With cheats on, the teleport command under the answer takes you straight there.
  4. Build the Nether portal on that spot, close to the same height if the terrain allows, and light it.
  5. Walk through in both directions. If either trip goes somewhere else, type the Nether portal's position into "Do your two portals link?" to see which side to move.

The first time you use a new portal, the game builds the Nether side for you. It lands near the right spot but not always on it, and sometimes on a ledge over lava. Building the Nether portal yourself at the converted coordinates gives you a clean link you can rely on.

Show a base at 800, 64, −1,600 with its Nether portal

Portal size and obsidian

A portal frame can be anything from 4 blocks wide and 5 tall up to 23 by 23, measured on the outside of the frame. The corners are optional, so a frame without them saves 4 obsidian. Portals the game builds for you always have their corners. Size does not change where a portal links.

Frame (wide × tall) Obsidian with corners Without corners
4 × 5smallest 14 10
5 × 5 16 12
6 × 6 20 16
10 × 10 36 32
23 × 23largest 88 84

How the game picks the portal you come out of

When you step into a portal, the game converts your position to the other dimension. Then it looks for an existing portal in a square around that point, from the bottom of the world to the top. If it finds one or more, it sends you to the closest. If it finds none, it builds a new portal within 16 blocks of the point, wherever there is room.

How big that square is depends on the edition and on the direction you travel:

Traveling to Java Edition Bedrock Edition
The Nether 16 blocks each way 128 blocks each way
The Overworld 128 blocks each way 128 blocks each way

In Java, 16 Nether blocks equal 128 Overworld blocks, so both directions search the same patch of ground. Java used 128 blocks in the Nether too until version 1.16.2, which cut it to 16 to match the 1 : 8 scale. A lot of older guides still give the old number. That is where the advice to keep Nether portals 128 blocks (1,024 Overworld blocks) apart comes from. Current Java needs far less room. In Bedrock the 128-block search still applies.

"Closest" is measured in a straight line in three dimensions, so height counts. Say one Nether portal sits right above the target point but 40 blocks higher, and another is 20 blocks to the side at the same height. The game picks the second one, because 20 blocks is less than 40.

Why your Nether portal links to the wrong portal

  • It is outside the search square. In Java the Nether portal has to be within 16 blocks of the converted point. If it is farther away, the game builds a new portal and you come out of that one.
  • Another portal is closer. The game always takes the nearest portal, counting height. A portal you forgot about, or a friend's, can win.
  • The heights are far apart. A portal directly above the target but high up loses to one off to the side at the right height.
  • Two Overworld portals are too close together. Overworld portals 16 blocks apart convert to Nether spots only 2 blocks apart. That leaves no room for two separate Nether portals, so both end up sharing one.
  • Only the return trip fails. A pair can link one way and not the other. Coming back, the game looks within 128 blocks of the Nether portal's position times 8, and it skips an Overworld portal outside that square.

The fix is nearly always the same. Break the wrong portal, rebuild it at the converted coordinates, and test both directions. The link checker in the calculator tells you which side to move. In the example below the Nether portal is 30 blocks off its target, so in Java neither direction links.

Check a pair that won't link in Java

The same pair acts differently in Bedrock. The wider search finds the Nether portal 30 blocks away, so the trip into the Nether works. The trip back still fails, because the Overworld portal is 240 blocks from the point the game converts back to.

Check the same pair in Bedrock

How much faster Nether travel is

Every block in the Nether counts as 8 in the Overworld, so any trip is 8 times shorter. Sprinting moves you about 5.6 blocks per second. A 4,000-block trip takes about 11 min 53 s on the surface and about 1 min 29 s through the Nether, plus the walk to each portal.

Overworld distance Nether distance Sprinting, Overworld Sprinting, Nether
500 62.5 1 min 29 s 11 s
1,000 125 2 min 58 s 22 s
2,000 250 5 min 56 s 45 s
5,000 625 14 min 51 s 1 min 51 s
10,000 1,250 29 min 42 s 3 min 43 s
50,000 6,250 2 h 28 min 18 min 34 s

Distances are in blocks and times are for a straight line at a steady speed, rounded to the second. A boat goes about 40 blocks per second on ice or packed ice and about 72.7 on blue ice, which is why long Nether tunnels are often paved with ice.

Plan a trip from 800, −1,600 to 3,200, 2,400

Planning a Nether hub

A hub is a room in the Nether with tunnels running out to each of your bases. Convert each base's Overworld coordinates, dig a tunnel from the hub to each converted point, and build a portal at the end. Tunnels that run straight along the X or Z axis are the easiest to follow. Keep them at one height and wall them in to keep out lava and ghast fireballs. Use the trip box in the calculator to see how long each tunnel will be.

Y levels, the Nether roof and the world border

Y is never scaled, but the Nether is only 128 blocks tall. Its floor is bedrock up to Y 4 and its roof is bedrock from Y 123 to 127. An Overworld portal at Y 150 has no matching height under the Nether roof, and a deep Overworld portal at Y −20 would point into the floor. In those cases build the Nether side at a height you can use. The calculator warns you when your Y falls outside the Nether's open space.

The Overworld ends at the world border, 29,999,984 blocks from the center. A Nether portal beyond about 3,750,000 blocks would point past that border, so the game keeps you inside it. This is the one case where multiplying by 8 does not give you the real exit.

Sources

  • Minecraft Wiki, Nether portal: the coordinate rules, rounding, search areas by edition and the 1.16.2 change.
  • Minecraft Wiki, The Nether: the 1 : 8 scale, height, and the bedrock floor and roof.
  • Minecraft Wiki, Sprinting: sprint speed of 5.612 blocks per second.
  • Minecraft Wiki, Boat: boat speeds on ice, packed ice and blue ice.
  • Minecraft Wiki, Commands/execute: the dimension names used in the teleport command.
  • Minecraft Wiki, World border: where the Overworld ends.

Frequently Asked Questions

How do you convert Overworld coordinates to Nether coordinates?

Divide X and Z by 8 and round down. Y stays the same. Overworld X 2,000, Z −3,000 becomes Nether X 250, Z −375. With negative numbers, rounding down moves away from zero, so −5 ÷ 8 = −0.625 becomes −1, not 0.

Show 2,000, 70, −3,000

How do you convert Nether coordinates to Overworld coordinates?

Multiply X and Z by 8 and keep Y. Nether X 50, Z −30 becomes Overworld X 400, Z −240. One Nether block covers 8 × 8 Overworld blocks, so that Nether block matches Overworld X 400 to 407 and Z −240 to −233.

Show Nether 50, 64, −30

Does the Y coordinate change between the Overworld and the Nether?

No, Y is never scaled. But the Nether is only 128 blocks tall, with a bedrock floor up to Y 4 and a bedrock roof from Y 123 to 127. Keep the Nether portal between those, as close to your Overworld height as the terrain allows.

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

Either another portal is closer to the converted point, or your portal is outside the area the game searches. The game always picks the nearest portal, counting height. Rebuild the portal at the converted coordinates and test both directions.

How far does the game search for a Nether portal?

In Java Edition, 16 blocks each way in the Nether and 128 blocks each way in the Overworld. Bedrock Edition searches 128 blocks each way on both sides. The search covers the full height of the world.

Is the Nether ratio the same in Java and Bedrock?

Yes. Both editions use 1 : 8, so the coordinates you get are the same. What differs is the search area for portals in the Nether: 16 blocks in Java and 128 in Bedrock.

How do I teleport to Nether coordinates with a command?

In Java Edition use /execute in minecraft:the_nether run tp @s 100 64 -200. In Bedrock Edition use /execute in nether run tp @s 100 64 -200. Cheats have to be on. The calculator writes the command for you under the answer.