St Andrews is a town on the east coast of Fife in Scotland, 10 miles southeast of Dundee and 30 miles northeast of Edinburgh. St Andrews had a recorded population of 16,800 as of 2011, making it Fife's fourth-largest settlement and 45th most populous settlement in Scotland.