The difference between immigrants and emigrants, is called net migration.
With the information about births, deaths, immigration and emigration, it is possible to calculate the size of a population at the end of a year.
You count all the ‘new’ people (births and immigrants), and you subtract the people who left or passed away (emigrants and deaths).