
Nether portal calculator
Convert coordinates between the Overworld and the Nether, copy a teleport command, and check that each portal leads to the one you built, not to a neighbor.
Overworld and Nether, 8 to 1
Convert coordinates
Overworld
Your coordinatesNether
Matching spotType on either side and the other side follows. You can paste all three numbers at once, for example the XYZ line from the F3 screen. Arrow up and down change a number by 1, with Shift by 8.
Build your Nether portal at
X100Y64Z-150
The Nether block that matches Overworld 800 64 -1200
- X: 800 ÷ 8 = 100
- Y stays 64
- Z: -1200 ÷ 8 = -150
Teleport commands to this spotThey need cheats or operator rights
/tp @s 100 64 -150When you're already in the Nether/execute in minecraft:the_nether run tp @s 100 64 -150From any dimensionA command puts you at these coordinates even if that's inside rock or lava, so pick a safe Y first.
Portal linking
Plan portals that link right
Add the portals you have built or plan, in both dimensions. Using the game's rules, the planner shows which portal each one really leads to and warns you when one would take you to the wrong portal.
Your portals appear here, north at the top.
Select a portal on the map or in the list to see where the game looks for its partner.
- Overworld portal
- Nether portal
- Linked both ways
- Leads to the wrong portal
- One-way link
- Partners that don't link
- Search area of the selected portal
- Where the game would build a new portal
Both dimensions share one map: with Overworld blocks, a Nether portal is drawn at its X and Z times 8.
Your portals
No portals yet. Add your first one above, or load an example with one link that goes wrong.
Your portals and settings are saved in this browser only. Nothing is uploaded.
How to use the Nether portal calculator
- Stand in your portal and read your position: the Block line of the F3 screen in Java Edition, or the Show Coordinates box in Bedrock Edition.
- Choose your edition, then type X, Y and Z on the Overworld or the Nether side. The other side follows as you type.
- Build the second portal at the spot in the result. In Creative, copy the
/executecommand to get there in one step. - Add both portals to the planner, with any other portals nearby, to check that each one leads where you want before you light a new one.
Why the Nether is 8 to 1
Every block you walk in the Nether counts as 8 blocks in the Overworld, but only horizontally: Y, the height, is never scaled. Walk from X 0 to X 1,000 in the Nether, and a portal there brings you out near X 8,000 in the Overworld.
For Nether coordinates the game divides X and Z by 8 and rounds down, toward the lower number. That matters below zero: −1 ÷ 8 = −0.125 becomes −1 and −1001 ÷ 8 = −125.125 becomes −126, while 7 ÷ 8 becomes 0. Going back, X and Z are multiplied by 8 from your exact position, so anywhere in Nether block 100 matches Overworld X 800 to 807.
Advertisement
How the game links portals
When you step through, the game converts your position to the other dimension and looks for existing portals around that spot, at any height:
| Edition | Arriving in the Overworld | Arriving in the Nether |
|---|---|---|
| Java Edition | 128 blocks | 16 blocks |
| Bedrock Edition | 128 blocks | 128 blocks |
If it finds more than one, you arrive at the closest, measured in a straight line that includes the height difference. If it finds none, it builds a new portal: it looks for room within 16 blocks of the spot, at any height, and if there is none, it forces one onto a small obsidian platform, with Y between 70 and 118 in the Nether or between 70 and 310 in the Overworld. Java Edition 1.16.2 cut the Nether search from 128 to 16 blocks to match the 8 to 1 scale; Bedrock Edition still looks 128 blocks around the spot in the Nether.
Linking two portals correctly
- Build and light your Overworld portal, stand in it and note its coordinates.
- Build the Nether portal yourself at the matching spot: X and Z divided by 8, at the same Y if you can. Don't count on the portal the game makes, which only needs free space within 16 blocks.
- Build as close to the exact spot as you can. Any other portal that is closer to that spot takes over the link, so the planner shows how far each portal is from it.
- Check both directions. A link can work one way and not the other, because in Java Edition the game looks 128 blocks around the spot in the Overworld but only 16 in the Nether.
Common mistakes
- Dividing Y by 8. Only X and Z change.
- Rounding toward zero. −1001 ÷ 8 is −126, not −125.
- Letting the game place the second portal. It takes the nearest free space within 16 blocks at any height, which can be over lava or deep in rock.
- Ignoring height. A portal 40 blocks above the spot loses to one 10 blocks to the side.
- Portals too close together. Overworld portals 16 blocks apart are only 2 blocks apart in the Nether. The Minecraft Wiki says precise portals can work as close as 8 Overworld blocks, but each needs its own exact Nether portal.
- Treating Bedrock like Java. Bedrock looks 128 blocks around the spot in the Nether, the same as 1,024 Overworld blocks, so one Nether portal can catch Overworld portals that are far apart.
Sources, checked 20 November 2026: Minecraft Wiki pages Nether Portal (coordinate conversion, rounding, the world border, portal search and creation, the 1.16.2 change), The Nether (bedrock floor at Y 0 to 4 and roof at Y 123 to 127, build limits, the X 1,000 example), Nether roof, Tutorial: Nether portals (pairing portals, exclusion zones, 2-in-1 portals, the exact position used from the Nether), Commands/teleport and Commands/execute (command syntax in both editions) and Coordinates (directions, F3 and Show Coordinates). The close call and near the edge warnings use our own safety margins, because the size of a portal and where you step in shift the real distances a little. A close call is a second portal less than 3 blocks farther away than the closest one when you arrive in the Nether, or 8 in the Overworld; near the edge is within 1 block of the edge of the search area in the Nether, or 8 in the Overworld. Arriving in the Overworld, the planner also checks all 64 spots that one Nether block matches, because the game multiplies your exact position by 8.
Your portals stay in your browser
Everything is worked out on your device. The planner list and your settings are saved in this browser's local storage so they're still there next time, and nothing is uploaded. Clearing this site's data in your browser removes them.
Frequently asked questions
How do I convert Overworld coordinates to Nether coordinates?
Divide X and Z by 8 and round down, and keep Y as it is. Overworld 800, 64, −1200 becomes 100, 64, −150 in the Nether. To go back, multiply X and Z by 8.
Why does my Nether portal link to the wrong portal?
When you go through, the game picks the portal closest to the matching spot in the other dimension, measured in a straight line that includes height. If another portal is closer to that spot than yours, you arrive there. Build each portal at the exact matching coordinates and keep other portals farther from that spot.
How far does the game look for a portal?
In Java Edition it looks up to 128 blocks along X and Z when you arrive in the Overworld and up to 16 blocks in the Nether, at any height. In Bedrock Edition it looks up to 128 blocks in both. If it finds nothing, it builds a new portal within 16 blocks of the matching spot.
Do I divide the Y coordinate by 8?
No. Only X and Z change; Y stays the same. In the Nether the bedrock roof starts at Y 123. Java Edition lets you build on top of the roof, up to Y 255, and portals there link both ways. In Bedrock Edition you can't build above Y 127 in the Nether.
Does the calculator work for Bedrock Edition?
Yes. The 8 to 1 math is the same in both editions. Switch the calculator to Bedrock Edition and the planner uses Bedrock's larger search area in the Nether, and the commands use Bedrock's format, such as /execute in nether run tp @s 100 64 -150.
More free tools
Advertisement