GDP by Expenditure C+I+G+X-M
Computes GDP by expenditure summing consumption, investment, government, and net exports.
โ
Understanding GDP by the Expenditure Approach
Gross Domestic Product (GDP) measured by the expenditure method adds up every final purchase made in the economy over a given period. The standard identity is GDP = C + I + G + (X − M). Here C is household consumption, I is private gross fixed capital formation (business investment plus changes in inventories), G is government spending on goods and services, X is exports and M is imports. We subtract imports because they are already sitting inside C, I or G, and leaving them in would count them twice.
There are two other ways to build the national accounts. The production approach sums value added across sectors; the income approach adds wages, profits and taxes net of subsidies. All three should land on the same number, and in practice they rarely match to the cent, so a statistical discrepancy line closes the gap. Brazil’s 2024 nominal GDP came in near R$ 11.7 trillion (about US$ 2.2 trillion), which kept it the world’s 8th largest economy. IBGE produces the official series every quarter through the System of National Accounts (SNA 2008 methodology).
Applications
Breaking GDP into C+I+G+NX matters a great deal for policy. Central banks read consumption to judge demand. Finance ministries track investment when they project potential output, and trade officials look at net exports to size up external vulnerability. Investors turn the same breakdown into earnings forecasts for retail, capital-goods and exporter stocks. The identity also runs through IS-LM, AD-AS and DSGE models in academic work, and journalists lean on it whenever they have to explain why a quarter grew or shrank.
FAQ
Why subtract imports? When a household, firm or government buys a foreign-made good, that purchase already shows up inside C, I or G. Taking M back out strips away the foreign content, so what remains is domestic production only.
Does this calculator give real or nominal GDP? Whatever you feed it. Enter C, I, G, X and M at current prices and you get nominal GDP. For real GDP, deflate each component by a suitable price index first, then run the numbers.
Where can I find official component data? IBGE’s quarterly “Contas Nacionais Trimestrais” carries the full C+I+G+NX breakdown. The BCB time-series system (SGS) mirrors the headline figures if you just need those.
Related Tools
Rent Adjustment Calculator
Compute annual rent adjustment by IGP-M or IPCA accumulated in the last 12 months (manually configurable).
Pregnancy Calculator
Compute estimated due date (EDD), gestational age and trimester from the last menstrual period (LMP).
Fertile Period Calculator
Compute fertile window and ovulation day from the first day of the last cycle and the average cycle length.