Edinburgh airport is about a 15 minute drive from the city centre. There are shuttles buses and taxis available to transport you. As of 2014, there is also a tram service available. These depart every 10 minutes.
Edinburgh airport lies around 8 miles to the west of the city centre. There is a very frequent shuttle bus that goes from the airport straight into the centre of town that takes about 25 minutes.