<page_title> List of towns and cities in Scotland by population </page_title> <section_title> Localities </section_title> <table> <cell> St Andrews <col_header> Locality </col_header> <row_header> 46 </row_header> </cell> <cell> 16,800 <col_header> Population </col_header> <row_header> 46 </row_header> </cell> <cell> Fife <col_header> Council area </col_header> <row_header> 46 </row_header> </cell> </table>
St Andrews has a population of 16,800, making it Fife's fourth largest settlement in Scotland.