Per 2022 World Bank estimates, Spain's population is 47,450,795, ranking 30th globally and 6th in Europe.