Distance and Direction Calculator

Type where you are and where you want to go. You'll see how many blocks away it is and which way to walk.

Where you are
Where you're going
Enter both X and Z values to see the distance.

Never lose your base again

Save your bases, villages and portals in a free MCWaypoint account. Open any saved spot, type where you're standing, and it shows you the way.

Save your coordinates free

Which way is north in Minecraft?

North is the way Z gets smaller, and east is the way X gets bigger. So walking north takes Z from 100 down to 0, and walking east takes X from 0 up to 100. The sun and moon rise in the east and set in the west, which helps when you don't have a compass handy.

Facing the right way

On Java Edition, press F3 and look at the "Facing" line. Turn until the number after it matches the one above, then walk straight ahead. On Bedrock and console, walk a few blocks and watch your coordinates: if X and Z are moving toward your target's numbers, you're on track.

Going a long way?

Every block in the Nether counts for eight in the Overworld, so a 2,000 block trip is only 250 blocks through the Nether. Use the nether portal calculator to line up portals at each end.

How it's worked out

The distance is a straight line across the map, ignoring height (Y), since that's the part that takes the walking. It's rounded to the nearest block.

Where to find your coordinates
  • Java Edition: press F3 (Fn + F3 on some laptops) and read the "XYZ" line on the left.
  • Bedrock, console and mobile: turn on "Show Coordinates" in the world's settings. They appear at the top left of the screen.
  • X and Z are your position on the map. Y is your height, and it's optional here.