Ayr is located in Edinburgh city, United Kingdom at the 55.4627, -4.6339 coordinates. Distance from Ayr to other cities. are listed below, click on the city name to find distance between. Distance from Ayr to Glasgow 51 km, to Aberdeen 244 km, to Dundee 152 km. The green marker indicates the location of Ayr.