Tools · Coordinates
Minecraft Coordinate Calculator
Convert any block coordinate (the X Y Z from your F3 screen) to its corresponding chunk section, region file, Nether portal position, and biome cell — all at once, live, bidirectionally. Edit any field and the rest update instantly.
Block Coordinates
F3 debug screen valuesEast +
Up +
South +
Chunk Section
16×16×16 blocks−4 to 19 (1.18+)
Region File
512×512 blocksNether Portal Coordinates
Overworld → Nether
Divide X and Z by 8 to find where to build the Nether portal.
Nether → Overworld
Multiply X and Z by 8 to find the Overworld exit portal location.
Blocks to Chunk Section Wall
Biome Coordinates
Since 1.18 biomes are sampled on a 4×4×4 block grid. Two blocks in the same biome cell are guaranteed to share a biome.
Teleport (Java)
/tp @s 0 64 0Teleport (Bedrock)
/tp @s 0 64 0Setblock at coords
/setblock 0 64 0 stoneFill (chunk origin → this)
/fill 0 64 0 0 64 0 airNether portal (Overworld → Nether)
/execute in minecraft:the_nether run tp @s 0 64 0Minecraft's four coordinate systems explained
Minecraft organises its world into nested layers. Understanding which layer you're working in saves a lot of confusion when using world editors, teleport commands, or just trying to meet a friend at exactly the right portal.
Block coordinates
The numbers you see on the F3 debug screen. X runs east (+) and west (−), Z runs south (+) and north (−), Y is altitude (up +). Every placeable block in the game occupies exactly one integer coordinate triplet. This is the coordinate system used by /tp, /setblock, /fill, and everything else players interact with directly.
Chunk sections (sub-chunks)
Chunks are the columns the game uses for loading and ticking. Each chunk is 16 blocks wide (X) by 16 blocks deep (Z) and spans the full world height. Internally, every chunk is divided into vertical chunk sections — 16×16×16 cubes. In Minecraft 1.18+ the world spans Y=−64 to Y=320, so there are 24 chunk sections per column (section Y from −4 to 19). Before 1.18, it was 16 sections covering Y=0 to Y=255.
Chunk coordinates are derived from block coordinates by floor-dividing by 16. Block X=−1 is in chunk X=−1 (not chunk X=0), because floor(−1/16) = −1. This "floor division" is why naive division in many calculators gives wrong results for negative coordinates.
Region files (.mca)
Minecraft groups 32×32 chunks (512×512 blocks) into a single Anvil format file with the extension .mca. The file name encodes the region's position: r.X.Z.mca. Region X = floor(chunkX / 32), Region Z = floor(chunkZ / 32). Inside each region file, chunks are indexed in a 1024-entry header table using the formula (localChunkZ × 32) + localChunkX.
| Dimension | Region folder path |
|---|---|
| Overworld | saves/{world}/region/ |
| Nether | saves/{world}/DIM-1/region/ |
| The End | saves/{world}/DIM1/region/ |
Nether coordinates
The Nether map is 1/8th the horizontal scale of the Overworld. One block of horizontal travel in the Nether equals eight blocks in the Overworld. To link portals correctly, the Nether portal must be at exactly Overworld X ÷ 8 and Overworld Z ÷ 8. If the coordinates don't match, Minecraft creates a new portal rather than linking to the existing one — leading to the classic "portal loop" problem that wastes obsidian and confuses players.
Practical uses for this calculator
Fixing portal links
Portal A in the Overworld links to a random Nether location. Enter the Overworld coords, read off the Nether equivalent, and build or move your Nether portal to that position.
Finding a region file for MCA Selector
MCA Selector and NBTExplorer work with region files. Enter your block coordinates here to instantly get the file name (e.g. r.2.-3.mca) and the chunk index within it.
WorldEdit chunk selection
WorldEdit's //chunk selects the chunk you're standing in. Enter your target block coords here, read the chunk section origin, teleport there, then run //chunk to select it.
Chunk border visualisation
The "blocks to chunk wall" distances tell you exactly how far you are from each chunk border — useful for placing farms that must not overlap chunk boundaries, or for debugging mob spawning and entity processing issues.
Biome hunting and /locatebiome
The biome cell coordinate tells you the 4×4×4 grid cell your block sits in. Once you have a seed-based biome finder giving you biome cell coordinates, convert them here to the exact block coordinates you need to teleport to.
Calculating spawn distances
The Overworld spawn is at or near 0, 0. Enter a location to see its chunk — useful for checking whether a structure is within spawn chunk range (roughly ±8 chunks from 0,0 are always loaded on a vanilla server).
Minecraft 1.18 world height changes
The 1.18 Caves & Cliffs Part 2 update is the most significant coordinate change in Minecraft's history. The build height doubled and the floor dropped below zero:
| Property | Pre-1.18 (1.17 and older) | 1.18 and later |
|---|---|---|
| Minimum Y | 0 | −64 |
| Maximum Y | 255 | 320 |
| Total height (blocks) | 256 | 384 |
| Chunk sections per column | 16 (Y 0–15) | 24 (Y −4 to 19) |
| Bedrock floor | Y=0 to Y=4 | Y=−64 to Y=−60 |
| Sea level | Y=62 | Y=62 (unchanged) |
X and Z coordinates were not affected. If you are working with a world that predates 1.18, the chunk section Y field will never be negative — all valid blocks were between Y=0 and Y=255.
Frequently asked questions
How do I convert block coordinates to chunk coordinates?
Divide the block X (and Z) by 16 and floor the result. The key is floor, not round — block X=−1 is in chunk X=−1, not chunk X=0, because floor(−1/16) = −1. This tool handles negative coordinates correctly.
How do I find the region file name for a location?
Enter your block coordinates above and read the "File name" field in the Region section. The formula is: region X = floor(floor(blockX/16) / 32), region Z = floor(floor(blockZ/16) / 32), file = r.{regionX}.{regionZ}.mca.
Why are my portals not linking correctly?
Portal linking requires the Nether-side portal to be within 8 blocks (in Nether coordinates) of the calculated target position. Enter your Overworld block coordinates, read the "Overworld → Nether" target, and make sure your Nether portal is within an 8-block radius of that point. If two portals compete, Minecraft picks the closest one.
What is a chunk section and why does it matter?
A chunk section is a 16×16×16 cube — the unit of storage inside a region file. Knowing the chunk section Y value matters for world editors that operate on section level (like NBT editors that target specific sub-chunk data) and for performance analysis (how many non-empty sections are loaded).
How do I use this with MCA Selector?
MCA Selector lets you select and delete chunks by region. Enter your block coordinates here, copy the region file name, open MCA Selector, navigate to that region, and locate the chunk using the displayed chunk X and Z values.
Where can I find servers to play on?
Browse thousands of Java and Bedrock servers on the Minecraft server list or explore server tags visually in the Server Cloud.