How to use the Nether Portal Calculator
- Pick the direction: Overworld to Nether, or Nether to Overworld.
- Type the X and Z coordinates of the spot you start from. Y is optional. In Java Edition the coordinates are on the F3 screen; in Bedrock Edition turn on "Show Coordinates" in the world settings.
- Read the result and build your portal at those coordinates. The Copy button puts them on your clipboard, and Swap sends them back the other way.
How the 8:1 rule works
In Minecraft, one block of horizontal travel in the Nether equals eight blocks in the Overworld. Going into the Nether, X and Z are divided by 8. Coming back, they are multiplied by 8. Y, the height, does not change in either direction.
The game rounds down, which means toward the smaller number. For positive numbers this just drops the decimal. For negative numbers that are not a whole multiple of 8, the result moves one step further from zero. Take Overworld X -100: divided by 8 it is -12.5, and rounding down gives -13, not -12.
| Overworld X | Divided by 8 | Nether X |
|---|---|---|
| 250 | 31.25 | 31 |
| 7 | 0.875 | 0 |
| -1 | -0.125 | -1 |
| -100 | -12.5 | -13 |
Because eight Overworld blocks share one Nether block, the way back covers a small area: Nether X -13 matches any Overworld X from -104 to -97. The calculator shows that range when you convert from the Nether.
Linking two portals without a mix-up
When you step through a portal, the game converts your position and then looks for an existing portal around that point. How far it looks depends on the edition:
- Java Edition (1.16.2 and later): 128 blocks around the point in the Overworld, and 16 blocks in the Nether.
- Bedrock Edition: 128 blocks in both dimensions.
The search covers the full height of the world. If more than one portal is inside that area, the closest one wins, measured in a straight line that includes height. So a portal far above or below you can lose to one that is further to the side but at your level.
If no portal is found, the game builds a new one within 16 blocks of the point. The simplest way to keep a pair linked is to build the return portal yourself at the coordinates this calculator gives, then run the link check above on the pair. It cannot see other portals you did not enter, so keep extra portals away from the point.
Building the frame
A Nether portal frame is made of obsidian. The outer frame is at least 4 blocks wide and 5 tall, and at most 23 by 23. The four corners are optional, which saves obsidian on large frames.
| Frame (outer) | With corners | Without corners |
|---|---|---|
| 4 x 5 | 14 | 10 |
Use the obsidian counter above for any other size. Light the frame with flint and steel or a fire charge on the inside of the bottom row.
Common problems
The portal takes me to the wrong place
The usual cause is another portal that is closer to the converted point than the one you meant. Run the link check on the portal you walk into and the portal you want to reach. If it is out of range, or another portal sits closer to the converted point, move or break the one in the way.
A new portal appeared instead of my own
The usual cause is that no portal was inside the search area, so the game made one. Build your portal at the calculated coordinates, light it, and break the extra one.
It works in Java but not in Bedrock, or the other way round
The Nether search area is much larger in Bedrock (128 blocks against 16 in Java). In Bedrock, two Overworld portals up to about 1,000 blocks apart can end up sharing one Nether portal, so give each base its own Nether portal far enough apart.
Questions and answers
Do I divide Y by 8?
No. Only X and Z are divided by 8. Y, the height, stays the same in both dimensions.
Why did my portal create a new one?
The game found no portal inside its search area around the converted point, so it built a new one within 16 blocks of that point.
Is it the same on Bedrock?
The 8:1 rule is the same. The search area is not: Bedrock looks 128 blocks around the point in both dimensions, while Java looks 128 blocks in the Overworld and only 16 in the Nether.
How far is 1,000 blocks in the Nether?
1,000 blocks walked in the Nether equal 8,000 blocks in the Overworld. The other way round, 1,000 Overworld blocks are 125 blocks in the Nether.