In order to calculate the distance we have to convert the latitude and longitude values from degrees to radians. Also it make very easy to calculate distance. The shortest distance between two points in a plain is a straight line and we can use Pythagoras Theorem to calculate the distance between two points.
Or you can use Google Map API as cs_skit suggested.
Greater Circle Distance Algorithms are used to calculate the distance between two points which assumes earth as a spherical object. You can achieve it via either Power Query or DAX method. LatitudeLongitude Distance Calculator Enter latitude and longitude of two points select the desired units. Chris Venesss page also contains an Excel formula of the Haversine equation actually using the spherical lawof cosines for distances between points in kilometres.