Distance matrix between multiple locations

Job ID: 32876615

Budget: €30 – €250 EUR

I`m trying to build a business case for an investment project that requires to identify the total length of fiber optics fiber that is required.
Thus, I`m looking for a template to calculate the distance in KM between 2 columns in excel.