Minecraft Region File Calculator

By the ChunkScan Team · Updated October 2026

Quick answer: To find the region file that holds a block, enter its X and Z: block -1000, 2500 lies in chunk -63, 156, which is stored in r.-2.4.mca (/region-file-calculator?x=-1000&z=2500).

Which r.X.Z.mca file holds a block, which blocks a region file covers, and which files to keep when you trim a world.

Sponsored

What is a region file?

Java Edition saves a world in region files, each holding a square of 32 × 32 chunks, which is 512 × 512 blocks. A file is named r.X.Z.mca after its region coordinates: divide a block coordinate by 16 for the chunk, then the chunk by 32 for the region, rounding down each time. Rounding down matters for negative numbers: block -1 is in chunk -1 and in r.-1.-1.mca, while block 511 is still in r.0.0.mca and block 512 starts r.1.0.mca. A file holds up to 1,024 chunks and only exists once the game has generated at least one of them.

Where the files are

Before 26.1, the Overworld keeps its files in the world folder’s region folder, the Nether in DIM-1/region and the End in DIM1/region. Next to each region folder sit entities, with the mobs and dropped items of the same chunks since Java 1.17, and poi, with points of interest such as villager beds, workstations and Nether portals since 1.14. Their files have the same names. In 26.1 each dimension moved into dimensions/minecraft: overworld, the_nether and the_end, each with its own region, entities and poi folders; the game moves the folders when you upgrade a world.

Trimming a world

Server admins delete region files to shrink a world or to get fresh terrain after an update. Stop the server and back up the world first. Then remove the files outside the area you keep, together with the files of the same name in entities and poi, so no stray mobs or old portal records come back. The next time someone walks there, the game generates that land again from the seed. Files cover whole 512-block squares, so the list on this page keeps every file the area touches, even if only one block of it.

Sponsored

How to use this calculator

Pick your version and dimension, then type a block’s X and Z or paste an F3 + C line: the page shows the chunk, the region file, the chunk’s slot inside the file and the full paths. Type a file name to see the blocks and chunks it covers. For an area, give two corners; the default keeps 5,000 blocks around 0, 0, which is 400 files. The Nether has its own coordinates, so type the Nether X and Z for Nether files.

Open the seed search