Calculating the distance between two points

If you’re not operating within a pre-defined area, work with Lat-Long and the more complex formula. You’ll get much better results.