Kirkcaldy is a town and former royal burgh in Fife, on the east coast of Scotland. It is about 11+1⁄2 miles north of Edinburgh and 27+1⁄2 mi south-southwest of Dundee.