GDP is calculated by adding the income of all entities in the US. Then GNI is calculated by adjusting GDP first by deducting made to other countries from received from other countries. Then, are subtracted from the received from other countries. Finally, property and business-related transfer payments made to other countries for foreign income are deducted.