List of towns and cities in Scotland by population
Localities
In Scotland, locality refers to a populated area composed of contiguous postcodes with populations of at least 500.

List of towns and cities in Scotland by population

Section Title: Localities
Table Section Text: In Scotland, locality refers to a populated area composed of contiguous postcodes with populations of at least 500.

Rank	Locality	Population	Status	Council area

1	Glasgow	599,650	City	Glasgow City

2	Edinburgh	464,990	City	City of Edinburgh

3	Aberdeen	196,670	City	Aberdeen City

4	Dundee	147,710	City	Dundee City

5	Paisley	76,220	Town	Renfrewshire

6	East Kilbride	74,740	Town	South Lanarkshire

7	Inverness	61,235	City	Highland

8	Livingston	56,570	Town	West Lothian

9	Hamilton	53,200	Town	South Lanarkshire

10	Cumbernauld	51,610	Town	North Lanarkshire

11	Dunfermline	50,380	Town	Fife

12	Kirkcaldy	49,460	Town	Fife

13	Ayr	47,190	Town	South Ayrshire

14	Perth	47,180	City	Perth and Kinross

15	Kilmarnock	46,350	Town	East Ayrshire

16	Coatbridge	43,970	Town	North Lanarkshire

17	Greenock	43,690	Town	Inverclyde

18	Glenrothes	39,100	Town	Fife

19	Airdrie	37,130	Town	North Lanarkshire

20	Stirling	36,440	City	Stirling

21	Falkirk	35,310	Town	Falkirk

22	Irvine	33,740	Town	North Ayrshire

23	Dumfries	33,280	Town	Dumfries and Galloway

24	Motherwell	32,120	Town	North Lanarkshire

25	Rutherglen	31,180	Town	South Lanarkshire

26	Wishaw	30,510	Town	North Lanarkshire

27	Cambuslang	27,610	Town	South Lanarkshire

28	Bearsden	27,340	Town	East Dunbartonshire

29	Clydebank	26,640	Town	West Dunbartonshire

30	Newton Mearns	24,650	Town	East Renfrewshire

31	Arbroath	23,640	Town	Angus

32	Musselburgh	23,620	Town	East Lothian

33	Bishopbriggs	23,430	Town	East Dunbartonshire

34	Elgin	22,980	Town	Moray

35	Renfrew	22,010	Town	Renfrewshire

36	Bathgate	21,070	Town	West Lothian

37	Bellshill	20,650	Town	North Lanarkshire

38	Alloa	20,390	Town	Clackmannanshire

39	Dumbarton	19,950	Town	West Dunbartonshire

40	Clarkston	19,944	Town	East Renfrewshire

41	Kirkintilloch	19,630	Town	East Dunbartonshire

42	Peterhead	18,450	Town	Aberdeenshire

43	Barrhead	17,620	Town	East Renfrewshire

44	Grangemouth	17,280	Town	Falkirk

45	Blantyre	17,090	Town	South Lanarkshire

46	St Andrews	16,800	Town	Fife

47	Kilwinning	16,420	Town	North Ayrshire

48	Buckhaven	16,391	Town	Fife

48	Johnstone	16,390	Town	Renfrewshire

49	Bonnyrigg	16,360	Town	Midlothian

50	Stenhousemuir	16,311	Town	Falkirk

51	Giffnock	16,178	Town	East Renfrewshire

52	Penicuik	16,110	Town	Midlothian

53	Viewpark	16,020	Town	North Lanarkshire

54	Erskine	15,530	Town	Renfrewshire

55	Broxburn	15,360	Town	West Lothian

56	Port Glasgow	15,190	Town	Inverclyde

57	Larkhall	15,020	Town	South Lanarkshire

Sentence(s)

St Andrews has a population of 16,800, making it Fife's fourth largest settlement in Scotland.

final_sentence: St Andrews has a population of 16,800, making it Fife's fourth largest settlement in Scotland.