Tabellen bygger på Statistikcentralens befolkningsstatistik fram till år 2020 och en prognos fram till år 2040 enligt 2021 års prognos.