Decided to post my updated version since there seems to be some interest. Code below has no gui, also has some bonus functions. #include <INet.au3> Global Const $PI = 4 * ATan(1) Global Const $degToRad = $PI / 180 $lon1dd = -116 $lat1dd = 33 $lon2dd = -116.05 $lat2dd = 33.05 MsgBox(0, "Test", DisplayAll(CalcAll($lat1dd, $lon1dd, $lat2dd, $lon2dd))) ; Calculate geodesic distance (in m) between two points specified by latitude/longitude (in DD) ; using Vincenty inverse formula for ell