St Andrews is located in the county of Fife, Scotland, eight miles south-east of the town of Tayport, 11 miles south-east of the major city of Dundee, 31 miles north-east of Edinburgh, 336 miles north of Cardiff, and 351 miles north of London. St Andrews falls within the unitary authority of Fife. It is in the KY16 postcode district. The post town for St Andrews is St. Andrews.
St Andrews is in the ceremonial county of Fife, the historic county of Fife, and the administrative county of Fife.
St Andrews is situated towards the northernmost extremity of Fife, and towards the easternmost extremity of Fife.
The nearest postcode to the centre of St Andrews is KY16 9JP.
St Andrews is situated roughly centrally between the southernmost and northernmost extremities of the KY16 postcode district, and roughly centrally between the easternmost and westernmost extremities of the KY16 postcode district.
The post town for St Andrews is St. Andrews. St Andrews is in the KY16 postcode district, which corresponds to the post town of St. Andrews.
The centre of St Andrews is located at position 56.33941° latitude and -2.79503° longitude.
The centre of St Andrews is located at the grid reference easting 350949 and northing 716623 within the British National Grid (OSGB36) system.
Position of St Andrews relative to nearby towns. Distance is measured from the centre of St Andrews to the centre of the town.
Position of St Andrews relative to nearby cities. Distance is measured from the centre of St Andrews to the centre of the city.