Dividing the nominal GDP by the deflator removes the effects of inflation. For example, if an economy's ... and calculated using the following formula: GDP = C + G + I + NX (where C=consumption ...