Minecraft wiki entry for Measuring_distance, associated text: If you press F3,‌[Java Edition only] the debug screen shows your present location in X, Y and Z coordinates. Measuring distances between two locations or waypoints is as easy as subtraction, if you walk in a cardinal direction. Otherwise you must make use of the Pythagorean theorem to compute the distance. This is not strictly in-game, but it makes a drastic difference in gameplay, avoiding a lot of frustrated wandering. Note that the X and Z coordinates are horizontal and can be positive or negative (the spawn point is fairly close to 0, 0), but the Y coordinate represents your altitude, and Y=-64 is the bedrock floor of the game world.