Minecraft Block to Chunk Converter

Block coordinates

Enter whole-number X and Z coordinates. Negative coordinates are supported.

Leave Y blank to keep your current height with ~ in the command. Y does not affect the chunk.

Your chunk and local position

Chunk (2, -2)

Local position: X 3, Z 12

X blocks (inclusive)
32 to 47
Z blocks (inclusive)
-32 to -17

Distance to border blocks

Minimum X (left)
3 blocks
Maximum X (right)
12 blocks
Minimum Z (top)
12 blocks
Maximum Z (bottom)
3 blocks

Counts coordinate steps to the outermost block. Zero means you are on a border block.

16 × 16 chunk grid · X →, Z ↓

Select a cell to move within this chunk. Use arrow keys, Home/End or Ctrl+Home/End when a cell is focused. Local coordinates run from 0 to 15.

Selected block: X 35, Z -20; local X 3, Z 12.

Reverse conversion and copy tools

Enter chunk X and Z to find the full 16 × 16 block-coordinate range.

X 32 to 47; Z -32 to -17 (inclusive).

Copy the selected block’s results

/tp @s 35 ~ -20

The command targets yourself in the current dimension. Check height, terrain and command permissions in your game before using it.

How to use this converter

Convert Minecraft block coordinates to chunk coordinates instantly. Find chunk boundaries, local block positions, and visualize your location on a 16×16 grid.

Enter block X and Z to get a chunk address, inclusive block ranges and local position. Try the negative example to see why floor division matters. Click a grid cell or use its arrow keys to choose another block in the same chunk; the local X/Z sliders offer larger touch controls. Copy tools contain the current validated results.

Block and chunk formulas

The horizontal chunk size used here is 16 × 16 blocks. For either block axis b:

  • chunk = floor(b / 16)
  • minimum = 16 × chunk
  • maximum = minimum + 15
  • local = b − minimum

These formulas place each accepted block in exactly one chunk and give local positions from 0 through 15. X and Z are independent. Y represents height and does not enter this horizontal conversion.

Why negative coordinates need floor division

Floor rounds toward negative infinity, not toward zero. For block −1, −1 ÷ 16 = −0.0625, whose floor is −1. Its minimum is −16 and local position is −1 − (−16) = 15. At block −16 the local position is 0; at −17 the chunk becomes −2 and local position becomes 15.

Inclusive chunk boundaries and border distances

Both ends are included. Chunk 2 covers blocks 32–47, a span of 16 block positions. Distance to its minimum border block is b − 32; distance to its maximum border block is 47 − b. At block 35 the two distances are 3 and 12.

This convention counts steps between integer block positions. It is not a continuous distance to the plane between chunks and is not a three-dimensional or diagonal distance. The four distances shown correspond to minimum X, maximum X, minimum Z and maximum Z.

Worked examples

One-axis block-to-chunk examples
BlockChunkLocalInclusive blocks
150150 to 15
161016 to 31
-1-115−16 to −1
-16-10−16 to −1
-17-215−32 to −17

For X 35 and Z −20, the chunk address is (2, −2). Its X range is 32–47 and Z range is −32–−17. The local position is (3, 12): column 3 and row 12 in the zero-based grid.

Convert a chunk back to blocks

Reverse conversion gives a range, not a unique block. Chunk (2, −2) contains all 256 X/Z pairs formed by X 32–47 and Z −32–−17. “Show this chunk’s minimum corner” selects (32, −32), local (0, 0). It keeps the optional Y unchanged. Reverse inputs are independent of the selected block until you use that button.

Y coordinates and teleport commands

At block X 35, Y 64, Z −20, the copied command is /tp @s 35 64 -20. With Y blank it is /tp @s 35 ~ -20. It uses the selected block’s integer X/Z directly, without adding a half-block offset or changing dimensions.

Microsoft’s Bedrock command reference documents the /tp alias, coordinate arguments and command permissions. Check the command and destination in your own edition and world. The tool does not guarantee a safe landing, generate structures, locate entities or execute commands.

Assumptions and limitations

This is a horizontal coordinate converter, not a chunk-loading, biome, seed, region-file, dimension-scaling or world-border simulator. It supports integer block positions only. In-game usable coordinates can be much narrower than this tool’s numerical limits, and supported heights depend on your game and world.

Inputs must be safe integers. The full inclusive chunk minimum and maximum must also be safe integers; an extreme negative block may therefore be rejected even if that individual block is representable. Fractional input, nonfinite values, exponents and expressions are rejected rather than rounded.

Calculation and copying run locally in your browser. The converter stores no coordinates, sends no calculation requests and adds no tracking or external assets. Clipboard access happens only when you press a copy button; if unavailable, selectable text is provided.

FAQ

How do I convert a block to a chunk?

Divide each horizontal block coordinate by 16 and round down with floor. Apply the rule separately to X and Z. Y is not used.

What chunk contains block −1?

Chunk −1, at local position 15. That chunk covers blocks −16 through −1 inclusive.

Why is rounding toward zero wrong?

For −1 ÷ 16, truncation gives 0, but the correct floor is −1. Truncation puts negative blocks in the wrong chunk.

Is block 16 in chunk 0 or chunk 1?

Chunk 1. Chunk 0 covers 0 through 15; chunk 1 covers 16 through 31.

What are local coordinates?

They are the block’s offsets from the chunk’s minimum X and Z, each from 0 to 15. The grid increases X to the right and Z downward.

What does a zero border distance mean?

The selected block is an outermost block on that side. Distances count coordinate steps to border blocks, rather than distance to a geometric boundary plane.

Can I reverse the conversion?

Yes. A chunk coordinate c covers 16 × c through 16 × c + 15. Enter chunk X and Z in the reverse section and optionally show its minimum corner.

Do I need a Y coordinate?

No. Y only changes the copied teleport command. Leaving it blank uses ~ to keep the executing player’s current height. An invalid Y disables the command while horizontal results remain available.

Can I paste decimal player coordinates?

This tool requires integer block coordinates and never silently rounds decimal input. Identify the occupied block first; a player position such as −0.5 lies in block −1, not block 0.

Does the tool check whether a teleport is safe?

No. It formats a command for the current dimension. Game permissions, valid destination limits, terrain and height must be checked in your game. No command is sent or executed by this website.

Sources and method notes

The chunk formulas, negative-coordinate examples, grid orientation and border-distance convention are stated explicitly above. External references do not verify destination safety or permit every mathematically representable coordinate in-game.