Gross national income

Gross National Income (GNI) is an income approach method of national income accounting that aggregates the total domestic spending and foreign output claimed by residents of a country while subtracting any income earned by foreigners within the domestic economy. Essentially it's Gross National Product (GNP) under a new name with some slight alterations. The formula for GNI is as follows

GDP+income inflows-income outflows=GNI

Where income inflows refer to any foreign source of income being earned by domestic residents. These often include capital gains or rents on land. Income outflows refers to income overseas residents are earning from the domestic economy. Any foreign owned factories, bonds, or land will send income abroad.

Comparisons with GDP
Unlike Gross Domestic Product (GDP) GNI includes income earned from foreign sources. Therefore, nations like the United States or Japan with large amounts of foreign investment will have much higher GNIs than GDPs. Conversely, nations that host large amounts of foreign direct investment like China or India may have smaller GNIs than GDPs. Despite the nuance it provides, economists tend to still focus more on GDP.