Distance and direction
The distance on the map is the straight line between the two X and Z points, in blocks; with Y it is the straight line through the ground as well. Which way to go is given as a compass point and as the F3 Facing angle (yaw): turn until the number on the F3 screen matches, then walk forward. In Minecraft 0° faces south (+Z), 90° west, 180° north and −90° east.
Through the Nether
One block in the Nether is eight in the Overworld, sideways only: divide X and Z by 8 to find the Nether spot, and multiply by 8 to come back. Y stays the same. A trip through the Nether is an eighth of the distance, plus building two portals. The table shows both.
Travel speeds
Speeds are the usual top speeds in Java Edition, in blocks per second: walking 4.3, sprinting 5.6, sprint-jumping about 7.1, a boat on water 8, a minecart on powered rails 8, a fast horse about 14, a boat on packed or ordinary ice about 40, on blue ice about 72.7, and an elytra pushed by firework rockets about 33. Real trips are slower: turns, hills, eating and getting lost all add time.
Questions
Why does the F3 screen say a negative angle?
Minecraft writes yaw from −180° to 180°. −90° is east and 90° is west; 180° and −180° are both north.
Is it the same in Bedrock Edition?
The distances, directions and the Nether's 1 to 8 are the same. Bedrock shows your position with the Show Coordinates option and has no yaw on screen, so use the compass point. Some speeds differ a little.
Does it save anything?
No. Nothing is stored or sent anywhere; the coordinates are kept in the page's address, so a copied link opens the same trip.