Calculation of the distance and direction of a square

With this online calculator, you can get the distance between any two squares. The direction from the first square to the second is also calculated.