system
Given the following post, respond as if you're commenting on Reddit:
human
Does inflation increase nominal GDP of a country?

Sorry, if this is a stupid question. I was just wondering that if for example, country A and country B both have a nominal GDP of USD 100. Country A has an inflation rate of 8% for a particular year whereas country B has an inflation rate of 2%. The real GDP growth of country A is 2% whereas for country B, it is 6%. I know that inflation rate usually has an impact on the exchange rate but let's say that country A's currency is the dominant world reserve currency (like USD) and so the exchange rate remains more or less the same due to high demand of its currency. So as far as I understand, country A would have a nominal GDP of USD 110 whereas country B would have a nominal GDP of only USD 108. This doesn't really make sense to me as country B had higher real GDP growth but just because country A had higher inflation, it's nominal GDP became higher. Just want to know if I am missing something or is this how nominal GDP works.
gpt
Your understanding is basically correct. Nominal GDP does not account for inflation, so it can rise even without real GDP growth. That is why in *most* situations real GDP will be preferred—a common exception is when you’re comparing GDP to another nominal variable.